ConardLi/easy-agent

Production-ready open source terminal coding agent with readable, layered code: permission rules, OS sandboxing, MCP, skills, sub-agents, and Anthropic, OpenAI-compatible, Gemini, or local models.

What it solves

Easy Agent solves the problem of safely delegating coding tasks to an AI model that can read and modify your codebase. It lets you describe a task in plain English and have the agent plan, edit files, run commands, and report back — all while enforcing strict permission rules, workspace trust, and optional OS-level sandboxing to protect your machine.

How it works

Easy Agent runs in your terminal next to your repository. It uses a model (Anthropic, OpenAI-compatible, Gemini, or local) and follows an agentic loop: reason, call tools (like Read, Write, Edit, Bash), observe the results, and iterate. Every action that changes your machine goes through a permission system with allow/ask/deny rules and modes like plan (read-only), auto (classifier-approved), and default (ask). It also supports workspace trust, path boundaries, and a fail-closed shell sandbox on macOS and Linux. The code is organized into separate layers for model communication, the agentic loop, tools, permissions, context management, and extension systems.

Who it's for

Developers who want AI assistance directly in their terminal for code exploration, multi-file changes, running builds/tests, and planning changes. It's also for those who need fine-grained control over what the agent can do and value security features like sandboxing and permission rules. Additionally, it's for developers who want to script or integrate the agent via headless output, SDK, RPC, or ACP, and for those who want to extend it with MCP servers, skills, plugins, and more.

Highlights

  • Permission rules (allow/ask/deny) with denial always winning; modes include default, plan (read-only), and auto (classifier-assisted).
  • Workspace trust: project settings and configurations are ignored until you trust the folder, preventing malicious repos from self-trusting.
  • Shell sandboxing on macOS and Linux with fail-closed behavior (if sandbox can't start, command is blocked).
  • Path boundaries: file tools refuse to follow symbolic links outside the workspace.
  • Extensible via MCP servers, skills, custom agents, hooks, plugins, and static marketplaces.
  • Interfaces: interactive terminal UI, headless text/JSON/NDJSON, SDK, JSON-RPC, and Agent Client Protocol for editors like Zed and JetBrains.
  • Supports multiple model providers including Anthropic, OpenAI-compatible, Gemini, and local models like Ollama.
  • Durable persistence, resume, compaction, token budgets, project memory (AGENTS.md), file checkpoints, and /rewind.
  • No analytics or telemetry; local data private to user with restricted permissions.

Related

  • Project
  • Project
  • Project
  • Project
  • Project