# goose · Embedding interfaces

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

- Runtime: [goose](https://ai-agents-review.com/runtime/goose.md)
- Column: [Embedding interfaces](https://ai-agents-review.com/column/embedding-interfaces.md) (Product integration)
- Mark: 4 s
- Default deployment: 4
- Best supported configuration: 4
- Page: https://ai-agents-review.com/cell/goose/embedding-interfaces

## Rationale

ACP over stdio and HTTP+WS, with typed session updates, new/prompt/cancel/load, and `request_permission` approvals to the client

## Rubric criteria for this column

- 0: Interactive UI only
- 1: Non-interactive CLI with text or JSON output only (scraping)
- 2: One supported programmatic interface (library **or** protocol) with an event stream, marked experimental or covering only part of the session lifecycle
- 3: Supported programmatic interface with typed events **and** session lifecycle control (start, follow-up/steer, interrupt, resume)
- 4: Level 3, plus host callbacks for approvals or host-executed tools **and** two or more transports or bindings (e.g. in-process plus network protocol)

## Review finding

Built in: ACP (JSON-RPC) via `goose acp` (stdio) or `goose serve` (HTTP+WS, default 127.0.0.1:3284, secret key required unless `--dangerously-unauthenticated`, optional TLS). About 100 `_goose/unstable/*` extension methods. TS ACP client; Rust crates; uniffi bindings cover providers only. [I19][I20][I21][I22][I23]

## Evidence cited by the mark

- [I19] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/crates/goose-cli/src/cli.rs#L849-L930 — `goose acp` (stdio) and `goose serve` (default 127.0.0.1:3284, TLS, `--dangerously-unauthenticated` to skip `GOOSE_SERVER__SECRET_KEY`) — [S]
- [I20] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/crates/goose/src/acp/transport/mod.rs#L188-L248 — `/acp` HTTP+WebSocket router with token auth, health/status; transport crate `agent-client-protocol-http` 2.2.0 (Cargo.lock) — [S] (router) / [D] (crate internals)
- [I28] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/crates/goose/src/acp/server.rs#L230-L253 — `ActiveRunDropGuard` cancels token and frees run when prompt future is dropped — [S]

## Evidence also cited by the review finding

- [I21] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/crates/goose/src/acp/server/custom_dispatch.rs#L33-L460 — `_goose/*` custom methods (sessions, extensions, providers, config, steer, recipes, schedules) — [S]
- [I22] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/ui/goose-acp-client/README.md#L1-L15 — TS client; "Applications own the transport and process lifecycle" — [D]
- [I23] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/crates/oi-kit-bindings/src/lib.rs#L1-L16 — uniffi bindings: declarative providers and completion streaming only — [S]

## Grading record

- Grader A (default / best): 4 / 4
- Grader B (default / best): 4 / 4
