Doubao CLI
孟世博5installsDoubao coding agent provider for Paseo, built on the official doubao CLI
Doubao CLI provider adds ByteDance's official doubao coding agent CLI to Paseo as a provider (doubao). Conversations run inside Paseo's normal agent view with streaming responses, native session resume, dynamic model and reasoning-effort discovery, and tool call cards. This is a community plugin and is not affiliated with ByteDance or Paseo.
How it works
The plugin includes two zero-dependency transports over local stdio subprocesses on the daemon machine:
acp(default): speaks bidirectional JSON-RPC 2.0 todoubao acp serve, keeps a per-session stdio runtime that is reclaimed after 5 minutes of inactivity by default, and transparently restores bound cloud sessions viasession/load.stream-json(opt-in viaDOUBAO_PASEO_TRANSPORT=stream-json): spawns onedoubao -p - --output-format stream-jsonprocess per turn, passes the prompt over stdin, and resumes existing conversations with--resume. No CLI process stays resident while idle.
Models, per-model reasoning-effort options, and defaults are discovered dynamically from doubao model list --output-format json and cached for 5 minutes per launch environment and working directory. Existing sessions are listed through doubao --list --output-format json or ACP session/list.
Setup
- Install and sign in to the official
doubaoCLI on the Paseo daemon host sodoubao auth statusexits with code 0 (rundoubao loginif needed). - Ensure
doubaois on the daemon'sPATHor configured via the provider command override. - Requirements: Paseo
>=0.15.0and Node.js>=22on the daemon host. Tested on Linux and macOS against Doubao CLI2.38.4and Paseo0.15.0,0.17.6, and0.18.1. - Optional environment variables on the daemon tune transport and resource limits:
DOUBAO_PASEO_TRANSPORT(acpdefault, orstream-json),DOUBAO_PASEO_MAX_TURNS(default4),DOUBAO_PASEO_MAX_TURN_MS(default1800000),DOUBAO_PASEO_STALL_MS(default600000),DOUBAO_PASEO_IDLE_MS(ACP only, default300000),DOUBAO_PASEO_MAX_TEXT_BYTES(default4194304),DOUBAO_PASEO_MAX_STDERR_BYTES(default65536),DOUBAO_PASEO_MAX_PROMPT_BYTES(default1048576),DOUBAO_PASEO_MIN_FREE_DISK_MB(default512), andDOUBAO_PASEO_SUPPRESS_NOTICES=1. - The plugin does not download or install external software at runtime.
Capabilities
- Streaming assistant text with coalesced timeline updates and tool cards (
shell,read,write,edit,search,fetch,think,switch_mode). - Cross-transport native session resume: both transports read each other's persisted Doubao session ID when the cloud session is still available.
- Default ACP mode supports interactive tool approval prompts (
session/request_permission), structured user questions (elicitation/create), image attachments materialized as session-private temporary files (0700/0600) for Doubao's native Read tool, workspace-confinedfs/read_text_filecallbacks (up to 64 KiB cumulativeresource_linkbudget per turn), reasoning streams, plan/todo updates, slash commands and cloud skills, first-turnsystemPromptdelivery,stdioMCP server forwarding, and opt-in history replay. - Resource guards enforce concurrency limits, turn and stall watchdogs, UTF-8-safe output/stderr truncation, free-disk checks before turns, and POSIX process-group teardown with orphan cleanup.
Data access, permissions, and limitations
- The plugin runs
doubaoas the daemon's operating system user with the daemon environment and adds no sandbox of its own. Prompts, selected workspace file excerpts, image attachments, and tool execution outputs are passed to the localdoubaoCLI, which transmits them to Doubao's cloud service according to your Doubao account configuration. The plugin makes no direct network requests of its own. - In default ACP mode, tool approval requests are routed interactively to the Paseo UI. If you explicitly opt into headless
stream-jsonmode (DOUBAO_PASEO_TRANSPORT=stream-json), Paseo cannot intercept interactive tool approvals: workspace actions run without confirmation while server-gated approvals are automatically denied by the CLI. Run the daemon or workspace inside a container or dedicated user if isolation is required. - Upstream Doubao CLI
2.38.4boundaries over ACP: output blocks are text-only (generated images and files arrive as links or paths),autopermission mode is not exposed, HTTP/SSE MCP servers are filtered out (onlystdiois supported), andusage_update, mid-turn steering,session/revert, andsession/archiveare not implemented upstream. - See the repository README for local development and manual setup instructions.
Related plugins
Browse all plugins →Zerosub
@kapybara-org
ZeroSub: use several Claude and ChatGPT (Codex) subscriptions side by side in Paseo. Add accounts in-app, pick one per agent, and switch automatically when an account hits its limit.
Better Paseo Antigravity
@robbin
Stability-first Antigravity CLI (agy acp) provider and plan-quota usage source: official agy -p /usage quota reporting (on by default with a plugin settings toggle), optional SSE stall auto-recovery and Paseo MCP lazy proxy (both off by default), background-task protection, reliable cleanup, history replay and diagnostics.
Switch provider
@anh-chu
Continue an agent session on another provider and model, compacting large histories with links to a saved transcript.
DeepSeek Harness
@geoqiao
DeepSeek Harness through its official ACP profile for Paseo 0.11 and later.
OMP
@omercnet
Paseo integration for OMP, including its direct provider and workspace tooling.
Account Switcher
@dutchakdev
Use several Claude and ChatGPT/Codex subscription accounts in Paseo: choose one per agent, switch a chat to another account, and see every account's limits

