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

At a glance

How it runs
CLIMCP serverSelf-hosted service
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
uvPython 3.13language-specific dependencies for some language serversShell / CLINetwork accessLocal filesystemMCP Server
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.

  1. 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.
  2. A team making cross-file changes can use symbol renaming and symbol-body replacement to reduce the risks of plain search-and-replace edits.
  3. An engineer using Claude Code, Codex, OpenCode, or Gemini-CLI can add semantic code operations to an existing terminal-based agent through MCP.
  4. 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.
  5. A team operating a complex polyglot repository can use the broad LSP backend while installing any additional dependencies required by individual languages.
  6. 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Verified present in source (3/3)
  • verifiable attribution

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Some gaps
74/ 100 5-point scale 3.7 / 5
Trust 16/29
Reliability 9/14
Adaptability 16/18
Convention 16/18
Effectiveness 12/13
Verifiability 5/8
Why each dimension lost points
Trust16 / 29 · 2.8/5

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.

Reliability9 / 14 · 3.2/5

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.

Adaptability16 / 18 · 4.4/5

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.

Convention16 / 18 · 4.4/5

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.

Effectiveness12 / 13 · 4.6/5

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.

Verifiability5 / 8 · 3.1/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision ede329aaf0c8 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/serena.svg)](https://followagents.com/en/agents/serena)
<a href="https://followagents.com/en/agents/serena"><img src="https://followagents.com/badge/serena.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2.1.0
    Release notes excerpt
    See [change log](https://github.com/oraios/serena/blob/main/CHANGELOG.md)
    View on GitHub ↗
  2. v2.0.0
    Release notes excerpt
    See [change log](https://github.com/oraios/serena/blob/main/CHANGELOG.md)
    View on GitHub ↗
  3. v1.7.0
    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?
It supplies retrieval, editing, refactoring, diagnostics, and debugging tools. Task planning and tool orchestration remain the responsibility of the connected LLM and MCP client.
Is the paid JetBrains Plugin required?
No. Serena uses the language-server backend by default. The paid plugin, with a free trial available, adds richer analysis, refactoring, and interactive debugging features.
Can it work with a polyglot monorepo?
The default backend lists support for more than 40 languages, making it relevant to polyglot projects. Some languages need extra dependencies, and exact capabilities depend on their language servers.
Does Serena require sending code to a particular model provider?
Serena is not tied to a named model provider. How an external model handles project code depends on the chosen MCP client, model, and deployment; the supplied source does not specify further data-transfer or permission guarantees.
Can I install it from an MCP marketplace?
The project explicitly advises against marketplace installation commands because they are outdated and suboptimal. The documented installation command is uv tool install -p 3.13 serena-agent.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts