Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

beardfaceguy/daimonos MCP server](https://glama.ai/mcp/servers/beardfaceguy/daimonos/badges/score.svg)](https://glama.ai/mcp/servers/beardfaceguy/daimonos) πŸ¦€ 🏠 🍎 🐧 - Agent-optimized MCP server replacing built-in file, search, exec, and git tools with...

README.md

Daimonos

![CI](https://github.com/beardfaceguy/daimonos/actions/workflows/ci.yml) ![Latest Release](https://github.com/beardfaceguy/daimonos/releases) ![License: MIT](LICENSE) ![MCP Registry](https://github.com/modelcontextprotocol/registry)

An agent-optimized OS layer that makes AI coding agents faster and cheaper.

Daimonos replaces the built-in file, search, exec, and git tools in your AI coding agent with structured equivalents that return compact JSON instead of raw terminal output. The result: fewer tokens consumed, fewer round-trips, and lower API costs β€” with zero changes to your workflow.

Platforms: Linux (x86_64, aarch64) and macOS (Apple Silicon, Intel). Windows support is planned.

For repository agent/operator conventions, see AGENTS.md (especially Daimonos tool usage policy).

The name comes from Greek daimon (agent/spirit), the etymological root of "daemon."

The problem

When an AI agent runs cargo test, it gets back hundreds of lines of terminal output β€” progress bars, compile messages, passing test names β€” when all it needs is "47 passed, 0 failed." The agent pays for every token of that noise: reading it, reasoning about it, and carrying it in context for the rest of the session.

The same waste happens with git status, docker ps, ls -la, and every other shell command. Agents spend 30-50% of their token budget on verbose, unstructured tool output.

How it works

Daimonos runs as an MCP server that your IDE or CLI spawns automatically. It provides the same operations agents already use β€” read files, write files, search, execute commands, git operations β€” but returns compact, structured JSON instead of raw text.

The single binary also provides ACP, one-shot agent, interactive chat, and socket-daemon runtimes. See Runtime modes for the explicit subcommands and compatibility aliases.

Agent: exec("cargo test")

Without Daimonos (raw terminal output):
   Compiling inventory v0.1.0 (/workspace)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 2.31s
     Running unittests src/main.rs (target/debug/deps/inventory-abc123)
running 47 tests
test config::tests::test_default ... ok
test config::tests::test_load ... ok
... (200+ more lines)
test result: ok. 47 passed; 0 failed; 0 ignored

With Daimonos (structured JSON):
{"ok":true,"tests":47,"passed":47,"failed":0,"failures":[]}

Three layers of optimization

  1. Native tool plugins β€” git, cargo, gh, and docker are exposed as

first-class MCP tools with structured JSON output. When agents call exec("cargo test"), Daimonos intercepts it and routes through the native plugin instead.

  1. Semantic output filters β€” For commands without native plugins (pytest,

make, pip install, eslint, etc.), Daimonos applies semantic compression: test runners return summary + failures only, build commands return "ok" or just the errors, install commands return success/failure.

  1. Protocol-level efficiency β€” Read deduplication (re-reading an unchanged

file returns {"unchanged":true} instead of the full content), compact field names, lazy tool exposure, batch operations, and a terse output directive that cuts LLM prose by ~30%.

Benchmark results

Tested with Claude Opus 4.6 on identical coding tasks (read files, search code, edit, run tests, git operations):

| Metric | Baseline | Daimonos | Savings | |--------|----------|----------|---------| | Output tokens | 5,842 | 3,198 | -45.3% | | Total tokens | 41,239 | 33,847 | -17.9% | | Tool calls | 17 avg | 14 avg | -17.6% | | Wall time | 42.1s avg | 35.2s avg | -16.4% |

Remote benchmarks on AWS (same hardware, same model, same tasks) showed 20.3% cost reduction and 14.0% faster task completion.

60-second demo

Use this script for README readers, release notes, and social posts:

# 1) Install daimonos
cargo build --release
sudo cp target/release/daimonos /usr/local/bin/

# 2) Configure your MCP client (example: Cursor)
# .cursor/mcp.json -> command: daimonos, args: ["--mcp", "-w", "/path/to/project"]

# 3) Ask your agent to run:
# "Run cargo test and summarize failures only."
# "Show git status as structured output."

What to highlight in the demo:

  • same workflows, less tool-output noise
  • structured responses instead of raw terminal spam
  • fewer tokens and fewer round-trips for common coding tasks

Quick start

Install

Pre-built binaries (Linux and macOS):

# Linux x86_64
curl -L https://github.com/beardfaceguy/daimonos/releases/latest/download/daimonos-x86_64-linux.tar.gz | tar xz
sudo mv daimonos /usr/local/bin/

# macOS Apple Silicon
curl -L https://github.com/beardfaceguy/daimonos/releases/latest/download/daimonos-aarch64-macos.tar.gz | tar xz
sudo mv daimonos /usr/local/bin/

From source:

git clone https://github.com/beardfaceguy/daimonos.git
cd daimonos
cargo build --release
sudo cp target/release/daimonos /usr/local/bin/

See docs/install.md for all platforms (ARM Linux, Intel Mac, musl static builds).

Configure your IDE

For most users, start with one of these:

Add Daimonos as an MCP server. For Cursor, add to your project's .cursor/mcp.json:

{
  "mcpServers": {
    "daimonos": {
      "command": "daimonos",
      "args": ["--mcp", "-w", "/path/to/your/project"]
    }
  }
}

That's it. Daimonos starts when your IDE opens the project and exits when you close it. No daemon to manage, no background service.

Setup guides for other tools

What's included

Core tools (always available)

| Tool | What it does | |------|-------------| | read_file | Read with optional offset/limit, content-hash deduplication | | write_file | Write with auto-mkdir | | edit_file | String replacement with diff confirmation | | search | Regex search (content mode) or file discovery (file mode) | | exec | Run commands with semantic output filtering | | batch | Multiple operations in a single round-trip | | workspace_info | Project type, git status, directory listing, analytics |

Native tool plugins (auto-detected)

These appear automatically when the corresponding CLI tool is found on PATH:

| Plugin | Commands | Detected by | |--------|----------|-------------| | git | status, log, diff, branch, add, commit, push, pull, checkout | .git directory | | cargo | test, build, check, clippy, fmt, add | Cargo.toml | | gh | pr_view, pr_list, pr_create, pr_diff, pr_checks, api | gh on PATH | | docker | ps, logs, exec, images, inspect, stop, compose_up/down/ps | docker on PATH |

Additional capabilities

  • Workspace snapshots β€” Checkpoint before risky edits, rollback on failure
  • Starlark scripting β€” Bundle multiple tool calls into a single script
  • Token analytics β€” Per-tool-call tracking with cross-session history (daimonos --stats)
  • Background processes β€” Start, poll, and kill long-running commands
  • Configurable β€” All tunables in a single TOML config file

Architecture

Daimonos is a single Rust binary (~15 MB) that speaks MCP (Model Context Protocol) over stdio. Your IDE spawns it as a subprocess β€” no network, no containers, no setup beyond a JSON config entry.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     MCP (JSON-RPC over stdio)     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  AI Agent    β”‚ ◄──────────────────────────────► β”‚   Daimonos      β”‚
β”‚  (Cursor,    β”‚                                    β”‚                 β”‚
β”‚   Copilot,   β”‚     Structured JSON responses      β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚   Claude,    β”‚ ◄──────────────────────────────── β”‚  β”‚ File ops  β”‚ β”‚
β”‚   etc.)      β”‚                                    β”‚  β”‚ Search    β”‚ β”‚
β”‚              β”‚                                    β”‚  β”‚ Exec      β”‚ β”‚
β”‚              β”‚                                    β”‚  β”‚ Git       β”‚ β”‚
β”‚              β”‚                                    β”‚  β”‚ Cargo     β”‚ β”‚
β”‚              β”‚                                    β”‚  β”‚ Docker    β”‚ β”‚
β”‚              β”‚                                    β”‚  β”‚ GitHub    β”‚ β”‚
β”‚              β”‚                                    β”‚  β”‚ Snapshots β”‚ β”‚
β”‚              β”‚                                    β”‚  β”‚ Analytics β”‚ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                    β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
                                                    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Under the hood, Daimonos uses an opcode-based protocol where each operation has a numeric identifier and compact field names (c, p, s, n) to minimize token overhead. The MCP layer translates between standard JSON-RPC and the internal opcode format.

Project vision

Daimonos is being built in three phases:

Phase 1: User-space MCP server (current)

A Rust daemon that runs on any Linux or macOS machine and provides agent-optimized tools via MCP. This is what you install today. It proves out the protocol design and structured I/O patterns.

Status: Production-ready. Used daily for real development work. Pre-built binaries available for Linux (x86_64, aarch64, musl) and macOS (Apple Silicon, Intel).

Phase 2: Minimal Linux distro

A purpose-built Buildroot Linux image with Daimonos as the primary user-space application. Designed for cloud deployment where AI agents need a clean, minimal environment. The distro boots in seconds, has no shell or human-facing UI, and runs the Daimonos daemon as PID 1's direct child.

Status: Working prototype. Boots in QEMU, deployable to AWS EC2. Used for remote benchmarking.

Phase 3: Custom microkernel

The long-term vision: a microkernel where Daimonos opcodes become native syscalls. StructFS (a filesystem that stores and returns structured data natively), capability-based security, and a process model designed for agent workloads from the ground up.

Status: Design phase.

Development

Prerequisites

| Dependency | Required | Install | |-----------|----------|---------| | Rust (stable 1.75+) | Build | rustup.rs | | Python 3 + pytest | Tests | pip install -r tests/requirements.txt |

Running tests

# Rust unit tests (350+ tests, parallel-safe)
cargo test

# End-to-end MCP protocol tests (150+ pytest cases)
python3 -m pytest tests/ -v

Running benchmarks

cd benchmarks
./setup-mcp.sh
./run-benchmark.sh baseline   # IDE built-in tools
./run-benchmark.sh daimonos   # routed through daimonos MCP
python3 analyze-results.py results/

See benchmarks/README.md for details.

Configuration

All behavior is tunable via a TOML config file. See docs/configuration.md for the full reference, or daimonos.default.toml for annotated defaults.

Key sections:

  • [index] β€” Trigram indexer tuning (max depth, file size limits)
  • [search] β€” Search result limits
  • [process] β€” Exec timeout, output capping, semantic filters, max concurrent Starlark script threads
  • [pipeline_cache] β€” Subprocess result cache size, inotify watch cap, extra ignored directories
  • [analytics] β€” Token tracking (SQLite storage, retention)
  • [tools.*] β€” Per-tool plugin configuration

Contributing

Daimonos is in active development. If you're interested in contributing, start with the AGENTS.md file for coding conventions, architecture decisions, and the review checklist.

See also:

License

MIT

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Search servers.