Repository navigation
local-llm-codes-in-process - #810
Merged
Merged
Conversation
The local model's coding agent runs inside packages/core as an in-process Agent Client Protocol agent, instead of starting the external coding-agent process users would have to install. Its tools stay in the run's cwd by real path, tool calls written as text are read, the model may be named and is otherwise found, and agents can be told to ignore the system proxy. Proposal only: no code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-codes-in-process) local-llm-acp no longer starts the external coding-agent: an ACP agent in packages/core reads, writes, searches and runs commands inside the run's working directory, reads tool calls written as text, and is driven by the same AcpSessionDriver as every ACP agent (ADR 0038). - The model is optional for local-llm and local-llm-acp: the stage, the settings, then the model the server serves (/v1/models), then "default". - openspec-ui.agents.ignoreSystemProxy (OPENSPEC_UI_IGNORE_SYSTEM_PROXY): the local agents connect directly with their own undici Agent; CLI agents start without proxy variables and with NO_PROXY=*. - openspec-ui.localLlm.agent.askBeforeCommands asks before each command. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The local gate run used `--cwd .`, which npm resolves against packages/cli, so it checked nothing. Run with the absolute path it owes 6.4, the Human-only item, as CI does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…al error (local-llm-codes-in-process 6.5)
…s it (local-llm-codes-in-process 6.6)
VeryComplexAndLongName
force-pushed
the
local-llm-codes-in-process
branch
from
October 2, 2026 05:29
5dbe08f to
592f13e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements
local-llm-codes-in-process(ADR 0038, accepted).local-llm-acpis now an ACP agent insidepackages/core, run in process throughAcpSessionDriver. Nocoding-agent, no Python: nothing to install. Its tools (read, write, replace, list, search, run a command) stay inside the run'scwdby real path; commands have a time limit and an output cap; tool calls written as text (Qwen3-Coder XML, Hermes JSON) are read too.local-llmandlocal-llm-acp: stage, then settings, then the model the server serves, thendefault. The first update names the model and where it came from.openspec-ui.agents.ignoreSystemProxy/OPENSPEC_UI_IGNORE_SYSTEM_PROXY: the local agents and their availability check connect directly; CLI agents start without proxy variables and withNO_PROXY=*. Each agent'ssystemProxycapability says whether it applies.openspec-ui.localLlm.agent.askBeforeCommands: ask before each command through the protocol's permission request.Checks: typecheck, lint, test exit 0;
openspec validate --strictand the merge gate pass. Live run (task 6.3) against SGLang on the LAN, no model named, proxy ignored withHTTPS_PROXYset: 24 tool calls, 56 s, change implemented and its tests pass.Open: 6.4 is Human-only (Extension Development Host check).
🤖 Generated with Claude Code