Skip to main content

Crate agent_top_core

Crate agent_top_core 

Source
Expand description

agent-top-core: discovery, accounting and process-tree model for agent-top.

This crate has no terminal dependencies. It answers one question: “which coding agents are on this machine right now, what are they doing, and what have they spent?” The TUI crate renders the answer; --json prints it.

Re-exports§

pub use collector::Collector;
pub use collector::CollectorOptions;
pub use model::*;

Modules§

collector
Joins the process table with the transcripts into a Snapshot.
harness
Per-harness transcript readers.
jsonl
Incremental line reader for append-only JSONL transcripts.
model
The data model shared by discovery, the TUI and the JSON output.
pricing
Static price table, USD per million tokens.
process
Process enumeration and classification.