Expand description
Configured execution engine for Anthropic Messages-compatible APIs.
This crate owns reusable protocol execution, endpoint isolation, authentication, option merging, and evidence-backed compatibility profiles. It deliberately does not own any branded provider identity, provider annotation namespace, or native resource API.
Structs§
- Anthropic
Compatible Language Model - Lightweight language-model handle sharing one configured provider runtime.
- Anthropic
Compatible Profile - Immutable endpoint, identity, evidence, and protocol policy for one compatible runtime.
- Anthropic
Compatible Provider - Long-lived, synchronously configured Anthropic Messages-compatible runtime.
- Anthropic
Compatible Provider Builder - Builder for one network-free configured runtime.
- Cache
Control - One explicit Anthropic-protocol prompt-cache breakpoint.
- Clear
Thinking Edit - Configuration for the
clear_thinking_20251015edit. - Clear
Tool Uses Edit - Configuration for the
clear_tool_uses_20250919edit. - Compaction
Edit - Configuration for the
compact_20260112edit. - Container
Skill - One skill mounted into an Anthropic code-execution container.
- Context
Management - Ordered context-management edits for one Messages request.
- Credential
Error - Sanitized static-credential validation failure.
- McpAuthorization
Token - Secret bearer value used by one remote MCP server.
- McpServer
- One remote MCP server available to a Messages request.
- Messages
Call Options - Provider-independent Messages call shaping understood by the compatible engine.
- Messages
Encoding Rules - Bounded request-encoding rules for one Anthropic Messages-compatible dialect.
- Messages
Request Projection Context - Read-only inputs available while projecting one encoded Messages request.
- Messages
Request Requirements - Additional execution requirements discovered while preparing one Messages request.
- Messages
Token Count Options - Protocol-owned shaping for one Anthropic token-count request.
- Native
Messages Request Projection - Native Anthropic Messages projection used by default.
- NoMessages
Request Policy - No-op request policy used by generic compatible profiles.
- Projected
Messages Request - Bounded wire projection returned to the compatible execution engine.
- Temperature
Encoding Rule - Validated upper-bound rule for the Messages
temperaturefield. - Token
Task Budget - Token budget carried by
output_config.task_budget.
Enums§
- Anthropic
Compatible Config Error - Anthropic
Compatible Credential - Explicit authentication strategy for one compatible endpoint.
- Cache
Control Wire Style - How a compatible Messages dialect represents prompt-cache TTLs.
- Cache
Ttl - Lifetime of one Anthropic-protocol prompt-cache entry.
- Clear
Thinking Keep - Retention policy used by the clear-thinking edit.
- Clear
Tool Inputs - Selection policy for tool inputs cleared by context management.
- Container
Skill Type - Source namespace for a container skill.
- Context
Management Edit - One versioned Anthropic context-management edit.
- Context
Management Trigger - Threshold that activates one context-management edit.
- Inference
Geo - Request-side inference geography accepted by the current Messages API.
- Inference
Speed - Inference speed override for a Messages request or fallback attempt.
- Messages
Assigned Service Tier - Response-side service tier assigned by Anthropic.
- Messages
Container - Container reuse or construction settings for one Messages request.
- Messages
Encoding Rule Error - Invalid compatible-dialect encoding configuration.
- Messages
Service Tier Preference - Request-side preference accepted by the Messages
service_tierfield. - MidConversation
System Encoding - How a Messages dialect represents system instructions after the conversation starts.
Traits§
- Messages
Request Policy - Provider- or dialect-owned preparation for one merged Messages request.
- Messages
Request Projection - Provider- or dialect-owned projection of one canonical Messages request.