agent-event-emit 0.1.0

Structured event emitter for agent runs. Append-only, JSON-line-serializable events with monotonic ids, run id, and timestamps. Zero deps beyond serde_json.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# agent-event-emit

[![crates.io](https://img.shields.io/crates/v/agent-event-emit.svg)](https://crates.io/crates/agent-event-emit)

Structured event emitter for agent runs. JSON-line-ready Events with
monotonic ids, run id, and ms timestamps. No sink chosen; you write
the line where you want.

```rust
use agent_event_emit::Emitter;
use serde_json::json;
let mut e = Emitter::new("run-123");
let ev = e.emit("tool_call", json!({"name": "read_file"}));
println!("{}", ev.to_json_line());
```

MIT or Apache-2.0.