Serena
IDE-level semantic navigation, editing, refactoring, and debugging tools for coding agents.
- Source repo
- oraios/serena
- Stars
- ★ 32k
- Last updated
- 5d ago v2.1.0
- FARS reviewed
- Nov 08, 2026
- License
- NOASSERTION
- Primary language
- Python
- FA score
- 74/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code · Claude.ai
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A developer maintaining a large, multi-file codebase can let a coding agent navigate symbol definitions and references without reading entire files or relying on line-number searches.
- Not a fit if
- Teams needing a fully offline, LLM-free coding tool
- Rider or CLion users wanting the JetBrains backend
- Teams unwilling to pay for the JetBrains plugin yet needing move/inline refactors
- Website
- oraios.github.io/serena ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-27latest release v2.1.0 (2026-10-19)+30.1 ★/day over 7 days
- Source review
- 74/100 · Some gaps
What does this agent do, and when should you use it?
Serena is an MCP toolkit that supplies IDE-like capabilities to coding agents; it does not include the LLM that plans and performs the work. It operates on project code and symbol relationships, exposing semantic retrieval, symbolic editing, refactoring, diagnostics, and a memory system for longer-lived workflows. Its default backend uses language servers and supports more than 40 programming languages, while the paid Serena JetBrains Plugin offers an alternative backed by JetBrains code analysis and editing features. The Serena MCP server can be launched by a client command or self-hosted in HTTP mode and connected by URL. It is aimed at teams that want Claude Code, Codex, MCP-enabled IDE assistants, or other compatible clients to make more reliable semantic changes in large or complex repositories.
After installation and serena init, Serena uses the language-server backend by default; serena init -b JetBrains selects the JetBrains backend. An MCP client starts the Serena MCP server or connects to its HTTP URL, and an external LLM orchestrates its tools. Retrieval operations find symbols, produce symbol overviews, locate referencing symbols, find declarations or implementations, and return diagnostics. Editing and refactoring operations include replace symbol body, insert after symbol, insert before symbol, safe delete, and symbol renaming; the JetBrains backend additionally supports renaming or moving files and directories, inline operations, and propagated deletion. Its JetBrains-only interactive debugger can set breakpoints, inspect variables, evaluate expressions, and control execution. Supporting utilities include search_for_pattern, replace_content, list_dir, find_file, read_file, and execute_shell_command, although these are typically disabled in hosts such as Claude Code or Codex when equivalent built-ins already exist.
- A developer maintaining a large, multi-file codebase can let a coding agent navigate symbol definitions and references without reading entire files or relying on line-number searches.
- A team making cross-file changes can use symbol renaming and symbol-body replacement to reduce the risks of plain search-and-replace edits.
- An engineer using Claude Code, Codex, OpenCode, or Gemini-CLI can add semantic code operations to an existing terminal-based agent through MCP.
- A developer working with an MCP-capable assistant in VSCode, Cursor, or a JetBrains IDE can provide that assistant with IDE-style navigation and diagnostics.
- A team operating a complex polyglot repository can use the broad LSP backend while installing any additional dependencies required by individual languages.
- A JetBrains user willing to adopt the paid plugin can give an agent access to richer moves, inline refactoring, dependency search, and interactive debugging.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
uv tool install -p 3.13 serena-agent
How do you install or deploy this agent?
Install uv, the only stated prerequisite. Install Serena with the documented Python selection: uv tool install -p 3.13 serena-agent. A successful installation makes the serena command available in the shell. Run serena init to initialize and verify the default language-server backend. If the Serena JetBrains Plugin is available and that backend is preferred, run serena init -b JetBrains. Some languages may require additional language-server dependencies. No API key or other credential is documented.
How do you use this agent?
Run serena init and verify that initialization succeeds. Then configure an MCP-capable client with a command that launches the Serena MCP server, or start the server yourself in HTTP mode and give the client its URL. Documented client categories include Claude Code, Codex, OpenCode, Gemini-CLI, Claude Desktop, Codex App, OpenWebUI, and MCP-capable assistants in VSCode, Cursor, and JetBrains IDEs. Once connected, the client's LLM invokes Serena's symbol retrieval, editing, refactoring, diagnostics, debugging, or memory tools against a project. The supplied source does not include one universal client configuration block, so the exact launch field or URL setting depends on the selected client. Do not use Serena installation commands from MCP or plugin marketplaces, which the project identifies as outdated and suboptimal.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- verifiable attribution
What are this agent's strengths and limitations?
- Its operations are organized around symbols and code relationships, including reference lookup, symbol-body replacement, and safe deletion instead of only line-based text manipulation.
- The default LSP backend supports more than 40 programming languages and does not tie the toolkit to a single model provider.
- MCP enables integration with multiple terminal, IDE, desktop, and web clients, with both client-launched and self-hosted HTTP delivery modes.
- The JetBrains backend adds dependency search, type hierarchy, file and directory moves, inline refactoring, and interactive debugging.
- Basic file, regex-search, and shell utilities can be disabled when the host already supplies them, while layered configuration covers global, project, execution-context, and composable mode settings.
- Serena is not a complete autonomous coding system: it requires an external LLM and MCP client to plan work and orchestrate calls.
- The LSP backend has documented gaps: external dependency declarations generally cannot be found, implementation lookup depends on language-server support, and move or inline refactoring is unavailable.
- The more capable JetBrains backend is a paid plugin, despite offering a free trial, and it explicitly does not support Rider or CLion.
- Some languages require additional dependencies, adding setup and maintenance work in polyglot environments.
- Each host client needs its own launch-command or HTTP URL configuration, and the supplied material does not provide a single copyable configuration that works across every client.
How does this agent compare with similar options?
Compared with coding workflows built around line numbers, regexes, or plain search and replace, Serena works at the symbol and reference level and exposes atomic semantic editing and refactoring operations. Its two backends involve a separate tradeoff: the default LSP option is broadly available and covers many languages, but several navigation and refactoring features depend on language-server limitations; the paid JetBrains Plugin provides richer dependency queries, moves, inline refactoring, and debugging, but requires a supported JetBrains IDE and excludes Rider and CLion.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Serena This agent | 74 · Some gaps | CLIFreemium | ★ 32k | 5d ago | Python | Codex · Claude Code · Claude.ai |
| Crush Terminal Coding Assistant | 65 · Some gaps | CLIFree + model costs | ★ 29k | today | Go | OpenAI API · Claude API |
| Eclipse Theia | 49 · Major gaps | FrameworkFree | ★ 22k | 1d ago | TypeScript | — |
| Empryo | 57 · Major gaps | CLIFree + model costs | ★ 1.6k | 15d ago | TypeScript | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The security guide explicitly assumes the local machine, MCP client, repository, and configuration are trusted, and recommends sandboxing. Tools can execute commands and modify files; REPL API restrictions are not a security boundary, so least privilege and user confirmation receive partial credit. The privacy guide identifies anonymous usage fields and the SERENA_USAGE_REPORTING opt-out, but says little about sensitive-data handling. Dependencies have exact pins, hashes, host allowlists, and safe extraction; downloads, language servers, and network services still create external effects, while rollback guidance is limited to backups and version control. Component-level SPDX licensing and retained MIT attribution for derived code are documented thoroughly.
The sampled installation, configuration, CLI, and pyproject evidence is broadly consistent. The security guide explains the compatibility difference between older configurations that trust all projects and new configurations that trust none. Python bounds and pinned dependencies support availability, though language servers may need external installation or downloads. Code and docs show warnings, abort-on-install-check-failure behavior, and an editor-open failure message; the sample cannot establish that all failure paths are equally clear.
The docs distinguish desktop, IDE, CLI-oriented, and autonomous-agent scenarios, and describe multiple contexts, modes, and language backends. They clearly explain the boundaries between the tool interface and REPL, trusted-project gates, and sandboxing. Trigger guidance depends on user selection of context, project, and configuration; defaults are described, but automatic adaptation is not strongly evidenced. Installation specifies Python 3.11–3.14, uv, platform-specific config locations, and JetBrains or LSP backends, giving broad environment guidance.
Installation, configuration, security, privacy, additional usage, and developer-release information are clearly organized. Install, upgrade, uninstall, and initialization commands are provided; product, CLI, and package names vary but entry points are explicit. Usage pointers and configuration examples are present, though no FAQ is shown. Security docs detail assumptions, trusted-project limits, REPL limitations, and network risks. The license file explains GPL and MIT components and the historical cutoff; developer instructions describe version bumps, release steps, and CHANGELOG updates. CLA, author details, and release procedures provide some maintenance accountability, but ongoing support responsibility is not clearly specified.
The product offers semantic code retrieval and editing through MCP tools or a Python REPL, with language-server integration, memory, and configuration capabilities. Results and operations can be composed, and installation and configuration instructions are actionable. The incremental value for coding agents is supported by concrete capabilities in the docs and source. Setup is straightforward with uv, but language servers, JetBrains integration, and sandboxing can add configuration and operating costs; the sample provides no quantitative performance or cost evidence.
Key security, privacy, installation, and configuration claims are tied to concrete mechanisms, setting names, or commands; some are corroborated by pyproject, CLI, and source evidence. Telemetry and supply-chain claims are primarily documented assertions in this sample, without all corresponding implementation files for item-by-item verification, limiting corroboration. The rationale separates stated behavior from inferences about cost, maintenance, and coverage. The packet is a file sample and was not executed, so confidence remains low.
- The toolkit can execute shell commands and modify files. REPL API restrictions and the read_only setting cannot constrain arbitrary Python code. Use a sandbox for untrusted repositories and configure trusted project paths carefully.
- HTTP/SSE and other services can be configured to listen beyond localhost; users must provide suitable network access controls when exposing them. Anonymous usage data is collected by default; opt out with SERENA_USAGE_REPORTING=false.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
See [change log](https://github.com/oraios/serena/blob/main/CHANGELOG.md)View on GitHub ↗ -
Release notes excerpt
See [change log](https://github.com/oraios/serena/blob/main/CHANGELOG.md)View on GitHub ↗ -
Release notes excerpt
See [change log](https://github.com/oraios/serena/blob/main/CHANGELOG.md)View on GitHub ↗
FAQ
Does Serena write and modify code by itself?
Is the paid JetBrains Plugin required?
Can it work with a polyglot monorepo?
Does Serena require sending code to a particular model provider?
Can I install it from an MCP marketplace?
uv tool install -p 3.13 serena-agent.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.