Agno v3.1.3
Agno v3.1.3 brings parity to external agents (ClaudeAgent and CodexAgent) with durable cross-replica sessions, background execution, cancellation, step replay, retries, metrics, and structured outputs.
Why this signal matters
Agno v3.1.3 focuses heavily on external agent capabilities (specifically ClaudeAgent and CodexAgent). Key updates include: - Durable Sessions: Mirroring transcript lines into a database (PostgresDb, AsyncPostgresDb, SqliteDb, AsyncSqliteDb) across replicas via an agno transcripts table. - Background Execution & Cancellation: Support for background=True , durable-queue run IDs, indexed SSE, and cancellation endpoints ( /agents/{id}/runs/{run id}/cancel ). - Step Replay for ClaudeAgent: continue run forks SDK transcripts from checkpoints ( GET /agents/{id}/runs/{run id}/checkpoints ), creating sibling runs. - Retries & Compaction: Configurable retries with backoff skipping non-retryable errors, plus database-backed session compaction. - Metrics & Structured Outputs: Token, cache, and cost reporting on RunOutput.metrics , and output schema support (Pydantic model or JSON Schema dict) delivering strict JSON object outputs. - Media & Tooling: File/image staging support across replicas, rejection of audio/video with 400 errors, and the addition of AnakinTools for scrape/crawl/map/search workflows.
Actionable summary
Agno v3.1.3 integrates ClaudeAgent and CodexAgent into core platform features: database-backed transcripts (Postgres/SQLite), background runs with cancellation via durable queues, step replay via checkpoint forks, retries with backoff, token/cost metrics, Pydantic structured output, and an AnakinTools toolkit.
- Agent usefulness
- 62/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Run database migrations to enable the new agno transcripts table if using Postgres or SQLite for external agent persistence.
- Update external agent constructors (ClaudeAgent and CodexAgent) to use typed native options instead of untyped kwargs dictionaries to avoid deprecation warnings.
- Ensure output schemas configured for ClaudeAgent and CodexAgent use JSON objects as root elements, as array or scalar roots are now rejected before the run.