| Crates.io | warhorn |
| lib.rs | warhorn |
| version | 0.1.0 |
| created_at | 2025-12-14 20:26:07.570294+00 |
| updated_at | 2025-12-14 20:26:07.570294+00 |
| description | Protocol types for agent communication - signals between goblins |
| homepage | |
| repository | https://github.com/moltenlabs/molten |
| max_upload_size | |
| id | 1985048 |
| size | 109,103 |
Protocol types for AI agent communication - signals between goblins.
Warhorn defines the message protocol for communication between AI agents and their orchestrators. Inspired by codex-kaioken's Op/Event pattern:
AgentId, TaskId, SessionId, etc.)[dependencies]
warhorn = "0.1"
use warhorn::{Op, Event, AgentId, SubmissionId};
// Send a user input operation
let op = Op::user_input("Add authentication to my app");
// Handle events from the orchestrator
match event {
Event::AgentSpawned { agent_id, role, .. } => {
println!("Agent {} spawned as {:?}", agent_id, role);
}
Event::TaskComplete { task_id, result, .. } => {
println!("Task {} completed: {}", task_id, result.summary);
}
_ => {}
}
MIT OR Apache-2.0