Agent Communication
Agent Buildingagent-communicationAgent Communication is an Agent Skill for agent building published in the codeaholicguy/ai-devkit repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
AI DevKit · Exchange information with active Codex, Claude Code, and other AI agents using ai-devkit agent list, detail, and send. Use when an agent needs to find another active agent, read its recent context, send it information, or request information back.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/codeaholicguy/ai-devkit/blob/HEAD/skills/agent-communication/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/agent-communication, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Agent Communication
Use ai-devkit agent ... to discover and communicate with active agents. If ai-devkit is not on PATH, use npx ai-devkit@latest agent ....
Commands
ai-devkit agent list --json
ai-devkit agent detail --id <agent-name> --json --tail 20
ai-devkit agent send --id <agent-name> "<message>"
ai-devkit agent send --id <agent-name> --wait --timeout 120000 --json "<message>"
<command> 2>&1 | ai-devkit agent send --id <agent-name> --stdin
Notes
list --jsonreturns active agents with fields such asname,type,status,summary,projectPath, andlastActive.- Use the
namefromlist --jsonas--id. Partial matches are supported, but exact names are safer. - Use
detail --json --tail <n>to read recent context from an agent before deciding what to send. send --waitwaits for a reply; add--jsonwhen the response should be machine-readable.send --stdinforwards piped command output or larger text.