Skip to main content

ag_harness/
lib.rs

1//! Lightweight, Rust-native LLM harness for application-facing agent workflows.
2//!
3//! The crate provides a provider-neutral model client, validated structured
4//! output, and private provider backends.
5
6mod chat_completion;
7mod file_system;
8mod harness;
9mod model;
10mod policy;
11mod provider;
12mod read;
13mod schema_contract;
14mod telemetry;
15mod tool;
16
17pub use file_system::{FileSystem, LocalFileSystem};
18pub use harness::{Harness, TurnError};
19pub use model::{
20    Model, ModelClient, ModelError, ModelMetadata, ModelMetadataError, ModelRequest, ModelResponse,
21};
22pub use provider::{
23    KimiConfig, MUSE_SPARK_1_2, MUSE_SPARK_1_2_CONTRIBUTOR, Muse, MuseConfig, MuseError, QwenConfig,
24};
25pub use read::{ReadError, ReadOutput};
26pub use schema_contract::{OutputSchema, OutputSchemaError};
27pub use tool::{ReadArguments, Tool, ToolCall, ToolDefinition};