Skip to main content

agent_playground/
lib.rs

1#![warn(missing_docs)]
2//! `agent-playground` library crate.
3//!
4//! This crate powers the `apg` CLI and exposes reusable building blocks for:
5//! configuration loading/initialization, playground listing, playground
6//! execution, and JSON schema generation.
7//!
8//! # Module Guide
9//!
10//! - [`config`]: file-backed configuration models and initialization helpers.
11//! - [`info`]: terminal-friendly detailed output for one configured playground.
12//! - [`listing`]: terminal-friendly listing output for known playgrounds.
13//! - [`runner`]: runtime orchestration for launching agents in temporary copies.
14//! - [`schema`]: JSON Schema export utilities for configuration file models.
15//!
16//! Most applications use [`config::AppConfig`] as the entry point and then call
17//! higher-level helpers such as [`listing::list_playgrounds`] or
18//! [`runner::run_playground`].
19
20/// Configuration models and helpers for loading and initializing playgrounds.
21pub mod config;
22/// Detailed information helpers for rendering one playground in CLI output.
23pub mod info;
24/// Listing helpers for rendering configured playgrounds in CLI output.
25pub mod listing;
26/// Runtime orchestration for launching agents in isolated temporary directories.
27pub mod runner;
28/// JSON Schema and static site generation for configuration file formats.
29pub mod schema;