API Reference

Crate-level API documentation for Perspt’s Rust workspace.

Tip

For full Rustdoc-generated documentation, run:

cargo doc --open --no-deps --all-features
perspt-core

Types, config, LLM provider, events, plugins.

perspt-core
perspt-sdk

Domain-neutral SRBN control plane: energy, gates, ledger.

perspt-sdk
perspt-coding

Coding domain package: residuals, adapters, barriers.

perspt-coding
perspt-research

Research domain package (skeleton).

perspt-research
perspt-agent

Governed candidate runtime, tool loop, verifier, work-graph dispatch.

perspt-agent
perspt-tui

Ratatui terminal UI (chat + agent).

perspt-tui
perspt-cli

Clap CLI entry point and subcommands.

perspt-cli
perspt-store

DuckDB session persistence.

perspt-store
perspt-policy

Starlark policy engine.

perspt-policy
perspt-sandbox

Command sandboxing and isolation.

perspt-sandbox
perspt-dashboard

Axum + Askama + HTMX web dashboard.

perspt-dashboard
perspt-prompt-macros

Build-time compiler for typed prompt section libraries.

perspt-prompt-macros
perspt-benchmark

Optional, feature-gated manual evaluation tooling.

perspt-benchmark