serdes-ai-agent
Agent implementation for serdes-ai
This crate provides the core Agent type - the main abstraction for interacting with LLMs in SerdesAI.
Features
- Generic
Agent<D, O>type parameterized by dependencies and output - Builder pattern for agent construction
- Run context for dependency injection
- Support for tools, system prompts, and structured output
Installation
[]
= "0.1"
Usage
use ;
let agent = new
.system_prompt
.build;
let result = agent.run.await?;
Part of SerdesAI
This crate is part of the SerdesAI workspace.
For most use cases, you should use the main serdes-ai crate which re-exports these types.
License
MIT License - see LICENSE for details.