moadim 0.19.1

Loop engine for AI agents — routines over REST, MCP, and a built-in web UI
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Built-in default agent config for Codex.

/// Registry key for this agent; also the config filename stem (`codex.toml`).
pub const NAME: &str = "codex";

/// Default `codex.toml` contents, written on startup when the file is absent.
///
/// Runs `codex exec` headless with the composed prompt file passed as an argument (`{prompt_file}`).
///
/// Codex reads its project instructions from `AGENTS.md`, not Claude Code's `CLAUDE.md`, so the
/// daemon must write the moadim system prompt + routine-origin disclosure there for it to be seen.
pub const CONFIG: &str = r#"command = "codex"
args = ["exec", "{prompt_file}"]
instructions_file = "AGENTS.md"
"#;