Agentic AI Atlasby a5c.ai
OverviewWikiGraphFor AgentsEdgesSearchWorkspace
/
GitHubDocsDiscord
i.3Wiki
Agentic AI Atlas · Transport Adapter & Proxy
docs/development/04-transport-adapter-proxya5c.ai
Search the atlas/
Wiki · linked records

Article and nearby pages

I.Current articlepp. 1 - 1
a5c: Overview & Development PhilosophyAtlas Graph & Agent CatalogBabysitter Plugin ArchitectureTriggers & CI IntegrationKradle & Cloud Platform07 — Live Stack QA Guide
I.
Wiki article

docs/development/04-transport-adapter-proxy

Reading · 2 min

Transport Adapter & Proxy reference

The @a5c-ai/transport-adapter package bridges API protocol differences between harnesses and upstream providers.

Page nodewiki/docs/development/04-transport-adapter-proxy.mdNearby pages · 6Documents · 0

Continue reading

Nearby pages in the same section.

a5c: Overview & Development PhilosophyAtlas Graph & Agent CatalogBabysitter Plugin ArchitectureTriggers & CI IntegrationKradle & Cloud Platform07 — Live Stack QA Guide

Transport Adapter & Proxy

The @a5c-ai/transport-adapter package bridges API protocol differences between harnesses and upstream providers.

When Proxy is Needed

A harness needs the proxy when it speaks a different protocol than the upstream provider:

Harness ProtocolUpstream ProtocolProxy?
Anthropic (Claude Code)AnthropicNo
Anthropic (Claude Code)OpenAI (Foundry)**Yes**
Anthropic (Claude Code)Google (Vertex)**Yes**
OpenAI (Codex)OpenAI (Foundry)No
OpenAI (Pi via models.json)OpenAI (Foundry)**Yes**

Completion Engines

EngineUpstreamKey Features
OpenAIAzure FoundryTool normalization (input_schema → parameters), streaming delta.tool_calls accumulation
GoogleVertex AIfunctionCall/functionResponse translation, thoughtSignature server-side store

Message Translation

The proxy translates between Anthropic and upstream formats bidirectionally:

  • **Anthropic → OpenAI**: tool_use → role:"assistant" + tool_calls, tool_result → role:"tool"
  • **Anthropic → Google**: tool_use → functionCall, tool_result → functionResponse (with toolIdToName mapping)
  • **OpenAI → Anthropic**: delta.tool_calls → content_block_start(tool_use) + input_json_delta
  • **Google → Anthropic**: functionCall → tool_use, thoughtSignature preserved via server-side store

Streaming Tool Support

The proxy handles streaming tool calls end-to-end:

Code
CompletionStreamEvent =
  | { type: 'text-delta', text: string }
  | { type: 'tool-call', id, name, arguments, metadata? }
  | { type: 'done', finishReason?, usage? }

See babysitter-plugin-flows for full sequence diagrams.

Trail

Wiki
Babysitter Docs
a5c Development Documentation

Transport Adapter & Proxy

Continue reading

a5c: Overview & Development Philosophy
Atlas Graph & Agent Catalog
Babysitter Plugin Architecture
Triggers & CI Integration
Kradle & Cloud Platform
07 — Live Stack QA Guide

Page record

Open node ledger

wiki/docs/development/04-transport-adapter-proxy.md

Documents

No documented graph nodes on this page.