#ai-agent #llm #llm-agent

serdes-ai-agent

Agent implementation for serdes-ai

8 releases

0.2.6 Feb 20, 2026
0.2.5 Feb 17, 2026
0.1.5 Jan 27, 2026

#1308 in Machine learning

Download history 2/week @ 2026-01-13 112/week @ 2026-01-20 187/week @ 2026-01-27 21/week @ 2026-02-03 13/week @ 2026-02-10 51/week @ 2026-02-17 59/week @ 2026-02-24 9/week @ 2026-03-03

132 downloads per month
Used in 5 crates (3 directly)

MIT license

1.5MB
32K SLoC

serdes-ai-agent

Crates.io Documentation License: MIT

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

[dependencies]
serdes-ai-agent = "0.1"

Usage

use serdes_ai_agent::{Agent, AgentBuilder};

let agent = Agent::new(model)
    .system_prompt("You are helpful.")
    .build();

let result = agent.run("Hello!", ()).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.

Dependencies

~16–26MB
~378K SLoC