-type:sqlurl:sqlite:////home/runner/.local/share/agentpool/history.db# Database URL (e.g. sqlite:///history.db)pool_size:5# Connection pool sizeauto_migration:true# Whether to automatically add missing columnslog_messages:true# Whether to log messagesagents:null# Optional set of agent names to include. If None, logs all agents.log_conversations:true# Whether to log conversationslog_commands:true# Whether to log command executionslog_context:true# Whether to log context messages.
-type:filepath:/data/storage.json# Path to storage file (extension determines format unless specified)format:auto# Storage format (auto=detect from extension)encoding:utf-8# File encoding of the storage file.log_messages:true# Whether to log messagesagents:null# Optional set of agent names to include. If None, logs all agents.log_conversations:true# Whether to log conversationslog_commands:true# Whether to log command executionslog_context:true# Whether to log context messages.
-type:memorylog_messages:true# Whether to log messagesagents:null# Optional set of agent names to include. If None, logs all agents.log_conversations:true# Whether to log conversationslog_commands:true# Whether to log command executionslog_context:true# Whether to log context messages.
Reads/writes to Claude Code's native JSONL format in ~/.claude/projects/.
Useful for sharing conversation history between agentpool and Claude Code CLI.
-type:claudepath:~/.claude# Path to Claude data directory (default: ~/.claude)log_messages:true# Whether to log messagesagents:null# Optional set of agent names to include. If None, logs all agents.log_conversations:true# Whether to log conversationslog_commands:true# Whether to log command executionslog_context:true# Whether to log context messages.
-type:opencodepath:~/.local/share/opencode/storage# Path to OpenCode storage directory.log_messages:true# Whether to log messagesagents:null# Optional set of agent names to include. If None, logs all agents.log_conversations:true# Whether to log conversationslog_commands:true# Whether to log command executionslog_context:true# Whether to log context messages.
-type:zedpath:~/.local/share/zed/threads/threads.db# Path to Zed threads database (or parent directory).log_messages:true# Whether to log messagesagents:null# Optional set of agent names to include. If None, logs all agents.log_conversations:true# Whether to log conversationslog_commands:true# Whether to log command executionslog_context:true# Whether to log context messages.
Storage providers define how agent interactions, messages, and tool usage are persisted. The system supports multiple providers including SQL databases, file storage, text logs, and in-memory storage.
Key features:
Multiple Providers: Use multiple storage backends simultaneously
Agent Filtering: Control which agents are logged per provider
Flexible Logging: Configure what gets logged (messages, conversations, commands, context)
Provider Selection: Automatic or explicit provider selection for queries
# yaml-language-server: $schema=https://raw.githubusercontent.com/phil65/agentpool/refs/heads/main/schema/config-schema.jsonstorage:# Global settingsagents:["planner","executor"]filter_mode:"and"log_messages:truelog_conversations:truedefault_provider:"sql"providers:-type:"sql"url:"sqlite:///history.db"pool_size:5auto_migration:true-type:"text_file"path:"logs/chat.log"format:"chronological"