use-agent 0.0.1

AI agent metadata primitives for RustUse.
Documentation
  • Coverage
  • 1.03%
    1 out of 97 items documented1 out of 28 items with examples
  • Size
  • Source code size: 10.93 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.25 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-ai
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-agent

AI agent metadata primitives for RustUse.

Experimental

use-agent is experimental while use-ai remains below 0.3.0.

Example

use use_agent::{AgentKind, AgentName, AgentStatus};

let name = AgentName::new("triage-agent")?;

assert_eq!(name.as_str(), "triage-agent");
assert_eq!("waiting for tool".parse::<AgentStatus>()?, AgentStatus::WaitingForTool);
assert_eq!(AgentKind::Planner.as_str(), "planner");
# Ok::<(), use_agent::AgentError>(())

Scope

  • Agent names and identifiers, kinds, status, modes, autonomy levels, loop kinds, handoffs, observations, and actions.
  • Metadata only.

Non-goals

  • Running agent loops, making plans, calling tools, memory access, retrieval, delegation, or user prompting.

License

Licensed under either Apache-2.0 or MIT.