# Agent Intern [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/SinanTufekci/agent-intern  
**GitHub Stars:** 35  
**Views:** 7  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/agent-intern

## Description
Delegate from Claude Code to Gemini, Codex, Copilot, Cursor and opencode CLIs as sub-agents.

## Tools
Capabilities this server exposes over MCP:

- **antigravity_ask** — Best for fast, cheap tool-calling and short tasks on Gemini (agy CLI), in a NEW
conversation. Pass workspace=<project dir>; without it the sub-agent sees no repo.
Follow up with antigravity_continue. Uses your AI Pro login; pick a bigger `model`
for heavier reasoning. No real sandbox (plan=True is agent-enforced read-only).
Autonomous agent: trusted prompts only.
- **antigravity_continue** — Continue the Antigravity conversation: resumes the thread rooted at this workspace,
so pass the same workspace=<project dir> as the ask (without it the sub-agent sees
no repo). It resumes the exact conversation id the bridge recorded there, not agy's
global most recent, so a conversation started elsewhere in between cannot take its
place. `model`, `plan` and `schema` apply per turn. Autonomous agent: trusted
prompts only.
- **antigravity_image** — Your only image generator: makes an image with Gemini (agy CLI) on the user's AI Pro
quota, saves it, and returns its absolute path, real format and byte size (read the
path to view it). agy picks the format, so the extension is corrected to the bytes
(out.png may come back as out.jpg). Relative paths land in `workspace`. For several
images, use antigravity_image_swarm. Runs an unsandboxed agy session: trusted
prompts only.
- **antigravity_image_swarm** — Best for several images at once: like antigravity_image, but one isolated worker per
prompt, run in parallel (capped at `max_concurrency`). Returns each image's path,
format and size, or its error; extensions are corrected to the real bytes.
Unsandboxed agy workers: trusted prompts only.
- **antigravity_status** — Check the agy (Antigravity) setup. Spends no quota; run it first when a call says
"not found". Its `bridge version` row says when a newer agent-intern release is out:
if so, tell the user. Also checks agy's version, the AI Pro quota left per model
family (a family at 0% fails every call until it resets), agy's state directories,
and whether the bridge can still read agy's answers. Use it to debug empty or failed
answers before spending quota.
- **agent_swarm** — Best for many independent sub-tasks: runs them IN PARALLEL across backends in one
call. Each task names its backend (Antigravity, Codex, Copilot, Cursor, Claude Code,
Grok, opencode, Muse), so one swarm can mix model families; every answer comes back
in one labelled block, and a failed worker is reported in place. Give each task
workspace=<project dir>; without it that worker sees no repo. Workers are one-shot
(no continue). N autonomous agents at once is N times the prompt-injection surface:
trusted prompts only.
- **preset_swarm** — Best for getting something JUDGED, RESEARCHED or ATTACKED by several model families:
runs a predefined panel (jury, research, red-team, council, or the user's own;
swarm_presets lists them), each member in its own role on the same material, in
parallel. The same panel every time, so two runs can be compared. Pass
workspace=<project dir>; without it the sub-agent sees no repo. Autonomous agents:
trusted prompts only.
- **swarm_presets** — List the predefined swarms preset_swarm can run, or show one in full. Spends no
quota. Shows each preset's kind, members (role and backend), a jury's rubric, and
where it comes from. Built-ins can be replaced or extended with JSON files in
~/.agent-intern/swarms/ (every project) or <workspace>/.agent-intern/swarms/ (one
project: its members run read-only and it cannot replace a built-in or user preset).
Broken files are listed with the reason.
- **codex_ask** — Best for the hardest reasoning and real code work, behind a REAL OS sandbox (OpenAI
Codex, `codex exec`), in a NEW session. Pass workspace=<project dir>; without it the
sub-agent sees no repo. Follow up with codex_continue. Uses your Codex login
(ChatGPT or API key). Read-only by default; sandbox="workspace-write" lets it edit.
On Windows the bridge flags refused commands and a silent read-only downgrade with
an [agent-intern] WARNING in the answer: treat such an answer as unsourced.
Autonomous agent: trusted prompts only.
- **codex_continue** — Continue the Codex session: resumes the thread rooted at this workspace (`codex exec
resume`), so pass the same workspace=<project dir> as the ask (without it the
sub-agent sees no repo). It resumes the session the last codex_ask there started,
else the newest on-disk session for that directory. The session keeps its original
sandbox and model. Autonomous agent: trusted prompts only.
- **codex_status** — Check the Codex setup. Spends no quota; run it first when a call says "not found".
Its `bridge version` row says when a newer agent-intern release is out: if so, tell
the user. Also checks codex's version, whether you're logged in (`codex login
status`, no model call), whether a Windows sandbox is configured (without one,
workspace-write runs read-only), and where codex keeps its sessions.
- **copilot_ask** — Best for agentic coding on a GitHub Copilot plan (`copilot -p`), in a NEW session.
Pass workspace=<project dir>; without it the sub-agent sees no repo. Follow up with
copilot_continue. Uses your Copilot login or a COPILOT_GITHUB_TOKEN/GH_TOKEN env
var. Its sandbox is best-effort, not an OS boundary. Autonomous agent: trusted
prompts only.
- **copilot_continue** — Continue the Copilot session: resumes the thread rooted at this workspace (its
`--session-id`), so pass the same workspace=<project dir> as the ask (without it the
sub-agent sees no repo). After a restart it resumes the newest on-disk session for
that directory. `sandbox` applies per turn: analyze read-only, then continue with
"workspace-write" to apply the fix. Autonomous agent: trusted prompts only.
- **copilot_status** — Check the Copilot setup. Spends no quota; run it first when a call says "not found".
Its `bridge version` row says when a newer agent-intern release is out: if so, tell
the user. Also checks copilot's version, an auth hint (copilot has no login-status
command, so a credential-store login is assumed unless an env token is set), and
where copilot keeps session state.
- **cursor_ask** — Best for agentic coding on a Cursor plan, with a wide model menu
(GPT/Claude/Grok/Composer via `model`) (`cursor-agent -p`), in a NEW chat. Pass
workspace=<project dir>; without it the sub-agent sees no repo. Follow up with
cursor_continue. Uses your Cursor login or CURSOR_API_KEY. Its sandbox is
agent-enforced (read-only = ask mode), not an OS boundary. Autonomous agent: trusted
prompts only.
- **cursor_continue** — Continue the Cursor chat: resumes the thread rooted at this workspace (its chat id),
so pass the same workspace=<project dir> as the ask (without it the sub-agent sees
no repo). After a restart it resumes the newest on-disk chat for that directory.
`sandbox` applies per turn: analyze read-only, then continue with "workspace-write"
to apply the fix. Autonomous agent: trusted prompts only.
- **cursor_status** — Check the Cursor setup. Spends no quota; run it first when a call says "not found".
Its `bridge version` row says when a newer agent-intern release is out: if so, tell
the user. Also checks cursor-agent's version, whether you're logged in
(`cursor-agent status`), and where cursor keeps its chats.
- **claude_ask** — Best for large refactors and careful reviews: Claude Code (`claude -p`) as a
sub-agent, for hosts other than Claude Code, in a NEW session. Pass
workspace=<project dir>; without it the sub-agent sees no repo. Follow up with
claude_continue. Uses your Claude plan login or ANTHROPIC_API_KEY. Its sandbox is
agent-enforced; workspace-write edits files but runs no shell. Autonomous agent:
trusted prompts only.
- **claude_continue** — Continue the Claude Code session, for hosts other than Claude Code: resumes the
thread rooted at this workspace, so pass the same workspace=<project dir> as the ask
(without it the sub-agent sees no repo). After a restart it resumes the newest
Claude Code session there. `sandbox` applies per turn. Autonomous agent: trusted
prompts only.
- **claude_status** — Check the Claude Code setup, for hosts other than Claude Code. Spends no quota; run
it first when a call says "not found". Its `bridge version` row says when a newer
agent-intern release is out: if so, tell the user. Also checks claude's version
(2.1.259+ needed), how you're signed in (`claude auth status`; account details are
left out), and where Claude Code keeps its sessions.
- **grok_ask** — Best for agentic coding on a SuperGrok / X Premium+ plan (`grok -p`), in a NEW
session. EXPERIMENTAL: never completed an authenticated round-trip here (flags
verified on grok 1.0.3), so if it misbehaves say so rather than working around it.
Run grok_status first. Pass workspace=<project dir>; without it the sub-agent sees
no repo. Follow up with grok_continue. Its OS sandbox works on Linux/macOS only; on
Windows read-only rests on a tool allowlist. Autonomous agent: trusted prompts only.
- **grok_continue** — Continue the Grok session (EXPERIMENTAL): resumes the thread rooted at this
workspace (`-r <id>`, else grok's own `-c`), so pass the same workspace=<project
dir> as the ask (without it the sub-agent sees no repo). `sandbox` applies per turn.
Same caveats and auth as grok_ask. Autonomous agent: trusted prompts only.
- **grok_status** — Check the Grok Build setup (EXPERIMENTAL). Spends no quota; run it first when a call
says "not found". Its `bridge version` row says when a newer agent-intern release is
out: if so, tell the user. Also checks grok's version, auth and model list (both
from `grok models`, which answers even when logged out), and where grok keeps its
data. Green means the setup looks right, not that a live answer was ever confirmed.
- **kimi_ask** — Best for the Kimi K2 family (Moonshot's Kimi Code, `kimi -p`), in a NEW session.
EXPERIMENTAL: built without a Kimi account, so no authenticated round-trip has run;
it needs `kimi login` or an API key in ~/.kimi-code/config.toml (check kimi_status).
Pass workspace=<project dir>; without it the sub-agent sees no repo. Follow up with
kimi_continue. NO sandbox: it auto-executes every tool call, so trusted prompts
only.
- **kimi_continue** — Continue the Kimi session (EXPERIMENTAL): resumes the thread rooted at this
workspace (`kimi -c`; Kimi scopes sessions per directory), so pass the same
workspace=<project dir> as the ask (without it the sub-agent sees no repo). Errors
if no kimi_ask ran there. NO sandbox: trusted prompts only.
- **kimi_status** — Check the Kimi Code setup (EXPERIMENTAL). Spends no quota; run it first when a call
says "not found". Its `bridge version` row says when a newer agent-intern release is
out: if so, tell the user. Also checks kimi's version, whether a provider is
configured (`kimi provider list`; expect "no providers configured" until you log
in), and where Kimi keeps its data.
- **opencode_ask** — Best for users with no subscription: opencode's free `opencode/*-free` models
answer with zero credentials, in seconds (`opencode run`, NEW session). Also for a
model family no other backend covers: `opencode auth login` adds Claude/GPT-class
models. Pass workspace=<project dir>; without it the sub-agent sees no repo. Follow
up with opencode_continue. Its sandbox is agent-enforced, not an OS boundary;
timeout_s defaults to a 300 s ceiling. Autonomous agent: trusted prompts only.
- **opencode_continue** — Continue the opencode session: resumes the thread rooted at this workspace (`-s
<id>`, else opencode's own `-c` for that directory), so pass the same
workspace=<project dir> as the ask (without it the sub-agent sees no repo).
`sandbox` applies per turn: analyze read-only, then continue with "workspace-write"
to apply the fix. Autonomous agent: trusted prompts only.
- **opencode_status** — Check the opencode setup. Spends no quota; run it first when a call says "not
found". Its `bridge version` row says when a newer agent-intern release is out: if
so, tell the user. Also checks opencode's version (1.x or 2.x), configured
credentials ("none" is fine: the free models still answer), the model ids available,
and where opencode keeps its data.
- **muse_ask** — Best for Meta's Muse Spark models (Muse Code, `muse exec`), in a NEW session.
EXPERIMENTAL: the real model has never answered through this bridge (its offline
echo provider verified the rest), so if it misbehaves say so plainly. Needs a Muse
plan (`muse login`) or META_API_KEY; run muse_status first. Pass workspace=<project
dir>; without it the sub-agent sees no repo. Follow up with muse_continue. read-only
switches its write/shell/web tools off on every OS. Autonomous agent: trusted
prompts only.
- **muse_continue** — Continue the Muse session (EXPERIMENTAL): resumes the thread rooted at this
workspace (after a restart, muse's own record of the newest one there), so pass the
same workspace=<project dir> as the ask (without it the sub-agent sees no repo).
Errors rather than starting fresh when there is none. `sandbox` applies per turn.
Autonomous agent: trusted prompts only.
- **muse_status** — Check the Muse Code setup (EXPERIMENTAL). Spends no quota; run it first when a call
says "not found". Its `bridge version` row says when a newer agent-intern release is
out: if so, tell the user. Also checks which muse binary runs, whether credentials
exist (not whether they are valid: Muse has no free auth probe), the model catalog,
the Windows sandbox state, and where muse keeps its data.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "agent-intern": {
    "command": "uvx",
    "args": ["agent-intern"]
  }
}
```

## Documentation

## What Agent Intern MCP server does

Agent Intern MCP server connects Claude Code to locally installed AI coding CLIs and exposes those CLIs as MCP tools. Supported backends in the documented setup include Antigravity for Gemini, Codex, GitHub Copilot, Cursor, and opencode. The repository also lists Grok Build and Kimi Code as experimental backends. Claude remains the coordinating agent while a selected backend handles the delegated task.

Delegated work can return a text response or a path to a generated file. Typical uses include asking another model to review a diff, assigning bulk renames or boilerplate work, generating an image with Gemini, and sending several related tasks to workers in parallel.

## How it works

The Agent Intern MCP server launches the chosen backend CLI headlessly using the login already configured for that CLI. It does not manage its own API keys. At least one backend must be installed and authenticated, except for opencode, whose free models can run without credentials.

`agent_swarm` fans tasks out to multiple workers and can combine backends in one call. `preset_swarm` provides predefined panel formats such as jury scoring, research, red-team review, and code-review council workflows. The bridge can calculate panel results and identify disagreement. Adding `watch=true` opens a small window that streams agent narration, commands, progress, and results while a task runs.

## Setup and configuration

The recommended installation uses the Claude Code plugin:

```bash
claude plugin marketplace add SinanTufekci/agent-intern
claude plugin install agent-intern@agent-intern
```

For the MCP server without the plugin, register it with uvx:

```bash
claude mcp add -s user agent-intern -- uvx agent-intern
```

Use one installation method, not both, to avoid duplicate tools. The server requires `uv` for the documented quick-start path. Install and sign in to at least one backend CLI, then restart Claude Code. The plugin adds `/agent-intern:second-opinion`, `/agent-intern:image`, and `/agent-intern:doctor`. Without the plugin, a backend's `*_status` tool can check installation and login state without spending quota.

## Tools and capabilities

The Agent Intern MCP server supports:

- Gemini image generation through `antigravity_image`, with the output saved in the project.
- Parallel delegation through `agent_swarm`.
- Rubric-based and specialized panels through `preset_swarm`.
- Backend availability and authentication checks through `*_status` tools.
- Read-only second opinions, image requests, repository tasks, and text delegation through the installed backend CLIs.
- Live progress displays when `watch=true` is supplied.

## Limitations and notes

Backend behavior depends on the CLI, account, and plan being used. Antigravity is the documented image-capable backend; Codex provides a real OS sandbox, while Copilot and Cursor use best-effort or agent-enforced restrictions. opencode requires no subscription but its free models may take minutes.

The bridge does not provide new authentication. Users must install and sign in to the relevant CLIs themselves. uvx caches the first version it downloads, so upgrades are deliberate rather than automatic; the status tools report when a newer release is available. Experimental Grok Build and Kimi Code support is marked unverified in the backend list.

_Full upstream README: https://allmcps.com/mcp/agent-intern/readme_

