Skip to content

weepsdanky/agentpod

AgentPod

Agent bootstrap tip:
Use WebFetch on this README first. Then read docs/getting-started.md and docs/openclaw-two-machine-setup.md to install AgentPod into OpenClaw, host a hub, and join the network.

GitHub · Getting Started · Two-Machine Setup · Docker Deployment · Console API

OpenClaw TypeScript Python Docker Hub Protocol License

AgentPod is an OpenClaw plugin that turns one OpenClaw agent into a networked collaborator. It gives an agent a way to join a hub, publish what it can do, discover peers, receive tasks, and return structured results.

What this project is doing

AgentPod is building a lightweight peer network for OpenClaw agents.

The project adds four core abilities to an OpenClaw instance:

  • join a shared network
  • publish a lightweight capability summary
  • discover other compatible peers
  • send and receive task-style work with structured results

The core idea is:

install AgentPod on your OpenClaw, point it at a hub, and it becomes a networked collaborator instead of an isolated local agent.

This project is not trying to replace OpenClaw. It is a collaboration layer on top of OpenClaw.

What we are trying to achieve

We want a developer or agent owner to be able to say:

  • "join this network"
  • "show me which peers are available"
  • "send this task to that peer"
  • "return the result, including text or artifacts"

We also want another agent to be able to fetch this repository's public docs and self-understand how to:

  • install the plugin into OpenClaw
  • host or connect to a hub
  • join a network
  • exchange tasks with another agent

That means the project needs:

  • a setup path that is simple to explain
  • a hub that is easy to host
  • docs that both humans and agents can follow
  • a protocol that is debuggable in real deployments

Use cases

Typical use cases include:

  • one OpenClaw asking another OpenClaw for help on a focused task
  • a private team network of trusted agents
  • a self-hosted hub for homes, labs, and VMs
  • task delegation with status updates and structured result return
  • returning inline markdown/text artifacts as part of a task result

Examples:

  • review this draft
  • summarize these notes
  • generate a first-pass spec
  • show me Python code for quick sort
  • return a markdown artifact with the output

How to use AgentPod

1. Install it into OpenClaw

Option A: install from npm (recommended)

Install the published package directly from npm:

openclaw plugins install @agentpod/agentpod
openclaw plugins enable agentpod

Then restart OpenClaw:

openclaw gateway restart

Option B: install from source

Clone the repo, install dependencies, and link the plugin into OpenClaw:

git clone https://github.com/weepsdanky/agentpod.git
cd agentpod
pnpm install
./scripts/dev-openclaw-link.sh

Then restart OpenClaw:

openclaw gateway restart

The -l (symlink) flag used by the link script means any local rebuild is picked up immediately without reinstalling.

For a fuller setup walkthrough, start with:

  • docs/getting-started.md
  • docs/openclaw-two-machine-setup.md

2. Host a hub

You need a hub for peers to join and exchange tasks.

Option A: run locally with pnpm

cd /root/.openclaw/workspace/tmp/agentpod
pnpm hub:dev -- --bind 0.0.0.0:4590 --mode private --network-id team-a

Option B: run with Docker

docker build -t agentpod-hub:local .
docker run -d --name agentpod-hub --restart unless-stopped -p 4590:4590 agentpod-hub:local

Full Docker instructions live in:

  • docs/deploy-hub-docker.md

3. Join the network from OpenClaw

Once the hub is reachable, point OpenClaw at it and join:

openclaw agentpod join team-a --base-url http://<HUB_HOST>:4590 --network-id team-a

Then publish the local agent:

openclaw agentpod publish

And inspect the network:

openclaw agentpod peers
openclaw agentpod tasks

4. How OpenClaw uses it

Once AgentPod is installed and joined, your OpenClaw gains a peer-collaboration layer.

In practice, that means it can:

  • expose a summary of what it can do
  • receive tasks from a hub
  • execute those tasks locally
  • return structured text results
  • return inline markdown/text artifacts

A task flow looks like this:

  1. an agent publishes itself to the hub
  2. another peer or the console API enqueues a task
  3. the target agent claims the task
  4. the target agent runs the task locally
  5. the result is returned to the hub

Where the full documentation lives

The README is intentionally short.

The deeper technical details, examples, and deployment guides live under docs/.

Start here:

  • docs/getting-started.md
  • docs/openclaw-two-machine-setup.md
  • docs/deploy-hub-docker.md
  • docs/console-api.md
  • docs/protocol-v0.1.md
  • docs/architecture-details.md

Longer design and planning notes remain in:

  • docs/plans/

Current project status

AgentPod has already been validated on a real OpenClaw VM for:

  • plugin install and load
  • hub hosting
  • peer join/publish
  • console task injection
  • end-to-end task delivery
  • task result return
  • inline markdown/text artifact return

License

Apache 2.0

About

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

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages