• Hallucinations and incorrect outputs • Misunderstanding of schemas and data context • Cost and performance unpredictability • Lack of observability into agent behaviour • Trust and reliability concerns
Natural language to Tool Calls 2. Own your prompts 3. Own your context window 4. Tools are just structured outputs 5. Unify execution state and business state 6. Launch/Pause/Resume with simple APIs 7. Contact humans with tool calls 8. Own your control Flow 9. Compact Errors into Context Window 10. Small, Focused agents 11. Trigger from anywhere, meet users where they are 12. Make your agent a stateless reducer See: https://github.com/humanlayer/12-factor-agents
MCP LLMs mostly rely on training data MCP links AI apps with external tools and private data EXAMPLES • Company DB queries • Local file access • Smart-home control • Live service data Fully managed remote MCP server • Turn-key experience, no infra to setup or manage • Built into ClickHouse Cloud • Leverage your data with external agents and MCP-compatible clients • Secured with OAuth for authentication • Bring your own MCP-compatible client ◦ Claude, Cursor, Windsurf, 25 others
users of ClickHouse • Databases are becoming agent-facing systems • Query layers are being abstracted away • Natural language replaces traditional interfaces
AI can write ClickHouse SQL. • Language is now the interface • Data systems are finally fast enough • Tools are becoming standardised • The stack is ready But is it 100% reliable?
Agents talk to your data • They write and run queries • They iterate until correct • They return insights, not raw data • Humans are optional in the loop Itʼs not just querying data - itʼs a system that can think through a problem using your data.
stack • ClickHouse → fast, scalable analytics • LibreChat → where questions start • Agents → think and plan • Tools → execute SQL, APIs) • Langfuse → trust and control This isnʼt just AI on top of data—itʼs a full stack designed for agents to operate reliably. https://github.com/ClickHouse/agentic-data-stack