Agentic AI Atlasby a5c.ai
OverviewWikiGraphFor AgentsEdgesSearchWorkspace
/
GitHubDocsDiscord
iiRecord
Agentic AI Atlas · ADR: disposition of `packages/adapters/proxy` (Python `adapters-proxy`)
page:docs-adr-adapters-proxy-dispositiona5c.ai
Search record views/
Record · tabs

Available views

II.Record viewspp. 1 - 1
overviewarticlejsongraph
III.Related pagespp. 1 - 1
II.
Page reference

page:docs-adr-adapters-proxy-disposition

Reading · 4 min

ADR: disposition of `packages/adapters/proxy` (Python `adapters-proxy`) reference

packages/adapters/proxy was a separate Python package (adapters-proxy 0.4.9:

Pagewiki/docs/adr/adapters-proxy-disposition.mdOutgoing · 0Incoming · 1

ADR: disposition of `packages/adapters/proxy` (Python `adapters-proxy`)

  • Status: accepted — retire path (spec 20 WP-FN-24, orphan O6)
  • Date: 2026-10-14
  • Decides: whether the Python LiteLLM bridge stays in the platform

Context

packages/adapters/proxy was a separate Python package (adapters-proxy 0.4.9: FastAPI + LiteLLM, its own pyproject.toml, Dockerfile and docker-compose.yml, 25 pytest files) outside the TypeScript test lattice. No spec claimed it (spec 20 §3.2). Its README said it was "spawned on demand by adapters launch --with-proxy-if-needed". The TypeScript transport adapter (packages/adapters/transport, @fabricstack/model-gateway, spec 15 §3.1 row 19) is the named model gateway and carries the attestation seam (server.ts proxy attestation, WP-FN-03 H10).

Consumer search (AC1)

Executed on console/c2-a-journal (base 857d95fd0) with

sh
git grep -n -I -E "adapters-proxy|adapters_proxy|with-proxy-if-needed|adapters/proxy" -- . ':!packages/adapters/proxy'

and the Python-only form pip install adapters-proxy|python -m adapters_proxy|adapters_proxy|packages/adapters/proxy.

SurfaceFinding
packages/kradle/chartsno reference
.github/workflowsno reference; no job built, tested or published the package
Docker / compose outside the packageno reference; no image built from packages/adapters/proxy/Dockerfile
Launcher (packages/adapters/launch/src/launch.ts)--with-proxy-if-needed calls startTransportMuxRuntime from @fabricstack/model-gateway (launch.ts:23,999): the JS transport adapter, in process. Nothing spawns the Python package
Kradle agent entrypoint (packages/adapters/cli/kradle-agent-entrypoint.mjs:224-231)--with-proxy-if-needed "stands up the JS transport-mux"
Triggers action / Azure pipeline (packages/adapters/triggers)pass --with-proxy-if-needed to the launcher — the JS gateway
adapters-proxy bin and atlas transport-runtime:adapters-proxythe JS model gateway's runtime name (packages/adapters/transport), not the Python package
packages/adapters/meta/github/workflows/{adapters-proxy-ci,publish}.ymlalready titled "Archived:"; not under .github/workflows, never run
packages/adapters/scripts/bump-version.shbumped a path (packages/adapters/adapters-proxy/...) that no longer existed
User/reference docsdescribed the Python bridge as the --with-proxy-if-needed backend and told users to pip install adapters-proxy — inaccurate
History (docs/adapters/archive, research notes, .a5c/processes, packages/adapters/processes, specs)design records and recorded process inputs; left as written

No production consumer (deployment manifest, chart, workflow or runbook dependency) exists. The wire path's precondition is not met.

Decision

Retire the package (AC2):

are removed; the Python bump in packages/adapters/scripts/bump-version.sh is removed. History stays in git.

--with-proxy-if-needed backend (docs/user-guide/ecosystem/*.md, docs/user-guide/reference/adapter-types.md, docs/user-guide/architecture.md, docs/adapters/reference/10-cli-reference.md); the transport adapter's README and migration notes record the retirement; the atlas Hermes note points at the transport adapter.

tree returns or any active surface references the Python package.

  • packages/adapters/proxy/ and the two archived workflows that only served it
  • User and reference docs now name the model gateway as the
  • scripts/check-adapters-proxy-retired.cjs (ci.yml test job) fails if the

**Exactly one model-proxy plane remains authoritative for attestation: the transport adapter (packages/adapters/transport, @fabricstack/model-gateway) (AC4).**

Capabilities only the Python package had

Recorded as transport-adapter backlog items, not silently dropped:

Python capabilityTransport adapter todayBacklog item
LiteLLM routing to 140+ providersnative engines (Anthropic, OpenAI, Google) and codecs (Anthropic, OpenAI chat/responses, Google, Bedrock); Vertex/Azure through configurationadd providers on demand through the model-route registry, not a LiteLLM dependency
ollama serve lifecycle (providers/ollama_server.py)launcher runs ollama pull (launch.ts:690); the gateway routes the ollama provider (server.ts:447)start/stop a local Ollama server from the launcher when none is running
in-memory response cache (cache.py)none at the gateway (provider prompt caching only)evaluate only with a measured need; caching completions can change agent behaviour
pre/post-completion and pre-tool hook dispatch (hooks.py)lifecycle hooks run in the harness hooks layer and the proof-based policy gatesnone — the policy/hooks layers own this

Consequences

platform neither launches nor documents it. PROXY_LAUNCH_FAILED now points at the in-process gateway.

(name, CI job, owner), per spec 20 WP-FN-24 AC3.

  • One attested model-proxy plane; no Python runtime in the install.
  • A user who pip-installed adapters-proxy by hand keeps that copy; the
  • Re-entry (the wire path) needs a found consumer and a spec 15 amendment

Article source

The article body is owned directly by this record.

Related pages

No related wiki pages for this record.

Shortcuts

Open overview
Open JSON
Open graph