Discover and explore top open-source AI tools and projects—updated daily.
MichaellivDynamic agent workflows for code analysis and research
New!
Top 40.0% on SourcePulse
This project provides a dynamic workflow tool for the Pi AI assistant, enabling complex, multi-agent task execution. It targets users who need to automate intricate processes like codebase audits, large-scale refactors, or multi-perspective research, offering a significant benefit by fanning out work across isolated subagents rather than relying on a single sequential assistant.
How It Works
The core approach involves writing plain JavaScript scripts that define workflows. These scripts leverage several global functions within a Node.js vm sandbox: agent() to spawn isolated subagents, parallel() to run tasks concurrently, and pipeline() for sequential processing across items. Workflows are structured into phases for clear progress tracking, and subagents can return validated JSON output via opts.schema. This design allows for reproducible execution by intentionally restricting access to volatile APIs like Date.now() and Math.random(), ensuring deterministic outcomes.
Quick Start & Requirements
pi install npm:pi-dynamic-workflows or from a local checkout./reload within Pi.Highlighted Details
Maintenance & Community
No specific details regarding contributors, sponsorships, or community channels (e.g., Discord, Slack) are present in the provided README.
Licensing & Compatibility
Limitations & Caveats
This project is explicitly labeled as a prototype. It currently lacks features such as persisted or resumable workflow runs, and a dedicated manager interface for workflows.
1 week ago
Inactive