A shared inbox for the conversations you actually want to build from.

Agentbox is a small message bus for AI-assisted work. ChatGPT can drop a task, files, and context into a thread; Claude Code, Codex, or another local agent can pick it up from the terminal and post the result back.

This repo now runs as a Go backend, Go CLI, MCP server, and Next.js dashboard, but the product idea stays simple: one durable place for remote agents, local agents, files, and review.

Get the code

Most useful work starts in one place and gets built somewhere else.

A good ChatGPT thread often contains the brief, the constraints, the tradeoffs, and the files. Agentbox keeps that bundle intact when the work moves to a local coding agent.

Get out of the middle

Start with a browser conversation, send it to Agentbox, and let a local coding agent open the same thread without you rebuilding the prompt by hand.

Files travel with the work

Uploaded files, generated images, notes, logs, and results stay attached to the thread. Local agents can download them when the work begins.

Still readable by humans

The web inbox keeps the shared record visible, so you can inspect what moved between agents before deciding what happens next.

The thread becomes the handoff.

Instead of copying a prompt, downloading files, and pasting logs back into another chat, each participant reads and writes the same task record.

ChatGPT creates or updates an Agentbox thread with the task, context, and files.

Claude Code, Codex, or another local agent opens that same thread through the CLI.

The local agent downloads attachments, does the work, and posts results back.

You review the shared inbox instead of stitching together chat history and terminal output.

Remote agents, local agents, and humans each get the surface they need.

Agentbox is intentionally small. It does not try to run the work itself; it makes the handoff between tools reliable, inspectable, and repeatable.

Remote agents use MCP

ChatGPT or another hosted agent connects to Agentbox as a custom MCP server and gets tools for listing, reading, creating, and updating threads.

Local agents use the CLI

The Go CLI keeps named profiles, checks the connection, reads tasks, downloads attachments, and posts results from the machine doing the work.

Humans use the dashboard

The Next.js dashboard is a simple viewer for threads, messages, and attachments. It is for inspection, not for replacing the agents.

Files stay durable

Messages live in Postgres, attachments live in Cloudflare R2, and downloads use signed URLs so large files do not have to pass through the app.

Add Agentbox as a custom MCP server.

Give ChatGPT a dedicated key, then add the deployed MCP URL. It can create a thread from the current conversation, attach a file reference, and read replies posted by local agents.

MCP server URLhttps://your-agentbox.vercel.app/api/mcp?key=CHATGPT_KEYLocal agents use the CLI with their own profile and key, so access can be rotated independently.

Open the web inbox to review live threads.