Expand description
Core traits: Provider, Tool, ToolDyn, ContextStrategy, ObservabilityHook, DurableContext.
Structs§
- Activity
Options - Options for executing an activity in a durable context.
- Retry
Policy - Retry policy for durable activities.
Enums§
- Hook
Action - Action to take after processing a hook event.
- Hook
Event - Events fired during the agentic loop for observability.
- Permission
Decision - Decision from a permission check.
Traits§
- Context
Strategy - Strategy for compacting conversation context when it exceeds token limits.
- Durable
Context - Wraps side effects for durable execution engines (Temporal, Restate, Inngest).
- Embedding
Provider - Embedding provider trait. Implement this for providers that support text embeddings.
- Observability
Hook - Hook for observability (logging, metrics, telemetry).
- Permission
Policy - Policy for checking tool call permissions.
- Provider
- LLM provider trait. Implement this for each provider (Anthropic, OpenAI, Ollama, etc.).
- Tool
- Strongly-typed tool trait. Implement this for your tools.
- ToolDyn
- Type-erased tool for dynamic dispatch. Blanket-implemented for all
Toolimpls.