You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codebuff SDK is very promising, Codebuff as an Coding Agent looks insanely customizable and I like very much your systematic approach to building things. Great work!
One thing Codebuff lacks is some UI and instead of writing yet-another-web-ui for it I would like you to consider implementing Agent Client Protocol (by Zed). Which being pretty recent addition to the Vibe Condig world is pretty well established:
I use both Claude Code (not not exclusively with Antrophic's models) and Gemini CLI (due it's generous free tier) daily inside Zed. Vim and other non-VSCode editor's users can benefit from ACP support too spreading Codebuff's userbase. And I bet someone eventually will vibe-code yet-another-web-ui for ACP inself unsing Codebuff integration;)
Reacted by Atlant, Na Meng, Alberto Santini, Afif Ahmed, Toni DY, Florian Tobias Ruppert, simma101, Andrew D. Bond, micahcooley, saqula and 9 more
ACP support is now up as #1611: it serves ACP v1 over stdio (via the official @agentclientprotocol/sdk), so Zed and other ACP clients can drive the CLI as a subprocess:
freebuff --acp # suggested command# For early testing from the PR branch:
git clone git@github.com:espetro/freebuff.git
cd freebuff
git checkout feature/acp-agent
bun install
bun freebuff/cli/build.ts 0.0.0-dev
./cli/bin/freebuff --acp
# Test without building a binary:
bun run cli/src/entry.ts --acp
Two findings from prototyping this that shaped the design:
It has to live in the official binary. An external SDK wrapper driving free mode with the user's device token gets refused by the backend ("third-party client, harness or proxy", with a ban warning after repeats). So the adapter runs inside the CLI process and reuses the same run path the TUI takes; therefore, session admission, freebuff_instance_id metadata and device signing are unchanged.
Scope kept deliberately small (~20 lines outside cli/src/acp/): no ACP auth flow (the CLI's own login is auth), no session persistence across process restarts, no permission round-trips yet (follow-up: map overrideTools to session/request_permission).
heads up @jahooma@charleslien@brandonkachen ; flagging since #319 has been open a while; happy to rework the mapping or trim scope. A separate npm package is not viable for free mode because of (1), worth knowing if anyone else proposes one.
T3 Local ACP points at a feat-compiled --acp binary; UI picks Freebuff + base2-free
Live free completions still blocked: npm freebuff@0.2.36 has no --acp, and self-built binaries still get third_party_client_warning (strike 5 — no further live probes)
Ask: after reviewing #1672, please cut an official Freebuff release that includes --acp so T3/Zed Local ACP can use free mode on the allowlisted path.
Strike-safe readiness check once it ships:
bun scripts/acp-official-ready.ts --npm
bun scripts/acp-t3-e2e-when-ready.ts
1. Is --acp still planned, and will it land in an official allowlisted release? npm freebuff@0.2.38 still exposes only login, doctor, --continue, --cwd and --trust-agents. The release is what unblocks us; the PR alone doesn't.
2. If it ships, may a local ACP client like AoE drive it? Every turn would be typed by the user in AoE's composer and every approval clicked by them — no unattended turns, no automatic approvals.
We didn't build a bridge because the Free Access and Human Use terms rule out wrappers, custom clients and integrations for inference, and require a human to initiate each session and stay present; the backend refuses third-party clients with 403 third_party_client_warning and records a strike. That's the same wall @espetro hit, so the plugin stays terminal view only. It already declares provider_versions = [">=0.2.36, <1.0.0"], so an official --acp needs no change on our side — AoE just adds a freebuff --acp registry entry.
Happy to test against a dev build once it's allowlisted, and to document the constraint for users either way.
Activity
codebuff-team commentedon Aug 22, 2026
Marking this stale - there has been no activity here for 328 days. It will close in 7 days unless someone comments.
This is backlog upkeep, not a verdict on the issue. A single comment keeps it open, and anything closed this way can be reopened.
zoop-dev commentedon Aug 30, 2026
+1 for acp ;)
yukazakiri commentedon Sep 22, 2026
+1
codebuff-team commentedon Oct 21, 2026
Marking this stale - there has been no activity here for 29 days. It will close in 7 days unless someone comments.
This is backlog upkeep, not a verdict on the issue. A single comment keeps it open, and anything closed this way can be reopened.
notkainoa commentedon Oct 27, 2026
please speed i need this 🙏
Atom1cByte commentedon Oct 30, 2026
another +1 for ACP
yukazakiri commentedon Oct 30, 2026
+1
espetro commentedon Nov 2, 2026
ACP support is now up as #1611: it serves ACP v1 over stdio (via the official
@agentclientprotocol/sdk), so Zed and other ACP clients can drive the CLI as a subprocess:Two findings from prototyping this that shaped the design:
It has to live in the official binary. An external SDK wrapper driving free mode with the user's device token gets refused by the backend ("third-party client, harness or proxy", with a ban warning after repeats). So the adapter runs inside the CLI process and reuses the same run path the TUI takes; therefore, session admission,
freebuff_instance_idmetadata and device signing are unchanged.The SDK is the right transport after all. Feature request: headless/print mode + SDK support for freebuff authToken (for third-party orchestrators) #947's Option B premise (the SDK refuses the freebuff token) is not quite the blocker: the token authenticates fine at the backend the released binary actually uses (
https://www.codebuff.com); what fails is the client allowlist, which an in-tree flag satisfies.Scope kept deliberately small (~20 lines outside
cli/src/acp/): no ACP auth flow (the CLI's own login is auth), no session persistence across process restarts, no permission round-trips yet (follow-up: mapoverrideToolstosession/request_permission).heads up @jahooma @charleslien @brandonkachen ; flagging since #319 has been open a while; happy to rework the mapping or trim scope. A separate npm package is not viable for free mode because of (1), worth knowing if anyone else proposes one.
SheriffCarry commentedon Nov 12, 2026
+1
Add --acp flag: serve the Agent Client Protocol over stdio
nicholaslilly commentedon Nov 16, 2026
T3 Code / free-mode status (2026-11-16)
Following up on @weskcode’s T3 use case and @espetro’s note that
--acpmust live in the official binary (external wrappers hitthird_party_client).We opened draft #1672 (Rodrigo free-mode admission + Nic host fixes on current
main):current_mode_update/ cancel harness verified--acpbinary; UI picks Freebuff +base2-freefreebuff@0.2.36has no--acp, and self-built binaries still getthird_party_client_warning(strike 5 — no further live probes)Ask: after reviewing #1672, please cut an official Freebuff release that includes
--acpso T3/Zed Local ACP can use free mode on the allowlisted path.Strike-safe readiness check once it ships:
docs(acp): record upstream confirmation that official --acp clears al…
Add --acp flag: serve the Agent Client Protocol over stdio
docs(acp): record upstream confirmation that official --acp clears al…
athal7 commentedon Nov 29, 2026
I maintain the Agent of Empires plugin for Freebuff
(agent-of-empires/plugin-freebuf) — one more consuming-side client, after @espetro's #1611 and @nicholaslilly's #1672. Two asks, then why we ship terminal-only today.
1. Is
--acpstill planned, and will it land in an official allowlisted release? npmfreebuff@0.2.38still exposes onlylogin,doctor,--continue,--cwdand--trust-agents. The release is what unblocks us; the PR alone doesn't.2. If it ships, may a local ACP client like AoE drive it? Every turn would be typed by the user in AoE's composer and every approval clicked by them — no unattended turns, no automatic approvals.
We didn't build a bridge because the Free Access and Human Use terms rule out wrappers, custom clients and integrations for inference, and require a human to initiate each session and stay present; the backend refuses third-party clients with
403 third_party_client_warningand records a strike. That's the same wall @espetro hit, so the plugin stays terminal view only. It already declaresprovider_versions = [">=0.2.36, <1.0.0"], so an official--acpneeds no change on our side — AoE just adds afreebuff --acpregistry entry.Happy to test against a dev build once it's allowlisted, and to document the constraint for users either way.
Co-authored with DeepSeek V4.1 Flash Efficient