Skip to main content

Crate aether_project

Crate aether_project 

Source
Expand description

§aether-project

Project-local configuration and agent catalog resolution for the Aether AI agent framework. Reads .aether/settings.json to discover agents, prompts, and MCP server configurations.

§Table of Contents

§Key Types

  • AgentCatalog – Resolved catalog of project agents with their prompts, models, and tool filters
  • PromptCatalog – Collection of project prompt files
  • SettingsError – Configuration validation errors

§Usage

use aether_project::load_agent_catalog;
use std::path::Path;

let catalog = load_agent_catalog(Path::new(".")).unwrap();
println!("Project root: {:?}", catalog.project_root());

for agent in catalog.all() {
    println!("Agent: {} (model: {})", agent.name, agent.model);
}

§License

MIT

Re-exports§

pub use prompt_file::PromptFile;
pub use prompt_file::PromptFileError;
pub use prompt_file::PromptTriggers;
pub use prompt_file::SKILL_FILENAME;

Modules§

prompt_file

Structs§

AgentCatalog
A resolved catalog of agents from a project.
AgentEntry
Agent entry DTO for .aether/settings.json.
PromptCatalog
A catalog of prompt artifacts discovered from .aether/skills/.
Settings
Settings DTO for .aether/settings.json.

Enums§

McpServerEntry
An entry in the mcpServers array: either a plain path string or an object with options.
SettingsError
Errors that can occur during settings loading and agent resolution.

Functions§

load_agent_catalog
Load and resolve the agent catalog from a project root.