docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
< div align = "center" >
2026-03-19 15:55:33 +07:00
# OpenACP
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
**Self-hosted bridge between messaging platforms and AI coding agents**
2026-03-19 15:55:33 +07:00
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
One message, any channel, any agent.
2026-03-19 15:55:33 +07:00
2026-03-22 16:01:55 +07:00
[](LICENSE)
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
[](https://nodejs.org/)
[](https://agentclientprotocol.org/)
2026-03-22 17:24:02 +07:00
[](https://www.npmjs.com/package/@openacp/cli )
2026-03-22 21:53:18 +07:00
[](https://x.com/Open_ACP)
2026-03-19 15:55:33 +07:00
2026-03-23 17:54:54 +07:00
[Getting Started ](docs/guide/getting-started.md ) | [Agents ](docs/guide/agents.md ) | [Usage ](docs/guide/usage.md ) | [Configuration ](docs/guide/configuration.md ) | [Plugins ](docs/guide/plugins.md ) | [Development ](docs/guide/development.md )
2026-03-19 15:55:33 +07:00
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
< / div >
2026-03-19 15:55:33 +07:00
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
---
2026-03-19 15:55:33 +07:00
2026-03-21 23:05:32 +07:00
## What is OpenACP?
2026-03-19 15:55:33 +07:00
2026-03-23 14:19:38 +07:00
OpenACP lets you control AI coding agents (Claude Code, Codex, ...) from messaging apps like Telegram and Discord. You send a message, the agent writes code, runs commands, and streams everything back — in real time.
2026-03-19 15:55:33 +07:00
2026-03-21 23:05:32 +07:00
It uses the [Agent Client Protocol (ACP) ](https://agentclientprotocol.org/ ) to talk to agents. You host it on your own machine, so you own the data.
2026-03-19 15:55:33 +07:00
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
```
You (Telegram / Discord / ...)
↓
OpenACP ─── ChannelAdapter ─── Session Manager ─── Session Store
↓ ↓
ACP Protocol (JSON-RPC / stdio) Tunnel Service
↓ ↓
2026-03-21 23:05:32 +07:00
AI Agent (Claude Code, Codex, ...) File/Diff Viewer
2026-03-19 15:55:33 +07:00
```
2026-03-22 17:01:46 +07:00
## Screenshots
< div align = "center" >
< table >
< tr >
< td align = "center" > < img src = "docs/images/menu.png" width = "250" / > < br / > < b > Control Panel< / b > < br / > Manage sessions, agents, and settings< / td >
< td align = "center" > < img src = "docs/images/agent-working.png" width = "250" / > < br / > < b > Agent at Work< / b > < br / > Plans, reads files, writes code< / td >
< / tr >
< tr >
< td align = "center" > < img src = "docs/images/tool-calls.png" width = "250" / > < br / > < b > Real-time Tool Calls< / b > < br / > See every action the agent takes< / td >
< td align = "center" > < img src = "docs/images/skills.png" width = "250" / > < br / > < b > Agent Skills< / b > < br / > Brainstorming, TDD, debugging & more< / td >
< / tr >
< / table >
< / div >
2026-03-22 21:53:18 +07:00
## Supported Agents
OpenACP follows the [Agent Client Protocol (ACP) ](https://agentclientprotocol.com/ ) standard — an open protocol for connecting AI coding agents to client applications. Agent definitions are loaded from the [official ACP Registry ](https://agentclientprotocol.com/get-started/registry ) via CDN ([`registry.json` ](https://cdn.agentclientprotocol.com/registry/v1/latest/registry.json )), so new agents are available as soon as they're registered.
| Agent | Distribution | Description |
|-------|-------------|-------------|
| [Claude Agent ](https://github.com/anthropics/claude-code ) | npx | Anthropic's Claude coding agent |
| [Gemini CLI ](https://github.com/google-gemini/gemini-cli ) | npx | Google's official CLI for Gemini |
| [Codex CLI ](https://github.com/openai/codex ) | npx | OpenAI's coding assistant |
| [GitHub Copilot ](https://github.com/github/copilot-cli ) | npx | GitHub's AI pair programmer |
| [Cursor ](https://www.cursor.com/ ) | binary | Cursor's coding agent |
| [Cline ](https://github.com/cline/cline ) | npx | Autonomous coding agent with file editing, commands, and browser |
| [goose ](https://github.com/block/goose ) | binary | Open source AI agent for engineering tasks |
| [Amp ](https://github.com/tao12345666333/amp-acp ) | binary | The frontier coding agent |
| [Auggie CLI ](https://www.augmentcode.com/ ) | npx | Augment Code's agent with industry-leading context engine |
| [Junie ](https://www.jetbrains.com/ ) | binary | AI coding agent by JetBrains |
| [Kilo ](https://github.com/kilocode/kilo ) | npx | The open source coding agent |
| [Qwen Code ](https://github.com/QwenLM/qwen-code ) | npx | Alibaba's Qwen coding assistant |
| [crow-cli ](https://github.com/crowdecode/crow-cli ) | uvx | Minimal ACP native coding agent |
| ...and more | | [See full registry → ](https://agentclientprotocol.com/get-started/registry ) |
> **28+ agents supported** — any agent registered in the ACP Registry works out of the box. Install with `openacp agents install <name>` or browse from Telegram with `/agents`.
2026-03-21 23:05:32 +07:00
## Features
2026-03-19 15:55:33 +07:00
2026-03-22 21:53:18 +07:00
- **Multi-agent** — Claude Code, Codex, Gemini, Cursor, and [28+ ACP-compatible agents ](#supported-agents )
2026-03-21 23:05:32 +07:00
- **Telegram** — Forum topics, real-time streaming, permission buttons, skill commands
2026-03-23 14:19:38 +07:00
- **Discord** — Forum/thread-based sessions, slash commands, button interactions
2026-03-21 23:05:32 +07:00
- **Session persistence** — Resume sessions across restarts
2026-03-23 09:34:42 +07:00
- **Daemon mode** — Background service with auto-start on boot
2026-03-23 14:53:16 +07:00
- **CLI API** — Create and manage sessions from the terminal
2026-03-23 09:34:42 +07:00
- **Config editor** — Interactive `openacp config` for all settings
- **Setup wizard** — Interactive first-run setup with bot validation and auto-detect
2026-03-21 23:05:32 +07:00
- **Plugin system** — Install channel adapters as npm packages
- **Structured logging** — Pino with rotation, per-session log files
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
- **Self-hosted** — Your keys, your data, your machine
2026-03-19 15:55:33 +07:00
2026-03-23 17:54:54 +07:00
### [Tunnel & Port Forwarding](docs/guide/tunnel.md)
Expose any local port to the internet — dev servers, APIs, static sites. Tunnel is enabled by default with Cloudflare (free, no account needed).
- `/tunnel 3000 my-app` in Telegram or `openacp tunnel add 3000 --label my-app` from CLI
- `/tunnels` to list active tunnels with public URLs and stop buttons
- Agents can create tunnels too — say "expose port 5173" and the agent handles it
- Built-in file/diff viewer — Monaco Editor (VS Code engine) with syntax highlighting, line range links, markdown preview
- Providers: Cloudflare (default), ngrok, bore, Tailscale Funnel
2026-03-21 23:05:32 +07:00
## Setup
### Prerequisites
- **Node.js 20+**
2026-03-23 14:19:38 +07:00
- **A messaging platform** — Telegram, Discord, or both:
- **Telegram**: Create a bot via [@BotFather ](https://t.me/BotFather ), create a supergroup with Topics enabled, add bot as admin
- **Discord**: Create a bot at [Discord Developer Portal ](https://discord.com/developers/applications ), invite it to your server with Manage Channels + Send Messages permissions
2026-03-21 23:05:32 +07:00
### Install & first run
2026-03-19 15:55:33 +07:00
```bash
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
npm install -g @openacp/cli
2026-03-19 17:29:37 +07:00
openacp
```
2026-03-21 23:05:32 +07:00
> **Important: `openacp` is an interactive CLI.**
2026-03-23 14:19:38 +07:00
> The first run launches a setup wizard that asks you questions in the terminal (bot token, server selection, workspace path, etc.).
2026-03-21 23:05:32 +07:00
> You **must run it yourself in a terminal** — it cannot be run by a script or an AI agent because it requires interactive input.
2026-03-19 15:55:33 +07:00
2026-03-21 23:05:32 +07:00
The wizard will:
2026-03-23 14:19:38 +07:00
1. **Choose your channel(s)** — Telegram, Discord, or both
2. **Configure bot credentials** — bot token and server/group ID, validated against the platform API
2026-03-21 23:05:32 +07:00
3. **Set a workspace directory** — where agents will create project folders (default: `~/openacp-workspace` )
4. **Detect installed agents** — finds Claude Code, Codex, etc.
5. **Choose run mode** — foreground (in terminal) or background (daemon with auto-start)
Config is saved to `~/.openacp/config.json` . After setup, OpenACP starts automatically.
### Running after setup
2026-03-20 17:13:48 +07:00
```bash
2026-03-21 23:05:32 +07:00
# Foreground (shows logs in terminal)
openacp
2026-03-20 17:13:48 +07:00
2026-03-21 23:05:32 +07:00
# Or as a background daemon
openacp start
openacp stop
openacp status
openacp logs
```
2026-03-20 17:13:48 +07:00
2026-03-21 23:05:32 +07:00
### Other CLI commands
2026-03-20 17:13:48 +07:00
```bash
2026-03-22 21:53:18 +07:00
# Agent management
openacp agents # List all agents (installed + available)
openacp agents install < name > # Install an agent from the ACP Registry
openacp agents uninstall < name > # Remove an installed agent
openacp agents info < name > # Show agent details & dependencies
openacp agents refresh # Force-refresh the registry
2026-03-23 14:53:16 +07:00
# API (requires running daemon)
openacp api new [agent] [workspace] # Create a new session
openacp api cancel < id > # Cancel a session
openacp api status # Show active sessions
openacp api agents # List available agents
2026-03-23 09:34:42 +07:00
2026-03-22 21:53:18 +07:00
# System
2026-03-23 09:34:42 +07:00
openacp config # Interactive config editor
2026-03-21 23:05:32 +07:00
openacp reset # Re-run the setup wizard
openacp update # Update to latest version
openacp install < plugin > # Install a plugin (e.g. @openacp/adapter -discord)
openacp uninstall < plugin >
openacp plugins # List installed plugins
2026-03-20 17:13:48 +07:00
```
2026-03-21 23:05:32 +07:00
## Usage
2026-03-23 14:19:38 +07:00
Once OpenACP is running, control it from Telegram or Discord:
**Telegram** — Bot commands in your supergroup:
2026-03-19 15:55:33 +07:00
| Command | Description |
|---------|-------------|
| `/new [agent] [workspace]` | Create a new session |
2026-03-21 13:19:31 +07:00
| `/newchat` | New session, same agent & workspace |
2026-03-19 15:55:33 +07:00
| `/cancel` | Cancel current session |
| `/status` | Show session or system status |
2026-03-22 21:53:18 +07:00
| `/agents` | Browse & install agents from ACP Registry |
| `/install <name>` | Install an agent directly |
2026-03-19 15:55:33 +07:00
2026-03-23 14:19:38 +07:00
Each session gets its own forum topic.
**Discord** — Slash commands in your server:
| Command | Description |
|---------|-------------|
| `/new [agent] [workspace]` | Create a new session |
| `/newchat` | New session, same agent & workspace |
| `/cancel` | Cancel current session |
| `/status` | Show session or system status |
| `/menu` | Open the control panel |
Each session gets its own thread in the sessions channel. The agent streams responses in real time, shows tool calls, and asks for permission when needed.
2026-03-21 23:05:32 +07:00
2026-03-22 02:23:04 +07:00
### Session Transfer
2026-03-22 01:38:17 +07:00
2026-03-23 14:19:38 +07:00
Move sessions between your terminal and messaging platforms:
2026-03-22 01:38:17 +07:00
2026-03-23 14:19:38 +07:00
**Terminal → Chat:**
2026-03-22 01:38:17 +07:00
```bash
2026-03-22 02:23:04 +07:00
# Install integration (one-time)
2026-03-22 01:38:17 +07:00
openacp integrate claude
2026-03-22 02:23:04 +07:00
# In Claude CLI, type /openacp:handoff to transfer the current session
2026-03-22 01:38:17 +07:00
# Or manually:
openacp adopt claude < session_id > --cwd /path/to/project
```
2026-03-23 14:19:38 +07:00
**Chat → Terminal:**
Type `/handoff` in any session topic/thread. The bot replies with a command you can paste in your terminal to continue.
2026-03-22 01:38:17 +07:00
2026-03-22 02:23:04 +07:00
Sessions are not locked after transfer — you can continue from either side.
2026-03-19 15:55:33 +07:00
## Roadmap
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
- **Phase 1** — Core + Telegram + ACP agents
- **Phase 2** — Tunnel/file viewer, session persistence, logging, plugin system
2026-03-23 15:13:36 +07:00
- **Phase 3** — Agent skills as commands, Discord adapter 🚧, Web UI
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
- **Phase 4** — Voice control, file/image sharing
2026-03-19 15:55:33 +07:00
- **Phase 5** — WhatsApp, agent chaining, plugin marketplace
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
## Star History
2026-03-19 17:29:37 +07:00
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
< a href = "https://star-history.com/ #Open -ACP/OpenACP&Date" >
< picture >
< source media = "(prefers-color-scheme: dark)" srcset = "https://api.star-history.com/svg?repos=Open-ACP/OpenACP&type=Date&theme=dark" / >
< source media = "(prefers-color-scheme: light)" srcset = "https://api.star-history.com/svg?repos=Open-ACP/OpenACP&type=Date" / >
< img alt = "Star History Chart" src = "https://api.star-history.com/svg?repos=Open-ACP/OpenACP&type=Date" / >
< / picture >
< / a >
2026-03-19 17:29:37 +07:00
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
## Contributing
2026-03-19 17:29:37 +07:00
docs: refactor README into landing page + separate guide docs
README.md is now a concise landing page with badges, architecture,
highlights (linked titles), quick start, commands, roadmap, and
star history chart.
Detailed documentation moved to docs/guide/:
- getting-started.md: install, setup wizard, agent detection
- telegram-setup.md: bot setup, streaming, skill commands, topics
- usage.md: commands, sessions, workspaces, lazy resume
- configuration.md: full config reference, env vars, logging
- tunnel.md: providers, file/diff viewer, security, endpoints
- plugins.md: install/create channel adapters
- development.md: build, architecture, design decisions, paths
2026-03-20 15:35:59 +07:00
See [development guide ](docs/guide/development.md ).
2026-03-19 17:29:37 +07:00
2026-03-22 21:53:18 +07:00
## Follow Us
[](https://x.com/Open_ACP)
2026-03-19 15:55:33 +07:00
## License
2026-03-22 16:01:55 +07:00
[MIT ](LICENSE )