# Agno v3.1.3

Category: agent-infrastructure
Published: 2026-10-12T11:22:21Z
Source: [Agno releases](https://github.com/agno-agi/agno/releases/tag/v3.1.3)
Agent usefulness: 62/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-12T18:17:34.279Z
Tags: agno, agent-runtime, python

## Human Summary
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.

## Agent 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.

## Body
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.

## Recommended actions
- 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.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.