| Crates.io | serdes-ai |
| lib.rs | serdes-ai |
| version | 0.1.2 |
| created_at | 2026-01-16 06:57:13.662759+00 |
| updated_at | 2026-01-23 16:44:51.859955+00 |
| description | Type-safe, production-ready AI agent framework for Rust - a full port of pydantic-ai |
| homepage | https://github.com/janfeddersen-wq/serdesAI |
| repository | https://github.com/janfeddersen-wq/serdesAI |
| max_upload_size | |
| id | 2048041 |
| size | 123,761 |
Type-safe, production-ready AI agent framework for Rust - a full port of pydantic-ai
This is the main facade crate that re-exports all SerdesAI functionality for convenient use.
[dependencies]
serdes-ai = "0.1"
use serdes_ai::prelude::*;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let agent = Agent::new(OpenAIChatModel::from_env("gpt-4o")?)
.system_prompt("You are a helpful assistant.")
.build();
let result = agent.run("Hello!", ()).await?;
println!("{}", result.output);
Ok(())
}
This crate is part of the SerdesAI workspace.
MIT License - see LICENSE for details.