OpenViSTAI · Agents · Blockchain · Crypto
Menu
Coding Agents

Dirge

Dirge is an open-source Rust command-line coding agent with persistent per-project memory and a global layer for user preferences. It supports interactive and one-shot coding prompts, resuming sessions, configurable model-provider roles, and MCP delegation to other agents.

Independent OpenViST project profile, based on linked sources.

Dirge — Cross-session project memory and durable user preferences
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

Install Dirge with Cargo

Install the Dirge command-line agent from its published crate.

Before you start

  • Cargo installation of the dirge-agent crate.
  • A configured model provider credential, such as OPENROUTER_API_KEY, for starting an agent session.

Steps

  1. Run the command below.

    Documented command
    cargo install dirge-agent
  2. Set the environment variable for the chosen provider; the documented default is OPENROUTER_API_KEY.

  3. Run dirge to 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.
Source-based practical guide

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

  1. Run dirge mcp to start Dirge as an MCP server.

  2. Register the command with the other agent; the README gives claude mcp add dirge -- dirge mcp as an example.

  3. 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

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.

ProjectDocumented purposePlatformAccess and requirements
DirgeContinue coding work with project context, preferences and prior mistakes carried across sessions.CLIThe 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.
OuijitRun multiple coding-agent tasks in separate repository worktrees and terminals.macOS, Linux, Desktop, Self-hostedThe 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 AISelect tracker issues for agent work using a configured workflow.macOS, Linux, Windows, Docker, Self-hosted, ServerThe 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.
Evidence and transparency

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