Expand description
Lightweight, Rust-native LLM harness for application-facing agent workflows.
The crate provides a provider-neutral model client, validated structured output, and private provider backends.
Structs§
- Harness
- Application-facing harness for one complete model turn.
- Kimi
Config - Configuration for a Kimi model served through Moonshot AI’s OpenAI-compatible API.
- Local
File System - Tokio-backed filesystem implementation for local repositories.
- Model
Client - Application-facing client for provider-neutral model requests.
- Model
Metadata - Validated provider and model identity used by the shared client lifecycle.
- Model
Request - Provider-neutral input for one model request.
- Muse
- Muse model configured from the standard Model API environment variables.
- Muse
Config - Configuration for a Muse model served through Meta’s Model API.
- Output
Schema - A validated, provider-independent JSON Schema for model output.
- Qwen
Config - Configuration for a Qwen model served through Alibaba Cloud Model Studio’s OpenAI-compatible API.
- Read
Arguments - Validated arguments for the native
readfunction. - Read
Output - Bounded text returned by one successful
readexecution. - Tool
Call - Provider-neutral model request for one native tool invocation.
- Tool
Definition - Provider-neutral definition of a native model tool.
Enums§
- Model
Error - Failure returned while completing a model request.
- Model
Metadata Error - Invalid identity attributes supplied by a model provider.
- Model
Response - Provider-neutral output from one model request.
- Muse
Error - Failure returned while configuring Muse from the environment.
- Output
Schema Error - Failure returned while constructing a structured-output schema.
- Read
Error - Failure while safely executing one repository-relative read.
- Tool
- Built-in tool that can be enabled for a harness run.
- Turn
Error - Failure returned by a complete harness turn.
Constants§
- MUSE_
SPARK_ 1_ 2 - Standard Muse Spark 1.2 model whose prompts and completions are not used to train Meta models.
- MUSE_
SPARK_ 1_ 2_ CONTRIBUTOR - Discounted Muse Spark 1.2 model that permits Meta to use prompts and completions to train future models.
Traits§
- File
System - Asynchronous filesystem boundary used by harness tools.
- Model
- Object-safe boundary for provider-neutral model requests.