Skip to main content

Adapter Matrix

UAICP provides official adapters for multiple frameworks across TypeScript, Python, and Rust ecosystems.

LanguageFrameworkAdapter PackageTestsContract Coverage
TypeScriptLangGraph@uaicp/adapter-langgraph12Envelope, Evidence, Verify, Policy, Streaming, Rollbacks
PythonMicrosoft AutoGen v0.4uaicp-adapter-autogen23Envelope, Evidence, Verify, Policy, Swarms, Rollbacks
RustRiguaicp-adapter-rig17Envelope, Evidence, Verify, Policy, Streaming, Rollbacks

Unofficial / Community Adapters

These adapters follow the UAICP v0.3 contract but are community-maintained:

FrameworkStatusNotes
CrewAISkeleton availableSee CrewAI Adapter Example
OpenAI Agents SDKSkeleton availableSee OpenAI Agents SDK Adapter Example

Implementation Locations

Official adapters are in the libs/ directory:

Shared Verification Anchor

All adapters align to the same contract interface defined in uaicp-core for each language:

  • TypeScript: @uaicp/core
  • Python: uaicp-core
  • Rust: uaicp-core (crate)

Each adapter implements the UaicpAdapter trait/interface with:

  • map_to_envelope() — framework state → UAICP envelope
  • normalize_evidence() — tool call → evidence object
  • verify_gates() — deterministic evidence verification
  • enforce_policy() — policy-gated write checks
  • stream_partial() — UX streaming normalization
  • rollback_payload() — high-risk operation recovery