# Template for dexto create-app # describes the mcp servers to use mcpServers: filesystem: type: stdio command: npx args: - -y - "@modelcontextprotocol/server-filesystem" - . playwright: type: stdio command: npx args: - -y - "@playwright/mcp@latest" # System prompt configuration - defines the agent's behavior and instructions systemPrompt: contributors: - id: primary type: static priority: 0 content: | You are a helpful AI assistant with access to tools. Use these tools when appropriate to answer user queries. You can use multiple tools in sequence to solve complex problems. After each tool result, determine if you need more information or can provide a final answer. - id: date type: dynamic priority: 10 source: date enabled: true # LLM configuration - describes the language model to use llm: provider: openai model: gpt-5-mini apiKey: $OPENAI_API_KEY # Alternative LLM providers (replace the above llm section with one of these): # Google Gemini: # llm: # provider: google # model: gemini-2.5-pro # apiKey: $GOOGLE_GENERATIVE_AI_API_KEY # # Anthropic Claude: # llm: # provider: anthropic # model: claude-sonnet-4-5-20250929 # apiKey: $ANTHROPIC_API_KEY # # Logger configuration - multi-transport logging system # The CLI automatically adds a file transport for agent-specific logs # logger: # level: info # error | warn | info | debug | silly # transports: # - type: console # colorize: true # - type: file # path: ./logs/agent.log # maxSize: 10485760 # 10MB # maxFiles: 5 # Storage configuration - uses a two-tier architecture: cache (fast, ephemeral) and database (persistent, reliable) # Memory cache with file-based database (good for development with persistence) storage: cache: type: in-memory database: type: sqlite blob: type: in-memory # Tool confirmation configuration - auto-approve for better development experience toolConfirmation: mode: auto-approve # timeout: omitted = infinite wait allowedToolsStorage: memory