Expand description
Unified AgentClient
The AgentClient provides a unified interface that:
- Uses stakai for all LLM inference (with StakpakProvider when available)
- Uses StakpakApiClient for non-inference APIs (sessions, billing, etc.)
- Falls back to local SQLite DB when Stakpak is unavailable
- Integrates with hooks for lifecycle events
Structs§
- Agent
Client - Unified agent client
- Agent
Client Config - Configuration for creating an AgentClient
- Model
Options - Model options for the AgentClient
- Stakpak
Config - Stakpak connection configuration
Constants§
- DEFAULT_
STAKPAK_ ENDPOINT - Default Stakpak API endpoint