Expand description
agent-playground library crate.
This crate powers the apg CLI and exposes reusable building blocks for:
configuration loading/initialization, playground listing, playground
execution, and JSON schema generation.
§Module Guide
config: file-backed configuration models and initialization helpers.info: terminal-friendly detailed output for one configured playground.listing: terminal-friendly listing output for known playgrounds.runner: runtime orchestration for launching agents in temporary copies.schema: JSON Schema export utilities for configuration file models.
Most applications use config::AppConfig as the entry point and then call
higher-level helpers such as listing::list_playgrounds or
runner::run_playground.
Modules§
- config
- Configuration models and helpers for loading and initializing playgrounds.
Configuration models and loaders for
agent-playground. - info
- Detailed information helpers for rendering one playground in CLI output. Utilities for rendering detailed information about a configured playground.
- listing
- Listing helpers for rendering configured playgrounds in CLI output. Utilities for listing configured playgrounds in a human-readable table.
- runner
- Runtime orchestration for launching agents in isolated temporary directories. Runtime execution for launching an agent inside a temporary playground.
- schema
- JSON Schema and static site generation for configuration file formats. JSON Schema site generation utilities.