ag-harness 0.15.1

Agentty is an ADE (Agentic Development Environment) for structured, controllable AI-assisted software development.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# `ag-harness`

Run a model with repository-scoped tools and validated structured output.

```rust
use ag_harness::{Harness, MUSE_SPARK_1_2, Muse, Tool};

let harness = Harness::new(Muse::from_env(MUSE_SPARK_1_2)?)
    .repository(repository_root)
    .allow(Tool::Read);

let output = harness.run(prompt, output_schema).await?;
```

Provide `MODEL_API_KEY`, a repository root, explicitly allowed tools, a prompt, and an
`OutputSchema`. Expect schema-validated JSON or a typed error.