How montycloud/moya works
Project type and purpose
• MOYA is a Python-based open-source framework (library/tool) for building and orchestrating LLM-powered AI agents.
• Its goal is to let developers register, configure, and run multiple autonomous agents with memory, classification, and streaming support.
File structure
• Top-level package “moya/” contains the core framework.
• agents/ – implementations of different LLM agents (OpenAI, Bedrock, Ollama, remote, etc.)
• classifiers/ – logic for selecting which agent or task to run
• conversation/ – message and thread abstractions
• memory/ – pluggable memory stores (in-memory, file system)
• orchestrators/ – strategies for coordinating multi-agent workflows (simple, multi-agent, React)
• registry/ – agent registry and repository patterns for lookup & registration
• tools/ – auxiliary tools (e.g., ephemeral memory) that agents can call
• utils/ – constants and shared helpers
• examples/ shows usage clients: quick-start scripts for single and multi-agent scenarios.
• docs/ holds design docs, guides and reference – not part of runtime.
README for additional insights
• Emphasis on extensibility: add new agents, orchestrators, tools.
• Highlights patterns: registry, orchestrator strategies, memory integration, streaming.
• Customer contexts: interactive chat, autonomous CloudOps tasks.