ajshedivy/agno-cookbook/agno-storage
Claude Code and agent skill by ajshedivy/agno-cookbook
- community
Checking that the SKILL.md file is still in the repository.
Configure persistent storage backends for Agno agents and teams. Covers SQLite, PostgreSQL, Redis, MongoDB, and other backends for conversation history, session persistence, and state management. Trigger this skill when: importing agno.db, configuring agent storage, adding session persistence, or asking "how do I persist agent conversations?"
Install
npx vskill@latest install ajshedivy/agno-cookbook/agno-storageSKILL.md
The same SKILL.md was published earlier as ajshedivy/agno-cookbook/agno-storage.
Configure Agno Storage
Use db= on agents and teams to persist conversation history across runs. Install with pip install agno.
Quick Start
Storage Backends
SQLite (Development)
No server needed. Great for local development and prototyping:
PostgreSQL (Production)
Full-featured relational storage for production deployments:
Redis
Fast in-memory storage for high-throughput scenarios:
MongoDB
Document-oriented storage:
MySQL
Core Storage Parameters
Session Management
Use session_id to maintain conversation threads:
Session State
Store structured data that the agent can read and update:
Session Summaries
Summarize long conversations to save context window space:
Shared Storage for Teams
All team members can share one database:
Anti-Patterns
- Don't forget `add_history_to_context=True` — without it, the agent won't see past messages
- Don't use SQLite in production — use PostgreSQL or another production database
- Don't skip `session_id` — without it, each run is isolated
- Don't set `num_history_runs` too high — large histories waste context window tokens
- Don't store secrets in session state — it's persisted as plain text
Further Reading
For advanced storage patterns and migration guides, read references/api-patterns.md.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/agno-framework/skills/agno-storage/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ajshedivy/agno-cookbook/agno-storage)