Practical overview
When it fits
Use Dirge when coding tasks are handled from a CLI and need durable project context, resumable sessions or model-provider routing. Its MCP server is relevant when another agent should delegate implementation work to Dirge.
Who it is for
- Developers who want a command-line coding agent to retain project context between sessions.
- Users who want to route coding, review, escalation or summarization roles to configured models.
- People using an MCP-capable agent who want to delegate implementation work to a persistent Dirge session.
Documented uses
- Continue coding work with project context, preferences and prior mistakes carried across sessions.
- Ask an agent to explain a project or work on a coding prompt in interactive or one-shot mode.
- Resume a previous session by continuing the latest session or supplying a session ID.
- Delegate an implementation task from another agent through Dirge's MCP server.
Requirements & limits
The README documents installation from the `dirge-agent` Cargo crate and a Homebrew package for macOS and Linux. It specifies that the default source build needs a C compiler and libclang because the Janet plugin is enabled; a documented no-plugin build avoids that requirement.
- Dirge is implemented in Rust and distributed under the GPL-3.0 license.
- The default provider is OpenRouter; other documented providers require their corresponding credentials or supported authentication.
- Persistent memory search uses SQLite FTS5, while code search uses grep; semantic code tools and LSP diagnostics serve different code-intelligence tasks.
- The default build includes Janet plugins, while feature selection can omit plugins or choose a leaner set.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install Dirge with Cargo
Install the Dirge command-line agent from its published crate.
Before you start
- Cargo installation of the
dirge-agentcrate. - A configured model provider credential, such as
OPENROUTER_API_KEY, for starting an agent session.
Steps
Run the command below.
cargo install dirge-agentSet the environment variable for the chosen provider; the documented default is
OPENROUTER_API_KEY.Run
dirgeto start an interactive coding session.
Expected outcome
The `dirge` command is installed and can start an interactive session using the configured provider.
Guide limitations
- The default source build enables the Janet plugin and requires a C compiler and libclang.
- Provider credentials and model availability are managed separately.
Start Dirge as an MCP server
Expose Dirge through MCP for another agent to delegate implementation tasks.
Before you start
- Dirge installed and configured with a model provider credential.
- An MCP-capable agent configured to connect to a local command.
Steps
Run
dirge mcpto start Dirge as an MCP server.Register the command with the other agent; the README gives
claude mcp add dirge -- dirge mcpas an example.Delegate an implementation task through that agent to Dirge.
Expected outcome
The other agent can delegate implementation work to Dirge on a persistent per-project session and review the returned summary and changed files.
Guide limitations
- The guide documents an MCP server and a Claude Code registration example; other client setup is not specified here.
Compare options for AI coding assistance
These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.
| Project | Documented purpose | Platform | Access and requirements |
|---|---|---|---|
| Dirge | Continue coding work with project context, preferences and prior mistakes carried across sessions. | CLI | The README documents installation from the `dirge-agent` Cargo crate and a Homebrew package for macOS and Linux. It specifies that the default source build needs a C compiler and libclang because the Janet plugin is enabled; a documented no-plugin build avoids that requirement. |
| Ouijit | Run multiple coding-agent tasks in separate repository worktrees and terminals. | macOS, Linux, Desktop, Self-hosted | The project describes Ouijit as free and open source, and its about page says no account or sign-in is needed. The documented desktop platforms are macOS 13 or later and Linux x64. |
| Sortie AI | Select tracker issues for agent work using a configured workflow. | macOS, Linux, Windows, Docker, Self-hosted, Server | The project describes Sortie as free and open-source under Apache-2.0, with no registration for using Sortie itself. Configured trackers and agents may require their own credentials. |
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 November 2026
- Original website title
- dirge-code/dirge · Official homepage title · retained in its source language

