LLM Integration#
Serena provides the necessary tools for coding workflows, but an LLM is required to do the actual work, orchestrating tool use.
In general, Serena can be integrated with an LLM in several ways:
by using the model context protocol (MCP). Serena provides an MCP server which integrates with
by using mcpo to connect it to ChatGPT or other clients that don’t support MCP but do support tool calling via OpenAPI.
by incorporating Serena’s tools into an agent framework of your choice, as illustrated here. Serena’s tool implementation is decoupled from the framework-specific code and can thus easily be adapted to any agent framework.