← Use cases · Building agents
AI agents for running claude or codex agents as a durable service
Short answer: Agno 3.1.3 makes ClaudeAgent sessions resumable on any replica via database-stored transcripts, with background runs and cancellation for Claude and Codex agents. For a simple single-process agent it's overkill.
Tools for this job
| # | Tool | Why for this job | AgentPick Score | Link |
|---|---|---|---|---|
| #1 | Resumable ClaudeAgent sessions across replicas (3.1.3) | 91/100 | Official source ↗ | |
| #2 | Lighter option for OpenAI-only multi-agent flows | 86/100 | Official source ↗ |
Ordered by AgentPick Score. Links may become affiliate links; they never change order. Disclosure.
How to do it
- Store transcripts in a database, not memory.
- Run long tasks in the background with a cancel path.
- Scale to more than one replica only after one works.
- Alert on stuck runs.
Starter prompt
Wrap my [Claude/Codex] agent so each session is stored in [database] and can resume on any replica. Add a background-run endpoint and a cancel endpoint, with tests.
Get one use case like this every week. Tools, prompt and our verdict in AgentPick Weekly. Free. Get the weekly digest
Related use cases
Running several coding tasks in parallel →
Coding
Refactoring a codebase without leaving VS Code →
Coding
Trying a coding agent without paying first →
Coding
Building a typed Python agent with structured output →
Building agents
AgentPick Weekly
The week's new agent tools with a verdict on each, every week. Free. We'll email you a link to confirm, and you can unsubscribe any time. See our Privacy Policy.