Module config

Module config 

Source
Expand description

Configuration module for Ceylon Runtime.

This module provides TOML-based configuration for agents and meshes.

§Example TOML Configuration

[[agents]]
name = "researcher"
model = "ollama::gemma3:latest"
system_prompt = "You are a research assistant."
temperature = 0.7
max_tokens = 1024

§Usage

use ceylon_runtime::config::{AgentConfig, MeshConfig};

// Load a single agent config
let agent = AgentConfig::from_file("agent.toml").unwrap();

// Load a multi-agent mesh config
let mesh = MeshConfig::from_file("agents.toml").unwrap();

Structs§

AgentConfig
Configuration for a single LLM agent.
McpToolConfig
Configuration for a single MCP tool source.
MemoryConfig
Configuration for memory backends.
MeshConfig
Configuration for a multi-agent mesh.

Enums§

McpTransportType
Transport type for MCP connections.
MemoryBackendType
Memory backend type.