English · 简体中文
- The kernel verifies the conversation it is about to send, and refuses tool plans that cannot fit even their minimum replies. Already issued tools can still return results.
- Anthropic Messages, OpenAI Responses and Gemini can resume caller-tool runs across verified permission changes. Workers retain the original signed or opaque history and confirmed tool returns. An unsupported change interrupts the run instead of repeating a tool.
- Large native responses are checked before saving or replaying them. Gemini stops retaining parts that cannot fit; Anthropic citations keep their original order without copying earlier citations on each update.
- Responses finishes at the validated terminal event without waiting for the socket to close. A missing text suffix is delivered once, and token-limit truncation never turns partial function arguments into a tool call.
- Chat Completions isolates the primary choice and matches parallel tool fragments by slot. Token truncation retains reported text and usage; losing an optional usage trailer leaves the count unknown rather than repeating the request.
- Windows rechecks an inconclusive key-file permission observation without issuing another key or relaxing file protection. The desktop UI and bundled EverythingACP 0.4.0 are unchanged; the separately versioned MCPB is not replaced.
-
The kernel rejects tool replies that cannot fit the model conversation before saving the batch. Completed steps keep their records. An oversized normalized result is no longer retried as plain text, and a failed batch never appends only some replies.
-
OAA-Lang supports bounded array indexing and field selection. Collection scans, independent reference copies, template expansion and
json()are limited; aforeachvalidates all selected arguments before its first tool dispatch. -
Workspace attachments and worker reconnects now verify availability before reuse. Large event replays, retention and accounting recovery operate in bounded batches, keeping unrelated requests responsive.
-
This desktop and gateway release includes the bundled EverythingACP 0.4.0 conversion core, explicit ACP model restoration and scoped, version-pinned skill resources. The separately versioned MCPB preview is not replaced.
-
Cancellation retains valid usage from the matching ACP prompt response received within the existing grace period, without treating the interrupted run as successful.
-
The stdio MCP bridge supports both the legacy initialization handshake and
2026-07-28discovery, without changing gateway credential scopes. -
Interrupted planning turns on generic adapters and their delegated steps now require reconciliation when effects are unconfirmed. Confirmed planning results are still reused.
-
A2A task receipts can be recorded sooner after brief SQLite write contention without changing writer order or acknowledging an uncommitted receipt.
-
A saved A2A task receipt remains usable for readback after a local output write failure. A task already known to be terminal is not cancelled again.
-
A2A requires replies to match the current JSON-RPC request and task. An error without a confirmed outcome leaves the run interrupted, rather than assuming that the peer did not act.
-
Owners can check an acknowledged A2A task on its original worker and peer after a gateway restart. The lookup never resends the message or changes the interrupted run.
-
ACP cancels ambiguous permission choices instead of selecting the first option. A2A can check an acknowledged new task once after early stream completion without re-sending the message.
-
Profile writers now report which protection or revision check stopped an edit. Windows staging verifies the actual permissions after an unconfirmed ACL update before retrying; it still refuses to publish from an unprotected temporary path.
-
Verifying a known caller key fetches just the selected model rather than downloading the catalog. Gateways without a model-detail endpoint still use the list. Individual model lookups no longer expand the aliases of unrelated agents.
-
Quickstart and connect no longer issue caller keys just because a check timed out or the gateway returned a temporary error. Quickstart preserves a restricted key and installs a confirmed replacement for a rejected one without deleting the original first.
-
After an interrupted first setup,
oaa initcan finish with the original private owner key. It refuses unsafe or incomplete keys and never overwrites an existing configuration or issues a replacement key for it. -
Desktop startup, quickstart, model connection and local backend configuration now stage edits before replacing the profile. A failed write keeps the previous configuration; competing OAA writers reject stale edits rather than silently overwriting them.
- On macOS and Linux, discovering agents checks executable paths without opening the binaries. An agent installed on a removable volume no longer holds up startup while the OS requests access to its contents.
- The ACP worker waits for accepted text and progress callbacks before reporting success. A slow or failed delivery is no longer hidden by an earlier
end_turn; cancellation does not resend the prompt. - Embed EverythingACP 0.4.0: generated wrappers now carry a package record, managed launches verify recorded assets as well as the recipe, and
oaa acpexposes the bundled upstream CLI. Existing unrecorded recipe-pinned wrappers keep working. The desktop and console interface are unchanged. - Opening an approval and parking or yielding a run now verify their own committed records. A lost SQLite acknowledgement no longer fails an already approved run, publishes a phantom request, or repeats a tool. A native caller's pending step and request are registered together.
- Caller-tool continuations now commit a result batch, its audits, delivery cursor and tool option together. Losing the SQLite acknowledgement no longer strands the last batch; rejected or replayed returns cannot change an existing run's tool choice.
- Manual approvals and denials now confirm both the decision and its audit event before notifying waiters. Losing a SQLite acknowledgement no longer strands an already approved run or prompts the operator to vote again. Waiting for the writer does not block unrelated requests.
- An approved tool no longer stalls until timeout if SQLite commits its return to the queue but loses the acknowledgement. The gateway confirms the original wake before running the tool, without requesting approval again.
- Queued and readmitted runs now confirm the stored start event before dispatch. Waiting for SQLite no longer blocks the gateway or prevents cancelling an attached start.
- Bundle the EverythingACP 0.3.1 conversion core. Generate ACP wrappers for non-ACP commands and mapped APIs with
oaa wrap, then use the existing gateway and worker to control them. Managed descriptors pin the recipe, preserve machine input, and require explicit registration and enablement. - Streamed output, tool dispatch and model-turn checkpoints now wait for SQLite without blocking the gateway. Lost commit acknowledgements are checked against durable records before execution advances; local write retries do not call the producer again.
- Added community Codex and Kiro configurations, an AG2 external-approval example, and a plain-text documentation index. The console and desktop retain their existing interface.
- Added a separately installable DeepSeek Harness tool bundle for discovering published agents, delegating tasks, and reading run results. Delegation is off by default; approvals stay with the gateway operator.
- Native Two-Layer Harness & Protocol Compatibility: Bridge caller tools via
oaa-caller(oaa mcp-relay) for built-inclaudeandcodexnative engines (including CodexmcpServer/elicitation/requestauto-allowance for declared caller tools), add token-level partial streaming for Claude and cooperativeturn/interruptcancellation for Codex, and unlock tool-free reasoning (toolsDisabled) across Codex and ACP adapters. Push native JSON Schema structured output andtool_choice(none,auto,required, named function) to OpenAI Chat/Responses, Anthropic and Gemini model drivers (with streaming passthrough on strict nativerepairs === 0), and enforce forcedtool_choicevia bounded correction turns (422 tool_choice_unmet) for bridged external agents. - Universal Orchestration, Handoff & Tool-Calling Eval: Allow auto-orchestration (
@fast,@best,@eco,recommend) across all tool-free-capable engines or via an explicitorchestration.planner; support multi-agent helper pipelines underscope: "helpers"; enrichhandoffcontext with structured step summaries and artifact references; and add a fifth deterministictool_callingevaluation dimension. - Console Workbench & Dual-Channel Local Connections: Add the interactive
#workbenchconsole view (multi-turn continuation viaprevious_response_id, image upload/paste, streaming progress, inline owner approval and simulated caller-tool bridge replay, and four-protocol SDK/curl export) alongside full Webhooks CRUD UI. Extend Local Connections beyond DSH toopencodeandcodexAPI configuration and one-clickclaude-desktop,cursor,windsurfandclaude-codeMCP injection using0600private key files. - Persistent Workstation: Add SQLite FTS5 full-text memory search (
GET /v1/projects/:id/memory/search,memory_search, BM25 recall snapshots), timezone-aware Cron and SHA-256-authenticated inbound Webhook workflow triggers, and streaming artifact storage/downloads raising the export ceiling from 8 MiB to 64 MiB default (configurable up to 256 MiB). - Unified Electron Desktop, Security & Observability: Consolidate the macOS
hiddenInsetchrome, Dock/tray approval badges and orphan-gateway attachment into the sandboxed cross-platform Electron shell with a sandboxed tray quick-approval panel and launch-at-login; add a per-subjectworker_threadssrtsandbox pool; persist developer-portal rate limits in SQLite with an optional verification webhook hook; and add PrometheusGET /metrics, W3Ctraceparent/tracestatepropagation, remoteconversion-profiles-v1adapter profile sync, and safe node enrollment UI.
Real-agent acceptance covered Antigravity 1.5.10, Codex 0.167.0 (streaming, usage, turn/interrupt, tool-free recommend; S8 bridge live re-test blocked by upstream Codex usage quota reset until Nov 21, while elicitation parsing/payload logic is covered by unit/integration tests) and Claude Code 2.1.318 (auth-required failure path). Cross-platform Electron installers still require physical-device acceptance.
- Discover Ollama, LM Studio, llama.cpp, Jan, GPT4All, LocalAI and vLLM as local model runtimes. Add model-list checks and a dialog that publishes selected models as persistent OAA agents without changing the runtime's own settings.
- Add fixed and measured model routing, bounded model evaluations, task feedback, and local EverythingACP descriptor import.
- Add project-scoped memory, recoverable tasks, reusable visual workflows with manual, scheduled and event triggers, and media jobs with artifact previews.
- Add a sandboxed cross-platform Electron shell while retaining the macOS native shell and the current desktop appearance and navigation.
Local model-list checks do not prove inference capability. Ollama and llama.cpp have live smoke coverage; LM Studio installation downloads did not complete in the verification environment. Cross-platform packages still require platform-specific device acceptance.
- Discover local native/ACP clients, configured entry points, macOS application bundles and selected editor extensions without executing agents or reading credentials. Separate installation evidence from receiver compatibility.
- Replace the inline local-connection form with searchable client cards and a configuration dialog, including review-before-write, preserved drafts, scoped-key confirmation and keyboard focus restoration.
- Expose manual API setup for supported custom-provider clients alongside the existing managed DSH adapter; do not imply that every detected client supports automatic configuration.
- Add Usage & Quotas using OAA's existing design system, separating gateway token accounting, local key allowances, upstream quota snapshots and local token history.
- Integrate CodexBar quota/cache JSON and ccusage offline daily JSON as optional collectors, with MIT notices and source attribution. No third-party UI is embedded.
- Deduplicate settled delegated usage, preserve unknown/partial counts, distinguish synthetic quota placeholders from measured zero, and age quota, budget and balance observations independently.
- Protect local account monitoring with owner-only loopback access, explicit collection consent, revision checks, bounded processes, and sanitized aggregate output. Local-history scans remain disabled by default.
- Discover native/ACP model catalogs instead of fixed model lists, with explicit discovery errors, bounded catalogs and stable route identities.
- Add publication access policies, per-key connection defaults, durable bounded orchestration and private project-workspace bindings. Unsupported tool-isolation modes are refused rather than silently downgraded.
- Add Local Connections for DSH: detected-client and connection cards, scoped keys, model synchronization, metadata-only checks, conflict-aware removal and crash recovery. Existing providers and the separate API-key workflow remain unchanged.
- Harden Codex/Antigravity protocol handling and update agent/model brand assets.
- Fix type-alias default semantics, bound compiler expansions, handle prototype-named orchestration stages, and preserve client-configuration annotations. Special configuration files cannot block file inspection.
- Refresh vulnerable dependency resolutions while preserving the sandbox runtime's supported Zod v3 API. Add
--no-installfor staging local desktop packages before installation.
Native client-only isolation and enforced tool-free planning are not available for every external engine. Catalog discovery and connection checks do not prove generation entitlement. See the capability documentation for each engine's limits.
This version makes the gateway installable in more places and checks it against more clients, and it lets a request carry more than text. It installs on Linux (a tar.gz with its own Node.js, and install.sh), in Docker and from an npm tarball, runs on Node 24 and 26, and its full test suite passes on Windows in CI. A compatibility lab runs the official Python and Node SDKs and several frameworks against the gateway and replays the requests of a dozen chat clients, and the gateway was changed wherever that found an incompatibility. Callers can send images and ask for JSON that is guaranteed to fit a schema, run events can be pushed to your own endpoint, and approvals can be handled from the command line. A security review led to a set of fixes. One command (oaa connect <preset>) now gives the built-in agent a model from a local service or a hosted provider, and a long soak run found and fixed memory and database growth, with a way to prune old data. Several defaults changed on purpose; they are listed under "Behavior changes", with how to get the old behavior back where there is a way. What has not been verified is listed under "Not yet verified".
File names, commands and settings below are those of the repository; the documents they refer to are under docs/.
- Caller tools default to
auto. A request that carriestoolsand chooses no mode used to be handled asmanagedon the compatibility endpoints, Claude Messages and Gemini (the agent finishes with its own tools, and the response saysX-OAA-Client-Tools: ignored), and was refused with 400unsupported_parameteron OpenAI's default endpoints (/v1/chat/completions,/v1/responses). Now the default isauto: when the agent can take the tools over (a built-in kernel agent, or an ACP agent whose execution machine declaredclient-tools-v1), they are bridged. The agent's calls come back astool_calls(or the equivalent in the protocol), the caller runs them, and the same task continues; the response carriesX-OAA-Client-Tools: bridge. Every other agent (Codex, Claude Code, Antigravity, A2A, HTTP adapters) behaves exactly as before on every entry. To get the old handling for all agents, sendX-OAA-Client-Tools: managed, or setclientTools.defaulttomanaged. One difference remains: withmanagedas the default, OpenAI's default endpoints ignore the tools instead of refusing them, as only/v1/compatdid before. A forcedtool_choiceis never bridged. - A requested JSON format is now enforced.
response_format(json_object,json_schema), Responsestext.format, GeminiresponseMimeTypewithresponseSchema, and Claudeoutput_config.formatused to be refused on OpenAI's default endpoints, or passed to the agent as a wish that was never checked. Now a successful response is JSON that parses and fits the schema. A wrong answer is sent back to the agent for correction up tostructuredOutput.maxRepairstimes (0 to 3, default 1), and then the run fails withstructured_output_invalid(422). Streams are held until the answer has been checked and then sent in one piece. There is no switch for the old pass-through: stop sending the format, or setstructuredOutput.maxRepairsto0to fail at the first wrong answer. - Parameters that only influence sampling no longer fail on OpenAI's default endpoints.
top_k,min_p,repeat_penalty,logit_bias, astoplist of any length and similar vendor knobs are accepted and ignored, and the names that were ignored are listed in the response headerX-OAA-Ignored-Params. Parameters that change what the gateway has to do (a forcedtool_choice,logprobs: true,nabove 1, unknown fields) are still refused. - Responses and Gemini streams now carry run progress. A streaming call on
/v1/responsesor the Gemini entry used to contain only the answer. It now also carries one short line per phase of the run (queued, started, a tool called, waiting for an approval, a correction round and so on), in the protocol's own thinking shape: areasoningoutput item (placed first, so lateroutput_indexvalues are one higher) on Responses, parts marked"thought": trueon Gemini. The answer text, the non-streaming responses and the usage counts are unchanged, and a client that ignores thinking sees the same answer. Chat Completions and Claude Messages stay as they were (off). To turn it off for one request, sendX-OAA-Progress: off(ormetadata: {"oaa.progress": "off"}); to turn it off for the gateway, setstreamProgress.responsesandstreamProgress.geminito"off"; to turn it on for Chat or Claude, setstreamProgress.chatorstreamProgress.claudeto"reasoning". Code that readsresponse.output[0]of a streamedresponse.completedevent gets the reasoning item; readoutput_textinstead. Seedocs/progress.md. - Images are accepted. An image part used to be refused with 400
unsupported_contenton every entry. It is now accepted for agents that can use images; an agent that cannot still refuses it before a run exists. Nothing is fetched from a remote URL unlessimages.fetchRemoteis turned on. - Developer-platform billing no longer overdraws. The per-task price is now held when a task starts and released if the task does not complete. Before, it was taken at the end, so concurrent calls could all pass the balance check and push the balance below zero. The per-token part of a charge now stops at a zero balance instead of taking it negative. A balance that was already negative is not pushed further down. There is no switch for the old behavior.
- A per-token price is refused for an agent that reports no token usage (
usage_pricing_unsupported, 400): such an agent can only be priced per task. A listing saved earlier keeps its price. - Agent-limited admin keys are bounded. An
adminkey limited to some agents can no longer revoke or change the quota of keys outside its agents, or of itself. When it has a quota, it cannot create or change a key above that quota (quota_exceeds_own, 403). To manage those keys, use an owner-wide admin key. - In a bridged ACP turn, fewer permission requests are approved automatically. A request is allowed without the owner only when its title names exactly a caller-supplied tool of the relay (the other words may only be filler such as "run" or "call") and the agent itself did not classify the call as running a command or changing files. A shell command whose title merely mentions the relay and a tool name now waits for owner approval.
- The unauthenticated portal forms (login, sign-up, password reset) accept request bodies of at most 64 KiB.
- Linux:
Open-Agent-API-<version>-linux-x64.tar.gzand…-linux-arm64.tar.gzbundle the official Node.js runtime and anoaalauncher (no desktop shell; glibc 2.28 or newer).install.sh(curl -fsSL …/releases/latest/download/install.sh | sh) needs no root: it verifies the download against the release'sSHA256SUMS, installs under~/.local/share/open-agent-api, links~/.local/bin/oaa, and supports--version,--prefixand--uninstall. A download that is cut short runs nothing. - Docker: a multi-stage
Dockerfile(node:24-slim, a non-root user, state in the/datavolume, a health check on/healthz) anddocker-compose.yml, which publishes the port only on the host's127.0.0.1:8787. The first start initializes the data directory and publishes the offline sample agent. Publishing a release pushesghcr.io/jiangxingfan1-coder/open-agent-apiforlinux/amd64andlinux/arm64. The container has none of the agent command lines of your host, so it fits built-in agents, ACP and A2A remote agents, and execution nodes that connect in. - npm tarball: each release carries
open-agent-api-<version>.tgz, installed withnpm install -g <URL of the file>. The package staysprivate: it is not on the npm registry. - Smaller packages: third-party source maps, tests and documentation directories, unused builds of the icon library and the sandbox programs of other platforms are left out (the macOS
.dmgwent from 123 MB to 86 MB, measured). - Node.js 24 and 26:
enginesis now>=24.18.0 <27, and CI runs the whole suite on both lines. The runtime bundled into the installers stays 24.18.0. - Release workflow:
release.ymlalso builds the two Linux packages and the npm package, stamps the version intoinstall.sh, and writes every file intoSHA256SUMS. The smoke test run on each package now imports every module, makes the first calls on three protocols against the sample agent, handles an approval through the API and throughoaa approve, checks that a secondquickstartcreates nothing, and checks thatoaa stopleaves no process behind. - Fixed:
oaastarted through a symbolic link (for example the command thatnpm install -gcreates) printed nothing; the console returned HTTP 500 for its icon library when npm had hoisted the dependency (npx, installation into a project).
- Commands are found through
PATHandPATHEXT(oaa init,quickstart,connect,doctor, ACP presets), and the full path with its extension is recorded. npm launchers (codex.cmdand the like) are started with node directly; other.cmdand.batfiles go throughcmd.exe /d /s /cwith every argument escaped, so&,|,%VAR%and quotes in caller input are passed as text. A line break in an argument for such a file is refused (invalid_request). - On Windows,
oaa connect <preset>restarts a background gateway that it started itself by first asking it to close throughPOST /v1/gateway/shutdown, asoaa stopdoes, because there a plain termination ends the process abruptly. - An agent's whole process tree is ended with
taskkill /T /Fon cancel, timeout and shutdown.oaa stopfirst asks the gateway to close itself through the newPOST /v1/gateway/shutdown(an owner-wide admin key, from loopback only), and terminates the process only if it is still running after ten seconds. - The caller-tool relay uses a named pipe instead of a Unix socket. Private files (the admin key, caller keys,
server.pid) are restricted withicacls, best effort. File names that Windows treats specially (reserved device names,:, a trailing dot or space) are refused withinvalid_path.oaa statusandoaa verifywork withoutps. - The whole test suite now runs on
windows-latestin CI (windows.yml, one process per test file); tests that only make sense on POSIX skip with a stated reason. The messages of the PowerShell launcher scripts follow the Windows display language. Details and limits (no sandbox, forced stops, unsigned packages) are indocs/windows.md.
- A security review of the gateway, and its fixes: the bounds on agent-limited admin keys, the tightened automatic approval in bridged ACP turns and the portal form limit are under "Behavior changes".
- Log and error redaction now also covers execution-node tokens (
oan_…), portal session tokens (oas_…) and common upstream key formats (GoogleAIza…, GitHub, Slack, AWS access keys). - New optional limit
maxStoredBytesPerSubject: the stored bytes of one caller's files, including images stored from requests; past it, uploads fail withstorage_quota_exceeded(413). Unset, nothing changes. - New optional
security.profile:local(the default; nothing changes) orpublic, which sets safer defaults for every setting the configuration leaves unset:defaultKeyExecution: workspace, an allowlist for the environment that external agents inherit,maxStoredBytesPerSubjectof 256 MiB, and a 120-second limit to receive a request.oaa doctorandoaa statuswarn when the configuration looks reachable from outside while the profile is stilllocal. - New
docs/security-model.md: who can do what, what is exposed by default, what to do before exposing a gateway, and what is not defended (among others: portal sign-up answersemail_takenbecause there is no email verification, and login failure counters live in memory only). Regression checks were added for the Host and Origin checks and for static-asset paths.
- Compatibility lab (
integrations/compat/,npm run compat, andcompat.ymlin CI on every push and weekly): the officialopenai,anthropicandgoogle-genaiPython SDKs and the Nodeopenai,@anthropic-ai/sdkand@google/genai, the Vercel AI SDK, LangChain, LiteLLM, the OpenAI Agents SDK and LlamaIndex run against an isolated gateway with an offline agent. The requests of Open WebUI, LibreChat, Chatbox, Cherry Studio, LobeChat, NextChat, Dify, n8n, Continue, Cline, Roo Code, Zed and Cursor, read from their source or documentation, are replayed. Which client was run, which was replayed and which is unverified, with versions and configuration, is indocs/compatibility.md. - Changes made because of what the lab found: sampling and vendor parameters are tolerated (see "Behavior changes");
reasoning_effortandreasoning.effortare routing hints; Responses acceptsinstructions, typed message items andoutput_texthistory;GET /v1/models/{id}answers in the OpenAI, Claude and Gemini shapes; a zero-length JSON body onPOST(what the official SDKs send forresponses.cancel) is no longerinvalid_json; the answer to a CORS preflight lists the headers the browser asked for; Gemini bodies may use snake_case field names (google-genai3.3 used to lose its tool parameters), and/v1beta/{agent}:generateContentwithoutmodels/is accepted; a trailing or doubled slash in the Base URL still routes, and a 404 for a missing or duplicated/v1says so.
-
Structured output (
structured-output-v1): the contract described under "Behavior changes", on all four wire formats, with schema checks when the request arrives (invalid_schema,schema_dialect_unsupported,output_schema_unsupported) and correction rounds for kernel agents and for external agents whose session can be continued. The task inspector shows the contract and the corrections used. The schema is not passed to the model provider's own structured-output feature. Seedocs/structured-output.md. -
Image input (
image-input-v1): PNG, JPEG, GIF and WebP, through OpenAI Chat and Responses, Claude Messages, Gemini, UAP and the native body, inline, as an uploaded file, or as anhttpsURL. The limits are 5 MiB per image, 10 images and 8 MiB per request (images.*). An image is stored as an input file of the caller. Each agent receives it in the form it can use, or the request is refused before a run exists;GET /v1/modelsshowsimage_input. The gateway does not fetch remote URLs by default. New errors:image_invalid,image_too_large,too_many_images,image_fetch_failed,image_delivery_failed. Seedocs/images.md. -
Run-event webhooks (
webhooks-v1): signed (HMAC-SHA256) HTTPS callbacks forrun.requires_action,run.completed,run.failed,run.cancelled,run.incompleteandrun.interrupted, with a durable queue, six attempts over roughly 40 minutes, endpoint and delivery management under/v1/webhooks, outbound address checks (stricter undersecurity.profile: "public"), and a read-only list in the console.examples/webhook-receiver.mjsis a receiver that can approve pending items. Only owner-wide admin keys configure endpoints. Seedocs/webhooks.md. -
Model provider presets:
oaa connect <preset>gives the built-in agent a model with one command and publishesagent/assistant, a general assistant with the workspace file tools. Presets:ollama,lmstudio,openai-compatible,openai,anthropic,gemini-api,openrouter,deepseek,moonshot,zhipu,siliconflow,groq,togetherandmistral. A provider can now take its key from a file (apiKeyFile, read on every call, so rotating the key needs no restart) or need no key (noApiKey, for local models), and has the new settingsstreamUsageandpreset. A key is never accepted on the command line. A failing upstream call now names the provider and what to change, with the new codesupstream_auth_failed,upstream_model_not_foundandupstream_incompatible. The console's publish dialog for a built-in agent lets you pick from the configured providers, and the agent cards show the provider in use and whether its key resolves. The preset values were taken from each service's documentation. Seedocs/models.md. -
Stream progress (
stream-progress-v1): the behavior described under "Behavior changes", chosen per request (X-OAA-Progress,oaa.progress) or per protocol (streamProgress). The lines never carry tool arguments, tool results, prompts or internal identifiers, and followAccept-Language. The compatibility lab runs astream_progressscenario for each SDK and framework; of the chat clients only Dify was checked against its source, and it would put the progress into the answer on Chat, which is why Chat stays off. Seedocs/progress.md.
- A listing can turn on
host_execution, so that platform accounts may call that one external agent (Codex, Claude Code, ACP agents, adapters, kernel agents with host tools). It is off by default and audited, and an agent it delegates to needs its own switch. The console's listing dialog has the switch with its explanation, and the listing table shows which agents accounts cannot call yet. Seedocs/platform.md. - Billing: the per-task price is held at the start and released when a task does not complete, token charges no longer overdraw, and an agent that reports no usage can only be priced per task (see "Behavior changes").
examples/platform-walkthrough.tsruns the whole path offline with the sample agent: list, switch on, credit code, sign up, key, call, charge, top up.
- New
oaa approvals(with--watch),oaa approveandoaa deny: list and decide approvals from a terminal. The operation is printed before it is decided. - New
oaa status: one read-only answer to how the gateway and its agents are doing, with--json. - New
oaa verify AGENT: prints a plan, and with--confirm-live-costruns the real-agent acceptance scenarios on an isolated gateway and writes a scrubbedreport.mdandreport.jsonthat can be attached to an issue (template: "Agent verification report").examples/live-agents-acceptance.tsnow shares its scenarios. - New
oaa webhook add|list|remove|test|deliveries. - New
oaa connect <preset>andoaa models: connect a model provider to the built-in agent, and list the configured providers with whether their keys resolve and whether their endpoints answer (loopback ones automatically, hosted ones only with--check, which asks for the model list and nothing else).oaa connectnever calls a model unless you add--test, and then only for a loopback endpoint. - New
oaa prune [--older-than 30d] [--dry-run] [--vacuum]: delete finished runs older than a cutoff, with their events and files (see "Stability").oaa doctornow reports the database size. - The command reference is
docs/cli.md.
The new docs/stability.md has the method, the numbers, the crash-recovery semantics and the limits.
- Data retention. Nothing is deleted unless you ask. The new
retentionsetting (runsDays,intervalMinutes,warnDatabaseMb) prunes finished runs older thanrunsDayson a timer, andoaa prune(--older-than,--dry-run,--vacuum) orPOST /v1/maintenance/prune(an owner-wide admin key) does it once. Runs that are queued, running, waiting for approval or interrupted are never pruned. Account and billing records (the ledger, key usage totals) and memories are not pruned either.oaa doctorreports the database size, andoaa statusprints a note aboveretention.warnDatabaseMb(1024 MB by default); neither deletes anything. - Memory and database growth found by a soak test, and fixed. (1) Every execution armed an uncancellable 30-minute timeout, which kept each finished run's data reachable for 30 minutes (the heap grew by about 1.3 MB/min under load); it is now a timer that is cleared. (2) Timers that were re-armed with exact durations each left one empty internal Node timer list; Node frees such a list only once the original duration has passed, so this was a backlog that grows with load and with the length of the deadlines, not a permanent leak, and those timers now use rounded durations. (3) After a prune, the console's activity window kept the runs that had just been deleted. (4) An endpoint that kept failing let its delivery queue grow without a bound. Before these fixes a 65-minute run grew the heap by 0.29 MB/min and the database by 0.8 MB/min; after them, by 0.008 and 0.0 MB/min.
- Event callbacks: at most 10,000 deliveries wait per endpoint; the oldest beyond that are marked
failedwithqueue_overflow. - Backups and logs: the backup written before a migration is kept only for the newest 3 per source version (it was unbounded, so a supervisor restarting a failing gateway in a loop could fill the disk), and
server.logof a background gateway is rotated toserver.log.1at start when it is larger than 10 MB. A session workspace that a prune deleted is rebuilt by the local worker instead of being reused from its cache. npm run soak(macOS and Linux only; not part ofnpm test) runs a real gateway process against a fake model and the offline sample agent under a mixed load, restarts it three times (SIGTERM, SIGKILL, SIGTERM), and checks recovery and a set of pass criteria. Its latest result, on macOS (Apple silicon), Node 24, concurrency 8, on the code of this version: a 32-minute run with the restarts (34,010 requests without an unexpected error; 24 more failed inside the restart windows, which are counted separately) and a 62-minute run in one segment (67,799 requests, no unexpected error). Both met every criterion: the database and the file descriptors, handles and child processes stayed flat, the runs that were in progress at the SIGKILL wereinterruptedafter the restart, and no agent process outlived the gateway. The criterion for the memory of a short last segment was revised after the 32-minute run, whose 10-minute last segment had a fitted slope that mostly measured ordinary swings of about ±25 MB; the 32-minute run met the criterion as revised, not as first written (docs/stability.mdhas the details).npm run upgrade-checkrepeats an upgrade with real binaries: an older release creates data, the current build serves it, and the older release opens it again. A real 0.0.64 database is a test fixture.
- The menus, dialogs and notices of the macOS app follow the system language. The About box reads the real version. The port comes from
config.json, and the app connects only to a gateway it can tell belongs to its own data folder. An isolated run (OAA_DESKTOP_HOME,OAA_DESKTOP_PORT) leaves installed copies and their data alone. The admin key is put into the console'ssessionStoragein the main frame only, and copies that older versions left inlocalStorageare removed. The first launch shows a dialog once, listing what was published and enabled and where to switch an engine off. The PowerShell launcher of the Windows package shows its messages in Chinese or English. - The project owner checked five things by hand, once, on 2026-11-14, on an Apple silicon Mac, with an isolated run of a release-mode package: the console opens already connected with no connection dialog; the one-time first-launch note appears; the console is still connected after a reload (⌘R, which exercises the hand-over of the admin key through
sessionStorage); the About box shows the right version; and the menus and dialogs follow the system language. Everything else about the desktop apps is not verified; see "Not yet verified".
- Every document is English first, with the Chinese version in
docs/zh-CN/(andREADME.zh-CN.md,CHANGELOG.zh-CN.md,ROADMAP.zh-CN.md). A test checks that links and anchors resolve, that every document has a twin, that the language switch lines are there, that the error tables agree with the error catalog, and that this changelog starts with an empty "Unreleased" section. - Documentation site and example set.
tools/docs-site/generates a static site from the English and Chinese documents, with search; the Pages workflow now builds it first and then deploys it together with the landing page, and a check validates the generated pages and their links.examples/cookbook/has eight groups of copy-and-run calls (first call, long tasks, approvals, caller tools, structured output, images, errors and retries, connecting tools) in curl, Python and Node, and the compatibility lab runs each of them.examples/README.mdsays which file is for whom. The landing page's navigation links to both. - Smaller: the documents now say that every entry honours
Idempotency-Key, and what a caller sees after a cancellation (cancelled, orinterruptedwitheffect_outcome_unknownwhen an external effect cannot be ruled out). The offline sample agent no longer calls its reply "turn N of this session", and its README says that it cannot continue a session. - New:
ROADMAP.md,docs/cli.md,docs/install.md,docs/windows.md,docs/security-model.md,docs/compatibility.md,docs/structured-output.md,docs/images.md,docs/webhooks.md,docs/models.md,docs/progress.md,docs/stability.md, and an issue template for agent verification reports.docs/evidence.mdnow separates what the offline tests and CI show from what has been run with a real agent.
- Real agents. End-to-end verification with a real agent was done once, with Antigravity on 2026-11-13, using an earlier version of the acceptance script. Codex and Claude Code have not been run through it;
oaa verifyis the way for anyone with one of them installed to do so. - Image delivery to Codex and Claude Code is implemented from the vendors' documentation and has not been run against the real agents. Whether the Claude Agent SDK ends a session normally after the single streamed message that carries an image is an open question. Antigravity and DSH receive images as workspace files, also not run against the real agents.
- Structured-output correction rounds with real external agents, and caller-tool bridging beyond the manual session of 2026-11-11 (Antigravity and Qoder), are tested with stand-in agents only.
- Webhook delivery to a real public HTTPS endpoint: the tests use local plain-http receivers.
- The desktop apps, beyond those five checks. Not verified: the three messages for a port that is in use; switching the system language between Chinese and English in both directions (only the owner's current language was seen); that a second start with the same data folder no longer shows the first-launch note; recognizing and reusing a gateway that outlived a crashed app; the Intel package; the normal, non-isolated installation (default data folder, port 8787) of this version; and the bilingual messages of the Windows launcher (there is no Windows machine for it, and CI only checks the PowerShell syntax). The logic behind the macOS app is covered by offline tests.
- Windows with real agents. CI passes the full suite on Windows with stand-in agents.
- The release workflow with its new parts. The Linux packages,
install.sh, the npm tarball, the extended smoke test and the multi-architecture Docker push have not yet run on GitHub: the first run is the release of this version, and so is the first run of the Windows package of this version. The Docker image has been built (amd64) and smoke-tested in CI. - The compatibility lab uses a deterministic fixture model and the sample agent, never a real agent. A replay shows that the gateway accepts a client's recorded request and answers in a form it parses, not that the whole application works. Cursor is unverified, and LibreChat and LobeChat are only partly derived from source.
- Developer platform: the success path of billing with a real external agent, and a public deployment, have not been seen.
- Model provider presets have not been run against any real model service. The addresses and differences come from each service's documentation, and the tests use fake services. If a preset stops working,
oaa models --checkand the error code say which setting to change. - The documentation site has been built and its links checked, but not seen on real GitHub Pages: the first deployment is its first look.
- The soak used a fake model and the offline sample agent only, and ran for at most 62 minutes. Real providers and real agent command lines add latency, memory and failure modes it does not measure, and caches with designed bounds fill over hours. In one earlier 32-minute attempt the gateway needed about 110 seconds to answer after a SIGKILL; it did not recur in three further SIGKILL restarts or in a manual try, and the cause is not known (
docs/stability.md, "Known limits"). - Stream progress for external agents is tested with stand-ins, not with the real agents.
- Not done: passing a schema to the model provider's own structured-output feature, forced tool choice, and a real payment channel.
Public versions are renumbered from 0.0.64. The 0.1.0 to 0.6.4 entries in the Chinese changelog are internal version numbers from before the public release, kept as a record.
The first public version: open source under Apache-2.0, with macOS (Apple silicon and Intel) and Windows installers that bundle their own Node runtime. Gateway behavior is the same as 0.6.4.
- The packaging script has a new release mode,
--release: it installs nothing into any application directory, links no CLI, and writes nothing to the user's home directory; artifacts are written only torelease/(a write outside it is an outright error).--dry-runonly prints the paths each step would write and the external commands it would run. Local development packaging (without--release) behaves as before. New scripts:npm run package:release:macandpackage:release:win. - Release packages bundle the official Node runtime (
--node-dir, with the version checked againstengines.node), and, followingpackage-lock.json, exclude development dependencies, the proprietary@anthropic-ai/claude-agent-sdkand the packages only it references, and native packages for other platforms and architectures. macOS supports--arch arm64|x64; artifacts are named uniformlyOpen-Agent-API-<version>-macOS-<arch>.dmgand…-win-x64.zip, and aSHA256SUMSis generated. - When the Claude Agent SDK is missing, the Claude native engine returns
adapter_unavailablewith installation instructions (it can be installed separately into~/.oaa/vendororOAA_CLAUDE_SDK_DIR), andoaa doctorand the local backend information mark itrequires_separate_install; when the SDK is installed with the dependencies, behavior is unchanged. - Windows launcher: the Node version hint now matches
engines; fixedoaa.cmdexpanding%ERRORLEVEL%too early inside a parenthesized block, which gave a wrong exit code; the desktop launcher now loads the previously missingSystem.Windows.Forms(before, a failure showed no message at all), reads the port from the configuration, and on a busy port or a failed start shows a message and the log location; a newStop-OpenAgentAPI.cmdquits the background gateway; the.ps1files are written with a UTF-8 BOM so Chinese text displays correctly. - A new GitHub Actions release workflow,
release.yml(triggered by pushing av*tag or manually): on each of the three platforms it checks, downloads the official Node and verifies it withSHASUMS256.txt, packages, and smoke-tests (running the CLI with the Node inside the package, and starting the gateway on a random loopback port to check the/healthzversion), and finally creates a draft Release.ci.ymlis extended to Ubuntu, macOS and Windows. Seedocs/releasing.md.
- Walked through the README in full on a clean HOME, on both the source route and the installer route (using the ACP test stand-in in the repository in place of an external agent), and corrected the getting-started steps accordingly: first say that you need an agent to publish; use
serve --detachby default; add creating a key on the command line, fetching the result withwaitafterinvoke, a table of common errors, and the steps to walk the whole path with the test stand-in when no agent is installed. - New
oaa quickstart: initialize (skipped if already done), start the gateway in the background listening only on 127.0.0.1 (reused if already running, restarted if the configuration changed; on a busy port it reportsport_in_useand suggests--port), publish the offline sample agentagent/sample, generate a caller key (a private file, reused if one exists and is valid), make one real call and print the answer, the Base URL, the model, a curl command, OpenAI SDK code, and the next step to connect a local codex / claude / agy or a built-in agent. Running it again does not create anything twice. Output is bilingual, Chinese and English. - New
oaa connect <codex|claude|agy|ACP preset name>: detect whether it is installed, enable it on this gateway, publish it asagent/<name>(skipped if already published), confirm that the quickstart key can call it (otherwise create a separate key that can call only it), and print the model and a curl command. It does not call the agent, and it explains that the first call uses the agent's own login and quota. The end of quickstart now prints oneoaa connect …line for each detected agent. - The Windows desktop launcher now starts the gateway with
oaa quickstart --dir %LOCALAPPDATA%\OpenAgentAPI, so a callable offline sample agent exists from the first launch, with the output written toquickstart.log; the stop script also handlesoaa stop.README-WINDOWS.txtmakesoaa.cmd quickstartthe first step. - Console: when publishing returns the
not_runnable_herewarning, the publish dialog stays open and shows the reason; when the sample agentagent/samplealready exists, the first step of the overview's getting-started checklist counts as done. - The sample agent's tool demo now reads the local time instead of counting prompt characters (that number included context the gateway adds, which was easy to misread).
- New offline sample agent
examples/sample-agent.mjs(ACP; it calls no model and uses no network, and its answer says it is a sample), demonstrating several steps, one tool call, and one optional approval; it is defined inexamples/sample-agent.json. It ships with the source and the installers. - Error messages made more accurate:
model_unavailablenames the engine or adapter that is not installed or not enabled, the provider environment variable that is missing, and how to fix it; publishing an agent that cannot run on this machine right now succeeds but returns awarning(not_runnable_here); when a restricted key requests an unauthorized or non-existentmodel, the message suggestsGET /v1/models(without revealing whether it exists), and an admin key'sagent_not_foundgets the same hint; the 401 message says where the key comes from. The error body shapes of the four entries are unchanged. oaa initprints the location of the admin key file and the next step (oaa quickstart).- macOS desktop app: on first launch it publishes the offline sample agent (the marker file is upgraded to
.seeded-v2, so existing users get it too); the agy sample is published only when agy is detected; the publishing of the non-existentexamples/smart-repo-inspector.oaais removed. The behavior of automatically enabling the detected local agents is unchanged, and the documentation now describes it truthfully. - The
examples/in the installers no longer carries the.tsfiles that cannot run,live-agents/andgemini-sdk-probe.mjs; when npm cannot be found, the Claude SDK install hint first says that Node.js (which includes npm) must be installed separately. - New
oaa key create: generates a caller key throughPOST /v1/keys, writes it to a private file with mode 0600 (by default.oaa/keys/<name>.key, never overwriting an existing file), and prints only the file path, the Base URL, the model name and a ready-to-run curl command, never the key itself. - New
oaa stop: stops the gateway started byoaa serve --detach, sending SIGTERM only to the pid that/healthreports. - When the command line cannot reach the gateway it reports
gateway_unreachablewith a hint on how to start it (before, it wasexecution_failed: fetch failed); an unknown option reportsarguments(before,execution_failed);token_requiredgains a next-step suggestion.
- English support: every error code in the error catalog gains an English description
enand a next-step suggestionnextEn(returned byGET /v1/errorsas well); HTTP error responses choose their language byAccept-Language, and without that header use the process default language (OAA_LOCALE, otherwise the system locale). Throw sites that had only Chinese text (ACP agents, local backends, the Claude SDK install hint and so on) are now bilingual, and the error body shapes of the four entries are unchanged. The help ofoaais now grouped and shown in Chinese or English by the process default language, and on failure it appends the next-step suggestion from the catalog. The default experience on Chinese systems is unchanged; tests are all fixed to Chinese. The rules are indocs/protocol.md, "Language of error messages". - The descriptions of ACP presets (
presets[].notesofGET /v1/local/backends, shown on the console's local backends page) come in Chinese and English versions and are chosen byAccept-Languagein the same way, with the process default language when the header is absent; the English text is insrc/config/agent-presets-en.ts. - Added
LICENSE(the standard full text of the Apache License 2.0) andNOTICE(the copyright holder is The Open Agent API Authors, and the Open Design Apache-2.0 attribution is kept).package.jsondeclares"license": "Apache-2.0"and gainsrepository,bugs,homepageand afilesallowlist (onlydist/src,web, and documentation and license files);"private": trueis kept. THIRD_PARTY_NOTICES.mdnow includes the attribution for@anthropic-ai/sandbox-runtime(Apache-2.0), lists all runtime dependencies with their licenses, and lists the proprietary@anthropic-ai/claude-agent-sdkseparately (installed by users themselves and not covered by this project's license); it carries the license review of the runtime dependency closure, and the full license text oflucideis copied tolicenses/Lucide-ISC.txt.- Added
CONTRIBUTING.md,SECURITY.md(vulnerabilities are reported through GitHub's private vulnerability reporting) andCODE_OF_CONDUCT.md, plus issue and pull request templates. - The top of the README gains links to the license and the community files, and the "Licenses and attribution" section is expanded; the getting-started steps were checked against
package.jsonandsrc/cli.ts, and every command and argument exists. - Example domains in test fixtures that carried a personal name were changed to
agents.example.com.
The records of the earlier internal versions (0.1.0 to 0.6.4, from before the public release) are in CHANGELOG.zh-CN.md, in Chinese.