{"id":49108369,"url":"https://github.com/suzuke/agend-terminal","last_synced_at":"2026-04-21T03:02:42.701Z","repository":{"id":350395001,"uuid":"1206568305","full_name":"suzuke/agend-terminal","owner":"suzuke","description":"Rust-based Agent Process Manager — PTY multiplexer optimized for AI CLI agents","archived":false,"fork":false,"pushed_at":"2026-04-17T08:54:26.000Z","size":1280,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-17T10:37:59.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suzuke.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-10T03:28:13.000Z","updated_at":"2026-04-17T07:25:53.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/suzuke/agend-terminal","commit_stats":null,"previous_names":["suzuke/agend-terminal"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suzuke/agend-terminal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suzuke%2Fagend-terminal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suzuke%2Fagend-terminal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suzuke%2Fagend-terminal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suzuke%2Fagend-terminal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suzuke","download_url":"https://codeload.github.com/suzuke/agend-terminal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suzuke%2Fagend-terminal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32073497,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T01:35:38.224Z","status":"online","status_checked_at":"2026-04-21T02:00:06.111Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-21T03:02:41.978Z","updated_at":"2026-04-21T03:02:42.696Z","avatar_url":"https://github.com/suzuke.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AgEnD Terminal\n\nOrchestrate AI coding agents — not just run them.\n\n\u003e ⚠️ **Pre-alpha.** APIs, CLI flags, and `fleet.yaml` schema may change\n\u003e between minor versions. Not for production use. Pin a specific version\n\u003e and read the release notes before upgrading.\n\n```bash\ncargo install agend-terminal\nagend-terminal demo    # Try it in 30 seconds\n```\n\n## What It Does\n\n**Run 3 Claude agents working on the same repo in parallel:**\n```bash\nagend-terminal start    # reads fleet.yaml, spawns agents with git worktree isolation\nagend-terminal status   # see all agents and their health\nagend-terminal attach dev  # watch one agent work (Ctrl+B d to detach)\n```\n\n**Agents talk to each other — no glue code:**\n```\nAgent A finds a bug outside its scope → delegates to Agent B via MCP tool.\nAgent B fixes it → reports back with commit hash.\nAgent A continues with the fix applied.\n```\n\n**Survive crashes without losing context:**\n```\nAgent crashes → auto-respawned with exponential backoff.\nSystem message tells the new agent what happened.\nWorktree preserves all code changes.\n```\n\n## Why Not tmux?\n\n| | tmux + shell scripts | agend-terminal |\n|---|---|---|\n| Input injection | `send-keys` race conditions | Atomic PTY write |\n| Output capture | Screen scraping | VTerm state tracking |\n| Agent health | Manual monitoring | Auto-respawn + state detection |\n| Multi-agent comms | Custom IPC | Built-in MCP tools |\n| Git isolation | Manual worktrees | Auto per-agent worktree |\n\n## Quick Start\n\n```bash\n# Try the demo (no config needed)\nagend-terminal demo\n\n# Or start with your own agents\ncat \u003e ~/.agend-terminal/fleet.yaml \u003c\u003c 'YAML'\ndefaults:\n  backend: claude-code\n\ninstances:\n  dev:\n    role: \"Developer\"\n    working_directory: ~/my-project\n  reviewer:\n    role: \"Code reviewer\"\n    working_directory: ~/my-project\nYAML\n\nagend-terminal start\n```\n\n## Commands\n\n```\nagend-terminal demo                      30-second interactive demo\nagend-terminal start                     Start daemon + fleet\nagend-terminal daemon [name:cmd ...]     Start with explicit agents\nagend-terminal attach \u003cname\u003e             Attach to agent (Ctrl+B d)\nagend-terminal inject \u003cname\u003e \u003ctext\u003e      Send input\nagend-terminal list / status             Show agents\nagend-terminal kill \u003cname\u003e               Kill agent\nagend-terminal stop                      Stop daemon\nagend-terminal doctor                    Check backends\nagend-terminal mcp                       MCP stdio server\n```\n\n## 35 MCP Tools\n\nAgents get these tools automatically via MCP:\n\n| Category | Tools |\n|----------|-------|\n| Talk to users | reply, react, edit_message, download_attachment |\n| Talk to agents | send_to_instance, delegate_task, report_result, request_information, broadcast, inbox |\n| Manage agents | list/create/delete/start/describe/replace_instance, set_display_name, set_description |\n| Track decisions | post_decision, list_decisions, update_decision |\n| Track tasks | task (create/list/claim/done/update) |\n| Organize teams | create/delete/list/update_team |\n| Schedule work | create/list/update/delete_schedule |\n| Deploy fleets | deploy_template, teardown_deployment, list_deployments |\n| Share code | checkout_repo, release_repo |\n\n## Git Worktree Isolation\n\nAgents pointing to git repos automatically get isolated worktrees:\n\n```\n~/my-project/               ← original repo (untouched)\n~/my-project/.worktrees/\n  dev/                       ← agent \"dev\" works here (branch agend/dev)\n  reviewer/                  ← agent \"reviewer\" works here (branch agend/reviewer)\n```\n\nNo configuration needed. `.worktrees` auto-added to `.gitignore`.\n\n## Health Monitoring\n\n- Auto-respawn with exponential backoff (5s → 300s)\n- State detection: Idle, Thinking, ToolUse, RateLimit, Crashed, Restarting\n- Crash notifications via Telegram\n- 30-minute stability window prevents permanent failure from occasional crashes\n\n## Telegram Integration\n\nEach agent gets its own forum topic; messages route by topic. Topic lifecycle\nis bidirectional:\n\n- **Delete a pane in app → topic is deleted in Telegram** (immediate).\n- **Close topic in Telegram → pane is removed in app** (immediate, via the\n  `forum_topic_closed` service message).\n- **Delete topic in Telegram → pane is removed in app** (lazy, on the next\n  agent send to that topic). Telegram Bot API does not emit a deletion event,\n  so the cleanup fires the first time a send returns\n  `message thread not found`. Prefer Close if you want immediate cleanup.\n\n## Backends\n\n| Backend | Command | Status |\n|---------|---------|--------|\n| Claude Code | `claude` | Tested |\n| Kiro CLI | `kiro-cli` | Tested |\n| Codex | `codex` | Tested |\n| OpenCode | `opencode` | Tested |\n| Gemini CLI | `gemini` | Tested |\n\n## Testing\n\n```bash\ncargo test         # 51 tests (unit + integration + MCP round-trip)\ncargo clippy       # 0 errors (deny unwrap_used)\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuzuke%2Fagend-terminal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuzuke%2Fagend-terminal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuzuke%2Fagend-terminal/lists"}