serdes-ai-agent

Crates.ioserdes-ai-agent
lib.rsserdes-ai-agent
version0.1.2
created_at2026-01-16 06:56:27.938184+00
updated_at2026-01-23 16:44:34.899969+00
descriptionAgent implementation for serdes-ai
homepage
repositoryhttps://github.com/janfeddersen-wq/serdesAI
max_upload_size
id2048038
size223,375
(janfeddersen-wq)

documentation

README

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.

Commit count: 42

cargo fmt