Skip to content

FREEKYAHCORP/djMonad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

djMonad

djMonad is a small, modular agent runtime built around one idea: the agent is the loop, not a framework object.

Module layout

  • monad/core.py: agent loop only
  • monad/providers/openai_compatible.py: transport adapter for OpenAI-style gateways
  • monad/tools/registry.py: tool registration and execution
  • monad/tools/schema.py: JSON schema inference from Python signatures
  • monad/config.py: .env loading and settings validation
  • monad/toolsets/monad.py: default Monad toolset
  • main.py: CLI entrypoint

Configuration

Preferred environment variables:

  • MONAD_BASE_URL
  • MONAD_API_KEY
  • MONAD_MODEL

Backward-compatible aliases are also supported:

  • AGENT_BASE_URL
  • AGENT_API_KEY
  • AGENT_MODEL

Run

python -m pip install -r requirements.txt
python main.py "If it is raining in Delhi, book me a cab to Connaught Place."

Test

python -m unittest discover -s tests -v

Commit safety

.env is ignored. Keep secrets there and commit only .env.example.

About

This is the AI Agent DJ, DJ Monad! The goal of this DJ is to initially go throw rave online and then eventually use a real DJ set. Join the journey baby!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages