Maze  by maze-agent

A distributed framework for orchestrating LLM agents

Created 1 year ago
437 stars

Top 68.1% on SourcePulse

GitHubView on GitHub
Project Summary

Maze addresses the complexity of managing and executing distributed LLM agent workflows. It provides a framework for fine-grained, task-level management, enhancing flexibility, composability, and enabling task parallelism to boost end-to-end performance. Targeted at developers building scalable agent systems and users of frameworks like LangGraph, Maze offers improved efficiency and resource utilization.

How It Works

Maze employs a distributed architecture with a head/worker model for scalable deployment. Its core innovation lies in task-level management, allowing granular control over agent workflow components. This approach facilitates automatic task parallelism, significantly improving throughput. Robust resource management prevents contention between parallel tasks and concurrent workflows. Maze also serves as a backend, enabling seamless integration and performance gains for other agent frameworks, such as LangGraph, without requiring original logic modifications.

Quick Start & Requirements

  • Installation: Recommended: pip install maze-agent. From source: git clone https://github.com/QinbinLi/Maze.git && cd Maze && pip install -e .
  • Launch: Start head server: maze start --head --port HEAD_PORT. Connect workers: maze start --worker --addr HEAD_IP:HEAD_PORT. Launch Playground: maze start --worker --addr HEAD_IP:HEAD_PORT --playground.
  • Prerequisites: Python. No specific versions, hardware (GPU/CUDA), or datasets are mandated in the provided text.
  • Links: GitHub repository: https://github.com/QinbinLi/Maze.git.

Highlighted Details

  • Achieves significant end-to-end performance improvements via task-level parallelism.
  • Supports seamless migration for frameworks like LangGraph, automatically enabling parallelism.
  • Features a drag-and-drop Maze Playground for intuitive workflow design.
  • Implements effective resource allocation to prevent workflow contention.

Maintenance & Community

No specific details regarding maintainers, community channels (e.g., Discord, Slack), or project roadmap were found in the provided README snippet.

Licensing & Compatibility

The license type is not specified in the provided README snippet. Commercial use compatibility is undetermined.

Limitations & Caveats

The provided README snippet does not detail specific limitations, known bugs, or the project's stability status (e.g., alpha/beta).

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
0
Star History
164 stars in the last 30 days

Explore Similar Projects

Starred by Andrew Ng Andrew Ng(Founder of DeepLearning.AI; Cofounder of Coursera; Professor at Stanford), Thomas Wolf Thomas Wolf(Cofounder of Hugging Face), and
4 more.

ag2 by ag2ai

0.5%
4k
AgentOS for building AI agents and facilitating multi-agent cooperation
Created 1 year ago
Updated 1 day ago
Starred by Gagan Bansal Gagan Bansal(Coauthor of AutoGen; Research Scientist at Microsoft Research), Elvis Saravia Elvis Saravia(Founder of DAIR.AI), and
1 more.

agent-framework by microsoft

2.3%
6k
AI agent and multi-agent workflow framework
Created 8 months ago
Updated 2 days ago
Feedback? Help us improve.