[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112746":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":35,"discoverSource":36},112746,"actp","varops\u002Factp","varops","Agent Communication Transport Protocol (ACP over HTTP)","https:\u002F\u002Factp.sh",null,"Rust",90,5,2,0,1,25,3,47.33,"Apache License 2.0",false,"main",true,[25,26,27,28,29,30],"acp","agents","coding-agents","mcp","protocol","transport","2026-11-22 20:34:05","2026-11-23 20:24:04","# ACTP – Agent Client Transport Protocol\n\n**ACP over HTTP.** Run coding agents on one machine, use them from anywhere.\n\nACTP lets any [ACP](https:\u002F\u002Fagentclientprotocol.com) client – an app, a bot, an editor – use a coding agent such as Claude Code, Codex, Droid or Pi that runs on another machine, as if it were local. The agent keeps its own login, files and tools on its machine. The client keeps speaking plain ACP. Neither side needs to change.\n\n```\n ACP client (app, bot, editor)                       machine with the agents\n ─────────────────────────────                       ──────────────────────────────────\n spawns: actp droid@workstation                      actp server\n        │  plain ACP over stdio                         │  plain ACP over stdio\n        ▼                                               ▼\n   actp bridge  ════ HTTPS \u002F WebSocket, token ════►  Droid · Claude Code · Codex · Pi …\n```\n\n> **v0.1.0** – the first release. It works end to end, including through a Cloudflare tunnel, and has been tried with real agents. Builds are not signed yet. See [what is done and what is not](docs\u002Fdesign.md#12-implementation-status).\n\n## Why\n\n- **Distributed agents** – keep agents on a strong workstation while your app runs on a small VPS.\n- **Personal agents** – connect an assistant running on your Mac to a family or business space.\n- **Your own machines** – use the computers you already have, with the logins you already have.\n- **Any ACP client** – nothing to add to the client: it starts `actp` instead of a local agent.\n\n## What you get\n\n- **Plain ACP on both ends.** Clients and agents do not know actp is there.\n- **Connections that survive drops.** A closed lid or a Wi-Fi change does not stop the agent. The bridge reconnects and catches up without losing or repeating a message.\n- **Tokens per client**, limited to the agents and folders you choose, and revocable at any time.\n- **Safe defaults.** Agents only start in folders you allow. Files, terminals and local MCP servers stay on the agent's machine.\n- **A menu bar app** for macOS (and tray builds for Linux and Windows) with a dashboard, so you do not need to edit config files.\n- **Built-in Cloudflare tunnel** for machines without a public address.\n- **A Docker image** for servers: deploy it, pick your agents, and connect.\n- **Agent installer** in the dashboard (needs Node.js and npm), so adding Claude Code or Codex is one click.\n\n![The actp dashboard: agents, folders, client tokens and open connections](docs\u002Fimages\u002Fdashboard.png)\n\nv0.1.0 is built for chat-style clients: apps, bots and assistants that talk to an agent and show what it does. The files live on the agent's machine, so clients that edit files themselves (IDE-style) are not a target yet.\n\n## Install\n\nDownload a build from the [releases page](https:\u002F\u002Fgithub.com\u002Fvarops\u002Factp\u002Freleases):\n\n| File | For |\n| --- | --- |\n| `actp_\u003Cversion>_macos.zip` | macOS menu bar app (`actp.app`), Apple Silicon and Intel. |\n| `actp-desktop_\u003Cversion>_\u003Cos>_\u003Carch>` | Linux and Windows builds with the tray icon. |\n| `actp_\u003Cversion>_\u003Cos>_\u003Carch>` | The command line only, for servers and scripts. |\n\nmacOS builds are not signed yet. The first time, right-click `actp.app` and choose **Open**.\n\nOr build from source with Go 1.26+:\n\n```bash\ngo install github.com\u002Fvarops\u002Factp\u002Fcmd\u002Factp@latest\n```\n\nOn a Mac, `packaging\u002Fmacos\u002Fbuild-app.sh` builds `dist\u002Factp.app`.\n\n## Run it in Docker\n\nThe image `ghcr.io\u002Fvarops\u002Factp` has actp, Node.js and `cloudflared`, but no agents. Name the agents you want and pass their API keys:\n\n```bash\ndocker run -d --name actp -e ACTP_AGENTS=claude-code,codex -e ANTHROPIC_API_KEY=… -e OPENAI_API_KEY=… -v actp-data:\u002Fdata -v \"$PWD\u002Fcode:\u002Fworkspaces\" -p 127.0.0.1:7861:7861 ghcr.io\u002Fvarops\u002Factp:latest\n```\n\nThe log shows the tunnel URL and the dashboard password. The dashboard (port 7861) can install more agents and has a terminal for agent logins. See [`docs\u002Fdocker.md`](docs\u002Fdocker.md) for every setting.\n\n## Quick start with the app\n\nOn the **machine with the agents**:\n\n1. Open `actp.app`. It lives in the menu bar and opens its dashboard.\n2. In **Share agents**, pick the agents you want to share (actp lists the ones installed), the folders they may work in, and whether to use a Cloudflare tunnel. Click **Start sharing**.\n3. Under **Client tokens**, click **Create token…** for each machine or app that will connect. Copy the token; it is shown once.\n4. Copy the server URL. With a tunnel, wait until it says **reachable** (a new tunnel can take a minute).\n\nOn the **client machine**:\n\n1. Open `actp.app` and go to **Use remote agents**.\n2. Click **Install the actp command**, then **Add remote…** with a name (for example `workstation`), the URL and the token.\n3. Under that remote, copy the command for the agent you want (for example `actp droid@workstation`) and use it as the agent command in your ACP client (see below).\n\nTry it from a terminal:\n\n```bash\nactp droid@workstation -p \"Say hello and list the files here\"\n```\n\n## Quick start on the command line\n\nOn the machine with the agents, create `~\u002F.actp\u002Factp.yaml`:\n\n```yaml\nserver:\n  listen: 127.0.0.1:7860\n  tunnel:\n    mode: quick                # or off, behind your own TLS proxy\n  workspaces:\n    - name: website\n      path: ~\u002Fcode\u002Fwebsite\n  agents:\n    - id: claude\n      preset: claude-code      # needs claude-agent-acp on PATH and `claude \u002Flogin`\n    - id: droid\n      preset: droid\n```\n\n```bash\nactp token create --name laptop --default-workspace website\n```\n\n```bash\nactp doctor\n```\n\n```bash\nactp serve\n```\n\n`actp serve` prints the tunnel URL once it is up. On the client machine:\n\n```bash\necho 'actp_…' | actp remote add workstation https:\u002F\u002F….trycloudflare.com --token-stdin\n```\n\n```bash\nactp agents workstation\n```\n\n```bash\nactp claude@workstation -p \"What is in this folder?\"\n```\n\n## Use it from an ACP client\n\nUse `actp \u003Cagent>@\u003Cremote>` as the agent command. For example, in Zed's settings:\n\n```json\n\"agent_servers\": {\n  \"Droid (workstation)\": {\n    \"command\": \"\u002Fopt\u002Fhomebrew\u002Fbin\u002Factp\",\n    \"args\": [\"droid@workstation\"]\n  }\n}\n```\n\nOther clients take the same command and arguments; **Copy as JSON** in the dashboard gives you both. Use the full path to `actp`: apps started from Finder often do not see your shell's PATH.\n\nUseful bridge options:\n\n| Option | What it does |\n| --- | --- |\n| `--cwd actp:\u002F\u002Fwebsite` | Start every session in the `website` folder on the server, whatever folder the client sends. |\n| `--map \u002Flocal\u002Fpath=actp:\u002F\u002Fwebsite` | Translate one client folder to a server folder. |\n| `--token-env NAME` | Read the token from an environment variable instead of a saved remote. |\n| `-p \"text\"` | Send one prompt and print the answer – for people at a terminal, not for clients. |\n\nThe server also accepts a URL directly: `actp droid@https:\u002F\u002Fagents.example.com --token-env ACTP_TOKEN`.\n\n## How it behaves\n\n- **The network drops:** the agent keeps working. The bridge reconnects in the background and receives everything it missed. A permission prompt waits for you.\n- **The client quits:** the agent finishes its turn, then the session closes. The client can load the session again later and see what happened. To stop work, the client cancels the turn as usual.\n- **The agent asks a question nobody can answer** (the client is gone): it is cancelled at once, so the session does not hang.\n- **Folders:** a client folder means nothing on the server. Clients name a server folder as `actp:\u002F\u002F\u003Cname>`, or you map folders in the token or with `--cwd`.\n\nThe details are in [`docs\u002Fdesign.md`](docs\u002Fdesign.md), section 3.\n\n## Tunnels\n\n- **`mode: quick`** needs no account. The URL is random and **changes every time the server restarts**. Update your remotes with **Edit** in the dashboard. A new quick tunnel can take a minute to resolve.\n- **`mode: named`** with `token_env` gives a stable hostname from your Cloudflare account (a dashboard-managed tunnel token).\n- **No tunnel:** put `actp serve` behind your own TLS reverse proxy, or set `tls_cert` and `tls_key`.\n\nIf `cloudflared` is missing, the dashboard offers to install it, or run `actp tunnel install`. actp downloads a fixed version and checks a SHA-256 built into actp.\n\n## Troubleshooting\n\n| Symptom | What to check |\n| --- | --- |\n| \"no actp server answers at …\" | The URL is wrong or the quick tunnel restarted. Copy the current URL from the server's dashboard. |\n| Tunnel \"not reachable yet\" | Wait a minute. If it lasts, see `~\u002F.actp\u002Flogs\u002Fcloudflared.log`. |\n| \"no such host\" after a while | Your computer cached \"not found\": `sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder` on macOS. |\n| An agent shows `auth_required` | Log that agent in on the server machine (for example `claude \u002Flogin`). |\n| Something else | `~\u002F.actp\u002Flogs\u002Factp.log` (the app) and `actp doctor`. |\n\nA quick check that a server answers:\n\n```bash\ncurl https:\u002F\u002Fyour-server\u002Fhealth\n```\n\nIt should print `{\"ok\":true}`.\n\n## Security\n\n- **A client token is close to a shell.** Whoever holds it can make the agents do anything your user can do on that machine. Folders limit where agents start, not what they can do. Only give tokens to clients you trust, and revoke them when you are done.\n- Every request needs a token, including from the same machine: a tunnel makes outside traffic look local.\n- Tokens are stored as hashes on the server and in the OS keychain on clients. They never go on a command line.\n- On a desktop, the dashboard only listens on `127.0.0.1` and only opens through a one-time link. In Docker it asks for a password instead.\n- The dashboard terminal is a shell on the agent machine. It is off on desktops unless you set `dashboard: {terminal: true}` in the config.\n\n## Commands\n\n```\nactp serve [--dashboard]                     run the server\nactp tray                                    server, dashboard and menu bar icon\nactp \u003Cagent>@\u003Cserver> [options]              the bridge an ACP client spawns\nactp \u003Cagent>@\u003Cserver> -p \"text\"              one prompt from a terminal\nactp token create|list|revoke                client tokens on a server\nactp token generate                          a new token for ACTP_TOKEN (not saved)\nactp remote add|list|remove                  saved servers on a client\nactp agents \u003Cserver>                         what a server offers\nactp tunnel install                          download cloudflared\nactp doctor                                  check the config and the agents\nactp container                               run in the Docker image\nactp version\n```\n\n## Documents\n\n- [`docs\u002Fdesign.md`](docs\u002Fdesign.md) – public API, configuration, behaviour, and what is done.\n- [`docs\u002Fagents.md`](docs\u002Fagents.md) – supported agents, how to start them, and their quirks.\n- [`docs\u002Fdocker.md`](docs\u002Fdocker.md) – the Docker image and its settings.\n- [`api\u002Fopenapi.yaml`](api\u002Fopenapi.yaml) – the HTTP API.\n- [`docs\u002Fnative-clients.md`](docs\u002Fnative-clients.md) – how to make an ACP client talk to actp directly, without the bridge.\n- [`docs\u002Fwire.md`](docs\u002Fwire.md) – the `actp.v1` wire format between bridges (or native clients) and servers.\n- [`docs\u002Fbrainstorm.md`](docs\u002Fbrainstorm.md) – early notes and decisions.\n\n## Development\n\n```bash\ngo test -race .\u002F...\n```\n\n```bash\ngo generate .\u002Fapi\u002F\n```\n\nThe second command regenerates the HTTP code after a change to `api\u002Fopenapi.yaml`. CI runs the tests on Linux, macOS and Windows and builds `actp.app` on a Mac. Pushing a `v*` tag builds every platform into a draft GitHub release.\n\n## Contributing\n\nBug reports, fixes and new agent presets are welcome: see [CONTRIBUTING.md](CONTRIBUTING.md). Please report security problems privately, as described in [SECURITY.md](.github\u002FSECURITY.md).\n\n## License\n\n[Apache 2.0](LICENSE).\n","ACTP（Agent Communication Transport Protocol）是一个基于HTTP\u002FHTTPS和WebSocket的代理通信协议实现，用于在不同机器间透明地桥接ACP（Agent Client Protocol）客户端与编码类AI代理（如Claude Code、Droid等）。其核心功能包括：零修改接入现有ACP客户端与代理、断线自动重连与消息去重、基于文件夹和代理粒度的Token权限控制、内置Cloudflare隧道支持内网穿透，以及跨平台桌面管理界面。项目采用Rust编写，强调安全性与可靠性，默认将文件、终端等敏感资源保留在代理所在本地机器。适用于分布式开发场景，例如在高性能工作站运行AI代理，同时由轻量级VPS或个人设备上的客户端远程调用。","2026-11-24 04:44:01","CREATED_QUERY"]