@agent-os/llm-transport-effect-ai
Purpose
Section titled “Purpose”Effect AI provider adapter for the provider-neutral LlmTransport protocol port.
Invariant
Section titled “Invariant”agentOS owns routes, material refs, tool schemas, output items, budget, ledger,
and admission facts. Effect AI is only the provider projection layer: it may
build provider clients and call LanguageModel, but runtime, admission, and
submit code must not consume Effect AI response classes or provider-native JSON.
Minimal Usage
Section titled “Minimal Usage”Provide makeEffectAiLlmTransportLayer with a RefResolverService. Provider
endpoint and credential material are resolved inside the transport layer and
must not appear in ledger facts, projections, logs, or public API payloads.
Toolkits generated for Effect AI always use
disableToolCallResolution: true. Provider-executed tool calls or results fail
closed instead of becoming agentOS tool facts.
Verification
Section titled “Verification”cd packages/providers/llm-transport-effect-aibun run typecheckbun run test