1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Agents API client — Wauldo Deploy deployed-agent registry.
//!
//! Standalone client that talks to the `/v1/agents` endpoints. Designed
//! to work alongside `HttpClient` without depending on its types —
//! construct `AgentsClient` with the same base URL + API key you'd pass
//! to `HttpClient`.
//!
//! # Example
//! ```no_run
//! use wauldo::agents::{AgentsClient, CreateAgentRequest};
//!
//! # async fn run() -> Result<(), Box<dyn std::error::Error>> {
//! let agents = AgentsClient::new("http://localhost:3000")
//! .with_api_key("sk-...")
//! .with_tenant("my-org");
//! let agent = agents.create(CreateAgentRequest {
//! name: "sdr-bot".into(),
//! wauldo_toml: "[agent]\nname = 'sdr-bot'\n[model]\nprovider = 'openrouter'\nname = 'qwen'".into(),
//! description: "Outbound sales".into(),
//! agents_md: None,
//! mcp_json: None,
//! preset: None,
//! }).await?;
//! let run = agents.run(&agent.id, "Qualify acme.com", None).await?;
//! println!("task: {}", run.task_id);
//! # Ok(())
//! # }
//! ```
pub use AgentsClient;
pub use bounded_read;
pub use ;