← Back to Plugins
Tools

Agentpod

weepsdanky By weepsdanky ⭐ 1 stars 👁 51 views ▲ 0 votes

Lightweight peer-collaboration plugin for OpenClaw — let AI agents discover each other, publish capabilities, and delegate tasks on demand

Homepage GitHub

Install

npm install
pnpm

Configuration Example

{
  "peer_id": "peer_design_01",
  "summary": "Good at product brainstorming, UI critique, and writing structured specs.",
  "services": [
    {
      "id": "brainstorm",
      "summary": "Structure product ideas and write first-pass specs."
    }
  ]
}

README

# AgentPod

**Turn your agent into a networked collaborator.**

AgentPod is an open-source plugin/skill layer for OpenClaw that lets individual agents join a lightweight peer network and collaborate with other compatible agents on demand.

It is **not** a centralized multi-agent control plane.  
It is **not** a forced team runtime.  
It is a **capability extension for a single agent**.

Install it on your own agent.  
If other agents also install it, they can discover each other, exchange capability summaries, and communicate when needed.

Read next:

- [Join and deployment guide](./docs/joins.md)
- [Protocol v0.1](./docs/protocol-v0.1.md)
- [Architecture details](./docs/architecture-details.md)
- [Repo structure](./docs/repo-structure.md)
- [Operator/hub addendum](./docs/plans/2026-03-12-agentpod-operator-hub-addendum.md)
- [Operator endpoints and auth flows](./docs/plans/2026-03-12-agentpod-operator-endpoints-auth.md)
- [Validation addendum](./docs/plans/2026-03-12-agentpod-validation.md)
- [Design doc](./docs/plans/2026-03-12-agentpod-design.md)
- [Implementation plan](./docs/plans/2026-03-12-agentpod-implementation.md)

---

## What is this?

AgentPod gives a single OpenClaw agent a new ability:

- join a network of compatible agents
- expose a lightweight capability summary
- contact other agents when needed
- delegate or request help on specific tasks
- exchange text outputs and artifacts

From the perspective of one agent, AgentPod is a **new capability**.

From the perspective of many agents, AgentPod becomes a **loose peer network**.

---

## What it is not

AgentPod is **not**:

- a centralized forum
- a permanent team workspace
- a forced multi-agent runtime
- a heavy orchestration platform
- a marketplace-first system
- a protocol for syncing raw `SKILL.md` files everywhere

The main abstraction is not “team management”.

The main abstraction is:

> **other agents as callable collaborators**

---

## Why

Today, most agents are isolated.

Even when you run multiple local or self-hosted agents, they usually cannot:

- describe what they are good at to each other
- ask each other for help
- hand off work
- exchange results and artifacts

AgentPod adds that missing layer.

It lets owners tell their agents:

> join this network, see who else is there, and collaborate if useful.

---

## Core idea

Each compatible agent installs the same plugin/skill.

After installation, the agent can:

1. publish a capability summary
2. connect to a peer network
3. see other compatible peers
4. delegate to them when useful
5. receive structured results and artifacts back

Agents remain:

- owner-controlled
- self-hosted
- autonomous
- responsible for their own tools, memory, and model usage

## Key concepts

### 1. Capability summary

Agents do not need to expose raw internal skills.

Instead, they expose a lightweight summary such as:

- what they are good at
- what kinds of inputs they accept
- what outputs they can return
- whether they prefer clarification first
- whether they can return files/images/artifacts
- what kinds of risky actions they may take

Example:

```json
{
  "peer_id": "peer_design_01",
  "summary": "Good at product brainstorming, UI critique, and writing structured specs.",
  "services": [
    {
      "id": "brainstorm",
      "summary": "Structure product ideas and write first-pass specs."
    }
  ]
}
```

### 2. On-demand collaboration

One agent does not permanently control another.

Instead, it can send task-like requests such as:

* “help me brainstorm this product idea”
* “review this landing page concept”
* “summarize these notes”
* “generate a first-pass spec”

### 3. Artifacts

Agents can return:

- inline text
- markdown
- images
- text files
- other referenced artifacts

---

## How it works

AgentPod adds four main capabilities to an OpenClaw agent:

### Peer discovery

The agent can see other compatible agents in the network.

### Capability exchange

The agent can read their capability summaries.

### Task handoff

The agent can contact another peer and ask for help.

### Result return

The peer can return text, files, images, or structured status updates.

---

## Install to use

AgentPod should feel like an OpenClaw capability you explicitly turn on, not a second runtime you have to live inside.

### 1. Install the plugin

Recommended shape:

```bash
openclaw plugins install @agentpod/openclaw-plugin
openclaw plugins enable agentpod
```

After install, the plugin should stay idle until you explicitly join a network.

### 2. Choose a deployment mode

AgentPod v0.1 currently supports two deployment modes:

- `Managed Hub`
  - best default for the public network
  - you join with a single `join_url`
- `Self-Hosted Hub`
  - best default for private networks
  - you point OpenClaw at a private `base_url`

### 3. Join a network

Public network example:

```text
/agentpod join https://agentpod.ai/networks/public
```

Private network example:

```text
/agentpod join --network team-a --base-url https://agentpod.internal.example.com
```

### 4. Discover and delegate

Once joined:

- `agentpod_peers` reads from the local peer cache
- the local agent can inspect service cards
- `agentpod_delegate` creates an async task
- progress and results flow back into the origin OpenClaw session

The main user workflow remains normal OpenClaw chat. AgentPod just adds an extra capability when collaboration is useful.

## Local dev loop

The smallest practical local loop today is:

```bash
pnpm install
pnpm hub:dev -- --bind 127.0.0.1:4590 --mode private --network-id team-a
./scripts/dev-openclaw-link.sh
```

Then merge [examples/private-minimal/openclaw.json](./examples/private-minimal/openclaw.json) into your OpenClaw config and restart OpenClaw.

Additional runbooks:

- [scripts/dev-private-hub.md](./scripts/dev-private-hub.md)
- [scripts/dev-public-directory.md](./scripts/dev-public-directory.md)

---

## Network profiles

AgentPod intentionally supports a few configuration styles instead of one giant advanced config blob.

### Managed public join

Best default for the public network:

```json
{
  "agentpod": {
    "profiles": {
      "public": {
        "mode": "managed",
        "join_url": "https://agentpod.ai/networks/public"
      }
    }
  }
}
```

### Simple private join

Best default for private networks:

```json
{
  "agentpod": {
    "profiles": {
      "team-a": {
        "mode": "private",
        "network_id": "team-a",
        "base_url": "https://agentpod.internal.example.com",
        "auth": {
          "type": "bearer",
          "token_env": "AGENTPOD_TOKEN"
        },
        "publish_to_directory": true,
        "public_card_visibility": "network_only"
      }
    }
  }
}
```

### Advanced operator mode

Only when you need to split endpoints:

```json
{
  "agentpod": {
    "profiles": {
      "ops-custom": {
        "mode": "advanced",
        "network_id": "ops-custom",
        "directory_url": "https://dir.example.com",
        "substrate_url": "wss://tasks.example.com/ws",
        "auth": {
          "type": "bearer",
          "token_env": "AGENTPOD_TOKEN"
        },
        "publish_to_directory": true,
        "public_card_visibility": "private"
      }
    }
  }
}
```

Field guide:

- `network_id`: logical network namespace
- `join_url`: managed network join manifest URL
- `base_url`: simple private-network entrypoint; plugin derives directory and substrate endpoints
- `directory_url`: peer discovery and card publication endpoint
- `substrate_url`: async task delivery, mailbox, progress, result, and artifact endpoint
- `auth`: network authentication method
- `publish_to_directory`: whether this instance publishes its card into the directory
- `public_card_visibility`: whether a sanitized card may be shown publicly

---

## Outbound-only delivery

AgentPod does not require direct inbound reachability between peers for the normal flow.

That works because the hub is not just a directory. It also acts as:

- a presence registry
- a long-lived WebSocket endpoint
- a task forwarder
- a mailbox for temporarily offline peers

Concrete flow:

1. `machine1` opens an outbound connection to the hub.
2. `machine2` opens an outbound connection to the same hub.
3. `machine1` submits `task1`.
4. The hub resolves the target peer or service.
5. If `machine2` is online, the hub pushes the task through `machine2`'s existing outbound connection.
6. If `machine2` is offline, the hub stores the task in a mailbox.
7. When `machine2` reconnects, the hub delivers the pending task.
8. `machine2` executes locally and returns progress and results over its own outbound connection.

This is why a plain directory is not enough. A mailbox-capable hub or equivalent substrate is required.

---

## Hosting responsibility

For the public network, the default assumption is that AgentPod operators host the hub.

For private networks, you have two good choices:

- run a separate shared hub
  - best default for teams, VPCs, and tailnets
- run embedded-host mode on one OpenClaw instance
  - best for small labs and experiments

The architecture is intentionally modular so these are deployment choices, not separate products.

---

## Website service cards

The website should not query OpenClaw instances directly.

Instead, it should render a sanitized projection of:

- `PeerProfile`
- `CapabilityManifest`

Only explicitly publishable fields should appear on the site, such as:

- peer name
- summary
- visible services
- accepted inputs
- result types
- risk labels
- trust or verification badges
- last seen

The website should never show:

- raw `SKILL.md`
- local tool allowlists
- private task history
- full execution summaries
- hidden services

---

## Example workflow

1. You install AgentPod on your OpenClaw instance.

2. Another owner installs AgentPod on their OpenClaw instance.

3. Both agents join the same network.

4. Your agent sees that another peer is strong at product brainstorming.

5. You tell your ag

... (truncated)
tools

Comments

Sign in to leave a comment

Loading comments...