Skip to main content

Module config

Module config 

Source
Expand description

Runtime configuration.

All of these can be overridden via env vars or CLI flags. Sensible defaults make the binary runnable with just RECURSIVE_API_KEY and RECURSIVE_MODEL set.

Structs§

Config

Functions§

default_system_prompt
load_project_context
Load project context from AGENTS.md at workspace root.
load_project_memory
Load project-local memory (agent-writable) from workspace/.recursive/memory/project.md.
load_user_memory
Load user-global memory from ~/.recursive/memory/user.md. Returns None if the file doesn’t exist. Caps at 8KB.