ceylon_runtime/config/
mod.rs

1//! Configuration module for Ceylon Runtime.
2//!
3//! This module provides TOML-based configuration for agents and meshes.
4//!
5//! # Example TOML Configuration
6//!
7//! ```toml
8//! [[agents]]
9//! name = "researcher"
10//! model = "ollama::gemma3:latest"
11//! system_prompt = "You are a research assistant."
12//! temperature = 0.7
13//! max_tokens = 1024
14//! ```
15//!
16//! # Usage
17//!
18//! ```rust,no_run
19//! use ceylon_runtime::config::{AgentConfig, MeshConfig};
20//!
21//! // Load a single agent config
22//! let agent = AgentConfig::from_file("agent.toml").unwrap();
23//!
24//! // Load a multi-agent mesh config
25//! let mesh = MeshConfig::from_file("agents.toml").unwrap();
26//! ```
27
28mod agent_config;
29mod mcp_config;
30mod memory_config;
31mod mesh_config;
32
33pub use agent_config::AgentConfig;
34pub use mcp_config::{McpToolConfig, McpTransportType};
35pub use memory_config::{MemoryBackendType, MemoryConfig};
36pub use mesh_config::MeshConfig;