Skip to main content

Crate paigasus_helikon_cli

Crate paigasus_helikon_cli 

Source
Expand description

Internal implementation of the helikon / paigasus-helikon CLI.

Internal — no stability guarantees. This library target exists so the two binaries can share code; its API may change in any release.

Modules§

cli
Clap command tree for the helikon binary.
eval_cmd
helikon eval run: load a sidecar + JSONL dataset, run every case through the named agent, score it with the sidecar’s [eval] evaluators, and print a report.
mcp_cmd
helikon mcp serve: expose one sidecar agent as an MCP server, over stdio by default or streamable HTTP via --http.
model
CliModel — the CLI’s provider-dispatch enum — and the builders that turn a sidecar ModelDef into a live model.
registry
AgentRegistry — loads an agents.toml sidecar, builds live LlmAgents from it, and supports hot reload on file change.
repl
helikon repl: an interactive REPL over a live AgentRegistry, with hot-reloading agent definitions and a handful of slash commands.
rhai_tool
RhaiTool — a Tool whose body is a sandboxed Rhai script.
sidecar
Parsing and validation for the agents.toml sidecar file format.

Functions§

main
Entry point shared by both binaries.