PROJECT.md — Fleet-Wide Context
Shared across all agents. Loaded into every agent’s system prompt.
config/mesh.yaml — Framework Settings
config/agents.yaml — Agent Definitions
Created automatically by openlegion setup or openlegion agent add.
Agent Config Fields
| Field | Type | Description |
|---|---|---|
role | string | Agent’s role identifier |
model | string | LLM model in LiteLLM format (e.g., openai/gpt-4o-mini, anthropic/claude-sonnet-4-20250514) |
skills_dir | string | Path to custom skills directory |
system_prompt | string | Agent’s system prompt |
resources.memory_limit | string | Container memory limit (default: 512m) |
resources.cpu_limit | float | CPU quota (default: 0.5) |
budget.daily_usd | float | Daily LLM spend cap |
budget.monthly_usd | float | Monthly LLM spend cap |
mcp_servers | list | MCP tool servers |
config/permissions.json — Agent Permissions
Per-agent access control with glob patterns for blackboard paths and explicit allowlists for messaging, pub/sub, and API access.
Permission Fields
| Field | Type | Description |
|---|---|---|
can_message | list | Agents this agent can send messages to |
can_publish | list | Pub/sub topics this agent can publish to |
can_subscribe | list | Pub/sub topics this agent can subscribe to |
blackboard_read | list | Glob patterns for readable blackboard keys |
blackboard_write | list | Glob patterns for writable blackboard keys |
allowed_apis | list | External APIs accessible through the vault |
config/workflows/*.yaml — Workflow Definitions
See Workflows for the full specification.
.env — API Keys
Managed automatically by openlegion setup and openlegion channels add. Can also be edited directly:
OPENLEGION_CRED_* variables are loaded by the credential vault and never exposed to agent containers.
