Skip to content
 
 

Repository files navigation

繁體中文

CI Crates.io License: MIT Status: Pre-alpha

AgEnD Terminal

Orchestrate AI coding agents — not just run them.

Declare your entire AI dev team in one fleet.yaml. AgEnD Terminal launches each agent as a long-lived PTY process with its own git worktree, wires up inter-agent communication via built-in MCP tools, and keeps everything running with auto-respawn and context handover.

Features

  • Fleet-as-code — One YAML file declares every agent's backend, role, working directory, and team membership. agend-terminal start brings the whole fleet up.
  • 6 backends — Claude Code, Codex, Kiro, OpenCode, Gemini CLI, and Antigravity CLI. Swap backends by changing one field.
  • Built-in agent coordination — Agents delegate tasks, query each other, and broadcast updates through 35 MCP tools. No glue code.
  • Automatic git worktree isolation — Each agent works in its own worktree. No merge conflicts between agents, no accidental cross-contamination.
  • Crash recovery with context handover — Agents auto-respawn and resume their conversation. Exponential backoff, health monitoring, and hung detection built in.
  • Remote control — Drive the fleet through a multi-pane TUI, Telegram, or Discord. Get notifications when agents need attention.

Quick Start

cargo install agend-terminal
agend-terminal quickstart    # Interactive setup in 2 minutes
agend-terminal start         # Launch the fleet

Architecture

graph LR
    Op[Operator] -->|TUI / Telegram / Discord| D[Daemon]
    F[fleet.yaml] --> D
    D --> A1[Agent PTY<br/>Claude Code]
    D --> A2[Agent PTY<br/>Codex]
    D --> A3[Agent PTY<br/>Kiro]
    D --> AN[Agent PTY<br/>...]
    A1 <-->|MCP bridge| A2
    A2 <-->|MCP bridge| A3
    A1 <-->|MCP bridge| A3
    D ---|worktree per agent| G[(Git repo)]
    D ---|health monitor<br/>auto-respawn| A1
Loading

Why Not tmux?

tmux + shell scripts agend-terminal
Input injection send-keys race conditions Atomic PTY write
Output capture Screen scraping VTerm state tracking
Agent health Manual monitoring Auto-respawn + state detection
Multi-agent comms Custom IPC Built-in MCP tools
Git isolation Manual worktrees Auto per-agent worktree

Backends

Backend Command Status
Claude Code claude Tested
Kiro CLI kiro-cli Tested
Codex codex Tested
OpenCode opencode Tested
Gemini CLI gemini Tested
Antigravity CLI agy Tested

Gemini CLI sunsets 2026-06-18 for free/Pro/Ultra tiers. Antigravity CLI is the official successor. Agy does not yet support the Fleet MCP bridge — see #987 for status.

Documentation

Start here:

Feature guides

Core

Advanced

Maintenance

Reference

Git Behavior

agend-terminal modifies git behavior for spawned agents (PATH shim, commit trailers, deny matrix, daemon-managed worktrees). Your own terminal is not affected. Read docs/GIT-BEHAVIOR.md before starting the daemon.

License

MIT

About

Rust-based Agent Process Manager — PTY multiplexer optimized for AI CLI agents

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages