Newshot

Show HN: Crazy simple AI agent orchestration with Markdown and Containers

Original text(via HN AI)

Crazy simple filesystem-based AI agent orchestration.

  • A main chat-agent that delegates work and reports back results
  • An isolated Docker container and image per agent with a filesystem for Kanban Memory Cron Instructions like Soul.md and skills Persistent workspace
  • Instructions like Soul.md and skills
  • Persistent workspace
  • Pi as harness
  • Automatic git versioning for agent definitions, skills, schedules and memory
  • Terminal UI, and optional web and Telegram channels
  • Main restarts shoebox to apply changes to agents, after you confirm

In a nutshell

Each agent is a folder with its own instructions, tools and Docker image, where you can define it's skills, soul and tools (by adding them to the Dockerfile). You can chat to each agent, but main can easily create and delegate tasks.

Tasks are Markdown files in that agent's kanban/ folder. Moving a task between todo, in-progress, done and blocked changes the task's status.

shoebox starts agent containers automatically as tasks arrive. When a task finishes or gets blocked, main is notified and reports back to you.

Get started in 1 minute

From git-clone to agent-delegation in under a minute.

1-minute demo showcasing agent delegation
1-minute demo showcasing agent delegation

Getting started

  • Install Docker and clone this repo
  • Copy data/shared/.env.example to data/shared/.env
  • Add your provider's API key, e.g. OPENAI_API_KEY=your-api-key. See Pi's provider setup for other providers
  • Run docker compose up -d --build
  • Run docker compose exec agents chat to open Pi's native CLI

Demo

poem is included as an agent by default. As its name suggests, it writes poems, including a cron-based daily poem.

Ask main: Have poem write a short poem about a quiet morning. Main will dispatch the task and reports back when it finishes. You can keep chatting while poem works.

Adding other agents

Ask main to create an agent, or add a folder under data/agents/ yourself. An agent needs;

The agent's role and instructions in Markdown; Pi uses it as the system prompt.

agent.json is the configuration for Pi, defining the agent's tools, skills, MCP servers and optional model (which wins over PI_MODEL in .env). Add skills under skills/ as needed.

MCP servers go under mcpServers, as in other MCP clients; ${NAME} takes a value from the agent's .env.

Use FROM agent-base for Pi, Python and the task runtime. Add any other software your agent needs, for example, the included code agent can add Claude Code, tmux and Chromium by uncommenting them.

When you start shoebox, it creates each agent's workspace, memory and task folders, and builds the agent's image. It rebuilds the image when its Dockerfile or the base image definition changes.

Other features

Cron

Define recurring tasks as Markdown files in each worker's cron/ folder. Ask main to set up a schedule, or copy poem's example.

Shared data

Under data/shared, you and agents can share information with each-other that is not a task. For example;

  • .env: shared credentials; overidden by an agent's own .env
  • skills/: shared skills; overidden by an agent's own skills if names match
  • Shared files, like artifacts as a result of a task

Running chats pick up changes to credentials and skills after a restart, which main asks you to confirm first. Changes to the root .env or shoebox itself need docker compose up -d --build.

Channels

The default way to interact with main is through Pi's terminal UI. However, by setting a custom CHANNEL_COMMAND, you can enable other ways.

Telegram

To enable Telegram, update the root .env by setting

  • CHANNEL_COMMAND=sh /channels/telegram.sh
  • TELEGRAM_BOT_TOKEN or TELEGRAM_CHAT_BOT_TOKEN
  • TELEGRAM_CHAT_IDS

and running docker compose up -d.

You can only chat with main directly in Telegram. Use /new or /reset starts a fresh session. Speech-to-text is enabled by including an OPENAI_API_KEY in your .env.

Web

To enable shoebox's basic htmx web-interface, update the root .env setting

  • CHANNEL_COMMAND=sh /channels/web.sh
  • COMPOSE_FILE=compose.yaml:compose.web.yaml

and running docker compose up -d. You can now open http://localhost:8080.

web demo showcasing agent delegation
web demo showcasing agent delegation

To change the port, you can set WEB_PORT. To combine with Telegram, just concatenate its channel command:

CHANNEL_COMMAND=sh /channels/web.sh sh /channels/telegram.sh

In the web-interface, you can chat with any agent. Other channels' conversations, such as Telegram, are shown read-only. Files browses agent and shared files, with upload, download and delete, including .env files.

Compared to others

shoebox does a lot with very little code. Docker, git and Pi do the heavy lifting, so there's no database, gateway or agent loop to maintain. That's about 1.4k lines, idling at under 100 MB. If you want an assistant in every chat app, look at OpenClaw or Hermes Agent. For a full workspace with email, documents and local models, look at Odysseus.

shoeboxOpenClawHermes AgentOdysseus
Lines of code¹~1.4k~5.4M~1.6M~550k
Idle memory²80 MB (150 MB with web)970 MB450 MB1.9 GB
Disk²1.1 GB2.7 GB4.4 GB4.9 GB
FocusDelegating to a team of agentsPersonal assistant in your chat appsSelf-improving personal agentAll-in-one AI workspace
Multiple agentsmain delegates to any number of agentsRoutes channels to isolated agentsIsolated subagents and named bots—
IsolationDocker container and image per agentHost by default, optional Docker sandboxLocal, Docker, SSH or cloud backendsOne Docker Compose stack
Tasks and stateMarkdown files in foldersWorkspace files and Gateway sessionsMEMORY.md , USER.md , SQLite search—
Git versioningAutomatic———
CronMarkdown files per agentYesYesYes
ChannelsTUI, web, TelegramCLI, TUI, web, 20+ chat apps, native appsCLI, desktop, 20+ chat appsWeb, email, CalDAV
HarnessPiPluggable (Claude, Codex, local)Own—
Installdocker compose upInstall script or npmInstall scriptdocker compose up
LicenseMITMITMITAGPL-3.0

— means not built in or not documented, as of November 2026.

¹ Non-blank source lines from each repo, without tests, generated code or dependencies. shoebox builds on Pi, which isn't counted. ² Each project's default Docker setup, with no channels or models configured, after 3 minutes idle on Docker Desktop (arm64). Memory is from docker stats, disk is the images it pulls or builds.

License

Licensed under MIT

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗