djMonad is a small, modular agent runtime built around one idea:
the agent is the loop, not a framework object.
monad/core.py: agent loop onlymonad/providers/openai_compatible.py: transport adapter for OpenAI-style gatewaysmonad/tools/registry.py: tool registration and executionmonad/tools/schema.py: JSON schema inference from Python signaturesmonad/config.py:.envloading and settings validationmonad/toolsets/monad.py: default Monad toolsetmain.py: CLI entrypoint
Preferred environment variables:
MONAD_BASE_URLMONAD_API_KEYMONAD_MODEL
Backward-compatible aliases are also supported:
AGENT_BASE_URLAGENT_API_KEYAGENT_MODEL
python -m pip install -r requirements.txt
python main.py "If it is raining in Delhi, book me a cab to Connaught Place."python -m unittest discover -s tests -v.env is ignored. Keep secrets there and commit only .env.example.