AgentFlow

Cost · AgentFlow CLI

Coûts et modèles

CLI path: agentflow cost

When to use

Use cost when reconciling SQLite-backed telemetry with pricing tables declared in .agentflow/config.yaml or when slicing spend over a bounded recency window.

Original CLI synopsis: Coûts et modèles

Usage

agentflow cost [flags]

Options

FlagScopeDefaultDescription
--dry-runInheritedfalseSimuler les exécutions sans lancer d'agent ni commandes externes

Examples

agentflow cost

Wire richer samples through cobra.Command.Example when the happy path warrants copy/paste-friendly automation beyond this scaffold.

What happens internally

  • Focuses on interpreting persisted telemetry and declared pricing artefacts for finance debugging.

Failure modes

  • Cobra rejects unknown flags or arity mismatches before any repository side effects occur.
  • AgentFlow cannot resolve scaffolding when the command is invoked outside an initialised checkout.
  • SQLite contention or corrupted telemetry prevent summarisation queries from completing.
  • Malformed --since payloads fail fast before aggregates are queried.