EveryDev.ai
Subscribe
Home
Tools

6,925+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3677
  • Coding2778
  • Infrastructure1161
  • MCP995
  • Projects964
  • Research791
  • Analytics616
  • Design566
  • Marketing566
  • Testing515
  • Security472
  • Data468
  • Communication349
  • Integration326
  • Prompts318
  • Extensions273
  • Voice240
  • DevOps212
  • Commerce199
  • Web148
  • Learning146
  • Finance44
AI Tools by Topic
  • AI Coding Assistants
  • AI Code Review Tools
  • Agent Frameworks
  • AI Workflow Automation
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • Newsletter
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
  • Newsletter Archive
Get Started
  • Submit a Tool
  • Rate Tools
  • Start a Discussion
  • Write a Blog
  • Share a Build
  • Users
  • About
  • Contact Us
  • Advertise
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Search & AI
  • llms.txt
  • Add to favorites on Google
Theme
Terms of ServicePrivacy Policy
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. Ghost Mode
    Ghost Mode icon

    Ghost Mode

    MCP Integration

    Rust library that lets AI agents run model-written Python scripts in-process to chain tool calls without sending intermediate results back to the model.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Ghost Mode Rust library released under the MIT license; free to use, copy, modify, and distribute.

    Engagement

    Available On

    API
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    MCP IntegrationAI Development LibrariesAgent Harness

    Alternatives

    AURAOrbInk
    Developer
    Alan

    Listed Dec 2026

    About Ghost Mode

    Ghost Mode is an MIT-licensed Rust library by legend-of-alan that brings Code Mode to agents. Instead of returning every tool result to the model before the next call, the model writes a short Python script that chains the calls inside the host process. The latest listed release is v0.1.1.

    What It Is

    Ghost Mode is an agent-tooling library for Rust. A developer gives a Sandbox their own tools, or points it at an MCP server, and hands the model only two function definitions: execute and poll. The model sends a script through execute, the sandbox runs it, and the model receives a Status JSON containing only the script's final result. If a run is still going, the model calls poll with a run_id.

    How It Works

    The Monty backend runs scripts inside the host process, so no container or extra service is needed. Scripts can reach the outside world only through the tools the host provides. Each tool call goes through Host::call, and the answer returns to the script rather than to the model. The README's example chains pull request, check run and log lookups and returns only the last 500 characters of each failed log.

    Deployment and Safety Options

    • Tool definitions can be exported in MCP shape or as OpenAI functions.
    • The rmcp feature adds mcp::Server, so an MCP server can be used without writing a custom host.
    • Monty is not crash-isolated. For untrusted scripts, the monty-pool feature runs each session in its own worker process.
    • Limits cap how much any one result can add, 40,000 characters by default.
    • Sandbox::dump saves an idle session as bytes and Builder::restore reloads it. Setting Builder::signing_key makes restore refuse unsigned bytes.

    Token Savings Claims

    The README cites figures from other teams' Code Mode work, including Anthropic, Cloudflare, a cost benchmark and the CodeAct paper, and notes that savings vary by model. Weaker models sometimes retried failed scripts until costs exceeded plain tool calls.

    Setup Path

    Install with cargo add ghostmode. Building from source uses rustup and the pinned toolchain with cargo build --locked. The monty-pool feature's dependencies need a C compiler.

    Ghost Mode - 1

    Collections

    Popular collections

    • Harness Setup

      Collection by @joemseifi

      Remix
    • Code Knowledge Graphs

      Collection by @evtuff

      Remix
    • Obsidian Agentic & AI plugins

      Collection by @samofcode

      Remix
    • Codebase Context Generators

      Collection by @joemseifi

      Remix

    Add Ghost Mode to one of your collections.

    View all collections

    Community Discussions

    Be the first to start a conversation about Ghost Mode

    Share your experience with Ghost Mode, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (MIT)

    Ghost Mode Rust library released under the MIT license; free to use, copy, modify, and distribute.

    • MIT-licensed Rust library
    • Sandbox with execute and poll tools
    • Monty backend runs scripts in-process
    • Optional monty-pool feature for process isolation
    • Optional rmcp feature for MCP server support

    Capabilities

    Key Features

    • Model-written Python scripts chain tool calls in the host process
    • Only two model-facing tools: execute and poll
    • Intermediate results never return to the model
    • In-process Monty backend with no container or extra service
    • Optional MontyPool backend with per-session worker processes
    • MCP server support via the rmcp feature
    • Tool definitions in MCP or OpenAI function format
    • Configurable Limits capping result size (40,000 characters by default)
    • Session dump and restore with optional signing key

    Integrations

    MCP
    OpenAI function calling
    Monty
    Tokio
    rmcp
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Ghost Mode and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Alan

    Read more about Alan
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    AURA icon

    AURA

    AURA is an open-source, production-tested SRE agent harness built in Rust that deploys multi-agent AI workflows for incident investigation, root cause analysis, and automated remediation on your own infrastructure.

    Orb icon

    Orb

    Orb is a macOS and iOS client for orchestrating AI coding agent harnesses, providers, and machines from one place.

    Ink icon

    Ink

    React for CLIs — build and test interactive command-line apps using React components and Flexbox layouts in the terminal.

    Browse all tools

    Related Topics

    MCP Integration

    Tools for integrating MCP with existing AI systems and applications.

    229 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    610 tools

    Agent Harness

    Infrastructure, orchestrators, and task runners that wrap around LLM coding agents — covering session management, context delivery, worktree isolation, architecture enforcement, and issue-to-PR pipelines.

    846 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions