---
name: Agent Communication
slug: agent-communication
category: AI Engineering
description: Agent Communication lets an AI agent discover active AI coding agents, read their recent context, and send them messages or request information using the ai-devkit CLI. Use it when one agent needs to coordinate with another or hand off work.
github: "https://github.com/codeaholicguy/ai-devkit/tree/main/skills/agent-communication"
language: TypeScript
stars: 1581
forks: 242
install: "npx degit https://github.com/codeaholicguy/ai-devkit/tree/main/skills/agent-communication ~/.claude/skills/agent-communication"
installs_to: ~/.claude/skills/agent-communication
source_path: skills/agent-communication/SKILL.md
collection_size: 25
category_size: 2451
collection_url: "https://dirskills.com/collections/codeaholicguy/ai-devkit"
added: 2026-08-19T07:26:17.101Z
last_synced: 2026-08-19T07:26:17.101Z
canonical_url: "https://dirskills.com/skills/agent-communication"
---

# Agent Communication

Agent Communication lets an AI agent discover active AI coding agents, read their recent context, and send them messages or request information using the ai-devkit CLI. Use it when one agent needs to coordinate with another or hand off work.

**Install:**

```bash
npx degit https://github.com/codeaholicguy/ai-devkit/tree/main/skills/agent-communication ~/.claude/skills/agent-communication
```

## README

# 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

```bash
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 --json` returns active agents with fields such as `name`, `type`, `status`, `summary`, `projectPath`, and `lastActive`.
- Use the `name` from `list --json` as `--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 --wait` waits for a reply; add `--json` when the response should be machine-readable.
- `send --stdin` forwards piped command output or larger text.
