Expand description
§agentoven-core
Core SDK library for AgentOven — the enterprise agent control plane.
This crate provides the building blocks for:
- Defining and registering agents (recipes)
- Connecting to the AgentOven control plane
- Model routing across providers
- Observability via OpenTelemetry
- Multi-agent workflow orchestration
§Quick Start
use agentoven_core::{Agent, Ingredient, AgentOvenClient};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = AgentOvenClient::new("http://localhost:8080")?;
let agent = Agent::builder("summarizer")
.version("1.0.0")
.description("Summarizes documents with citations")
.ingredient(Ingredient::model("gpt-4o").provider("azure-openai").build())
.ingredient(Ingredient::model("claude-sonnet").provider("anthropic").role("fallback").build())
.ingredient(Ingredient::tool("doc-reader").build())
.build();
client.register(&agent).await?;
client.bake(&agent, "production").await?;
Ok(())
}Re-exports§
pub use agent::Agent;pub use agent::AgentBuilder;pub use agent::AgentMode;pub use agent::AgentStatus;pub use agent::Guardrail;pub use client::AgentOvenClient;pub use config::AgentOvenConfig;pub use ingredient::Ingredient;pub use ingredient::IngredientKind;pub use recipe::Recipe;pub use recipe::Step;pub use recipe::StepKind;pub use router::ModelProvider;pub use router::RoutingStrategy;pub use a2a_ao;
Modules§
- agent
- Agent — the primary resource in AgentOven.
- client
- AgentOven Client — connects to the AgentOven control plane.
- config
- Configuration for AgentOven SDK and CLI.
- ingredient
- Ingredient — models, tools, prompts, and data sources that go into an agent.
- recipe
- Recipe — multi-agent workflows in AgentOven.
- router
- Model Router — intelligent routing across LLM providers.
- telemetry
- Telemetry — OpenTelemetry integration for AgentOven.