About
Codemode SQLite is a robust server designed to bridge large language models (LLMs) with SQLite databases. It offers two distinct interaction modes: a standard MCP mode for sequential tool-based operations, and an innovative 'Codemode' approach where LLMs generate complete Go programs to execute complex database tasks in a single pass. This code generation method significantly reduces token usage and latency compared to traditional multi-tool call interactions, making it ideal for building efficient, LLM-powered database agents. The server leverages a pure Go SQLite implementation (modernc.org/sqlite) and features a sandboxed `yaegi` interpreter for secure execution of generated code.