Pheromind is a cutting-edge AI agent orchestration framework designed for the autonomous management and execution of complex projects. It is particularly geared towards intricate software development lifecycles adhering to an AI-Verifiable Methodology, ensuring project progress is tracked through concrete, measurable, and AI-confirmable outcomes.
A key capability of Pheromind is Architect-Driven Project Jumpstarting. This allows for the rapid initialization of new software projects by leveraging detailed specifications provided by a senior architect (typically within an agent-specs folder). The swarm then autonomously conducts research, formulates a phased implementation plan, and scaffolds the entire application end-to-end, preparing a comprehensive foundation for a human development team.
At its heart, Pheromind employs a pheromone-based swarm intelligence model. A diverse collective of specialized AI agents collaborates and adapts by interacting indirectly through a shared state medium. A cornerstone of Pheromind's innovation is its βοΈ @orchestrator-pheromone-scribe. This central agent interprets rich, natural language summaries from high-level Task Orchestratorsβnarratives detailing project progress and AI-verifiable resultsβand translates them into structured, actionable "digital pheromones" or :signals and human-centric documentation registry updates. These are stored in the .pheromone file, guiding the swarm's behavior, enabling dynamic task allocation, robust state management, and emergent problem-solving, all while maintaining a clear, human-auditable trail.
Pheromind isn't just about automating tasks; it's about creating an adaptive, intelligent system that can navigate the complexities of modern project execution with a focus on verifiable deliverables, from initial project jumpstarting to ongoing development and refinement, achieving a level of autonomy previously unattainable.
Pheromind Discord Server: https://discord.gg/rTq3PBeThX
Watch the full setup video to see these steps in action:
To grasp the power of Pheromind, familiarize yourself with these foundational principles:
-
π§ Pheromone-Based Swarm Intelligence (Stigmergy): Inspired by social insects, Pheromind agents interact indirectly through a shared environment β the
.pheromonefile. This file contains structured JSON:signalsrepresenting project state and adocumentationRegistrytracking human-readable project artifacts. Agents "sense" these signals, and Task Orchestrators provide natural language summaries that the Pheromone Scribe uses to "deposit" new trails. This "pheromone landscape" guides agent actions, fostering decentralized yet coordinated work. -
π― AI-Verifiable Project Execution: Pheromind champions a methodology where project progression is defined by tasks with AI-Verifiable End Results. Whether jumpstarting a new project or developing features, plans like the Master Project Plan or a Phased Implementation Plan detail phases and micro-tasks, each with specific, programmatically checkable completion criteria. Task Orchestrators ensure their delegated worker tasks adhere to these verifiable outcomes, making progress unambiguous and AI-auditable.
-
ποΈ Architect-Driven Project Jumpstarting (New Capability): Pheromind can rapidly initialize new projects from a rich set of specifications provided by a senior architect (typically in an
agent-specsfolder, with vision documents inagent-specs/vision/).- Specification Ingestion: The swarm processes these architect-provided documents.
- Research Phase: A
π @research-planner-strategicagent conducts deep research based on the architect's vision, storing findings in a/researchfolder. - Phased Implementation Planning: A
πΊοΈ @orchestrator-implementation-planneragent, using the architect's specs and research, drafts a robust, end-to-end implementation plan and work roadmap. This plan, stored in/implementation-plan, splits the product into key phases, each with detailed documentation and test considerations designed for AI-assisted developer handoff. - End-to-End Scaffolding: A
π οΈ @orchestrator-end-to-end-application-scaffolderagent then creates the complete file and folder structure for the application's source code (in/srcor similar) and tests (in/testsor similar). This scaffold represents all intended functionality with placeholders, ready for a development team. Specialized workers likeπ¨βπ» @coder-scaffolderandποΈ @test-scaffolderexecute the detailed scaffolding. This process ensures that new projects start with a well-researched plan and a comprehensive structural foundation.
-
βοΈ Autonomous Task Orchestration with Verifiable Outcomes: Once initiated with a high-level objective (e.g., a User Blueprint or an Architect's Specification for jumpstarting), Pheromind autonomously manages the project workflow. The
π§ @uber-orchestratorstrategically delegates phases to Task-Specific Orchestrators, guided by the current.pheromonestate. These orchestrators, in turn, assign granular tasks to Worker Agents, ensuring each task has an AI-verifiable end result. Progress, reported as rich natural language summaries detailing these verifiable outcomes, is processed by the Pheromone Scribe to update the global state. -
π¬ Structured
:signalsβ The Language of the Swarm's Interpreted State: Generated exclusively by theβοΈ @orchestrator-pheromone-scribe's interpretation of natural language summaries, these are machine-readable, structured JSON objects influencing swarm behavior. -
π£οΈ Natural Language Summary Interpretation β The Scribe's Keystone Role: Worker Agents produce AI-verifiable outputs and natural language
Summaryreports. Task-Specific Orchestrators aggregate these into a comprehensive NL summary dispatched to the Pheromone Scribe. The Scribe, usinginterpretationLogic(from.swarmConfig), translates this summary into structured:signalsanddocumentationRegistryupdates. -
π Human-Centric Documentation Trail: The Pheromone Scribe populates a
documentationRegistrywithin the.pheromonefile, tracking vital project documents (architect specs, research reports, implementation plans, code, test reports, etc.), making progress transparent.
agent-specs/: Input directory provided by the senior architect.agent-specs/vision/: Contains the primary vision/blueprint document(s).- Other subdirectories for detailed feature specs, NFRs, data models, etc.
research/: Output directory for theπ @research-planner-strategicagent.implementation-plan/: Output directory for theπΊοΈ @orchestrator-implementation-planner.implementation-plan/Roadmap.md: Overall project roadmap.implementation-plan/overall_acceptance_tests/: High-level E2E tests.implementation-plan/<phase_name>/: Per-phase documentation and test considerations.
src/(or similar): Output directory for scaffolded application source code.tests/(or similar): Output directory for scaffolded application test structures.
- The
.pheromoneFile: Swarm's shared understanding & documentation hub (managed by Scribe). - The
.swarmConfigFile: Scribe's interpretation rulebook (containsinterpretationLogic). - The
.roomodesFile: Agent definitions, including specialized agents for jumpstarting.
βοΈ @orchestrator-pheromone-scribe: Sole manipulator of.pheromone, interpreter of summaries.π© @head-orchestrator: Initiates project by passing the initial directive (e.g., to jumpstart from a blueprint) toπ§ @uber-orchestrator.π§ @uber-orchestrator: Primary strategic delegator. For jumpstarting, it identifies architect specs inagent-specs/and orchestrates the kickstart, planning, and scaffolding sequence.- Specialized Jumpstart Orchestrators:
π @orchestrator-project-kickstart: Processes architect specs fromagent-specs/, initiates research (output toresearch/), and sets up initial project directories (includingimplementation-plan/).πΊοΈ @orchestrator-implementation-planner: Creates the phased implementation plan and roadmap inimplementation-plan/, using inputs fromagent-specs/andresearch/.π οΈ @orchestrator-end-to-end-application-scaffolder: Oversees the complete scaffolding of source code (e.g., insrc/) and test structures (e.g., intests/) based onagent-specs/and theimplementation-plan/.
- Specialized Jumpstart Workers:
π @research-planner-strategic: Conducts deep research based on architect's vision.π¨βπ» @coder-scaffolder: Generates placeholder source code for structural completeness.ποΈ @test-scaffolder: Generates placeholder test structures without making them pass by altering app logic.
- Other Task-Specific Orchestrators & Worker Agents: Pheromind includes a suite of agents for detailed specification, TDD coding, testing, refinement, documentation, and DevOps, which are utilized after the initial jumpstart or for other project workflows.
Pheromind operates via a cyclical "boomerang" process. For project jumpstarting, this is adapted:
- Initiation (Jumpstart):
- A senior architect prepares detailed specifications in the
agent-specs/folder, including a primary vision/blueprint document (e.g.,agent-specs/vision/Product_Vision.md). - The
π© @head-orchestratoris activated with a directive like"PROJECT_BLUEPRINT_KICKSTART", pointing to this blueprint.
- A senior architect prepares detailed specifications in the
- Uber Orchestration (Jumpstart):
π§ @uber-orchestratorreceives the directive.- It tasks
π @orchestrator-project-kickstartto processagent-specs/, manage research (output toresearch/), and ensureimplementation-plan/directory creation. π @orchestrator-project-kickstartdelegates toπ @research-planner-strategicand other setup agents. Workers report summaries.π @orchestrator-project-kickstartsynthesizes these for the Scribe.
- It tasks
- Implementation Planning: Based on Scribe updates,
π§ @uber-orchestratortasksπΊοΈ @orchestrator-implementation-planner.- This orchestrator uses
agent-specs/andresearch/outputs to create the detailed phased plan inimplementation-plan/. It delegates documentation and overall test definition tasks. It reports a comprehensive summary to the Scribe.
- This orchestrator uses
- End-to-End Scaffolding: Based on Scribe updates,
π§ @uber-orchestratortasksπ οΈ @orchestrator-end-to-end-application-scaffolder.- This orchestrator uses
agent-specs/andimplementation-plan/to manage the creation of all source code files (with placeholders byπ¨βπ» @coder-scaffolder) and test files (with placeholders byποΈ @test-scaffolder). It reports a comprehensive summary to the Scribe.
- This orchestrator uses
- Scribe's Interpretation & State Update (Throughout): At each handoff from a Task Orchestrator, the
βοΈ @orchestrator-pheromone-scribeloadsinterpretationLogicfrom.swarmConfig, analyzes the incoming NL summary, generates/updates structured JSON:signals, updates thedocumentationRegistry(with paths to architect specs, research docs, plans, scaffold reports), and activatesπ© @head-orchestrator. - Cycle Continuation: The
π© @head-orchestratorre-engagesπ§ @uber-orchestrator, which reads the newly updated.pheromonefile, guiding the next step in the jumpstart or subsequent development phases. - Developer Handoff: After the jumpstart, the repository contains a fully scaffolded application structure, research, and a detailed implementation plan, ready for a development team to begin focused, AI-assisted implementation.
- Architect-Driven Project Jumpstarting: Rapidly initializes new projects with a complete scaffold and plan from architect specifications.
- AI-Verifiable Project Execution: Ensures progress is tracked via concrete, measurable, and AI-confirmable outcomes.
- Autonomous Project Management: Manages complex lifecycles with minimal human intervention.
- Human-Centric Documentation Trail: Actively tracks and registers human-readable documents.
- Sophisticated NL-Driven State Updates: The Scribe translates rich narrative summaries into structured state.
- Dynamic & Adaptive Tasking: Evolves project direction based on real-time, interpreted state.
- Verifiable Progress: Pheromind is about proving tasks are done correctly.
- The Power of Interpreted Narratives: Leverages natural language for rich communication.
- Architect-Centric Initialization: For new projects, respects and builds upon the detailed vision and specifications provided by senior architects.
- Scaffolding for Acceleration: Provides a comprehensive structural foundation to accelerate development.
- Transparency and Human Oversight: AI-verifiable outcomes and a maintained
documentationRegistryprovide clear insight.
These three components are crucial:
- The swarm's interpreted shared state, exclusively written to by the Pheromone Scribe.
- Contains:
signals: An array of structured JSON:signalobjects.// Example Signal in .pheromone's "signals" array { "id": "signal-xyz-789", "signalType": "feature_implementation_verified_tdd_complete", "target": "UserAuthenticationModule", "category": "task_status_verified", "strength": 9.2, "message": "TDD cycle for UserAuthenticationModule completed. All 42 unit tests passed, verifying AI-actionable end results from Test Plan TP-003. Ready for integration.", "data": { "featureBranch": "feature/user-auth-v2", "commitSha": "fedcba987654", "testPlanId": "TP-003", "verifiedResultCount": 42, "relevantDocRegistryKey": "doc_user_auth_test_report_final" }, "timestamp_created": "2023-11-15T14:00:00Z", "last_updated_timestamp": "2023-11-15T14:00:00Z" }
documentationRegistry: A JSON object mapping keys to metadata about project documents (path, description, timestamp), enabling human and AI access to critical information.// Example entry in .pheromone's "documentationRegistry" "doc_master_project_plan_v1": { "path": "docs/Master_Project_Plan.md", "description": "Master Project Plan with AI-verifiable micro-tasks and phases for Project Phoenix.", "lastUpdated": "2023-11-10T10:00:00Z", "generatedBy": "orchestrator-project-initialization" }
- A separate JSON file defining the Pheromone Scribe's "brain" and pheromone dynamics.
- Crucially contains
interpretationLogic: Rules, patterns, semantic mappings for the Scribe to parse NL summaries and generate/update:signalsanddocumentationRegistryentries. - Also defines
evaporationRates,amplificationRules,signalPriorities, validsignalTypes,categorydefinitions, etc. - Loaded by the Scribe; never modified by the Scribe. Careful tuning enables sophisticated emergent behavior.
- Contains detailed JSON definitions for all AI agent modes, specifying their roles,
customInstructions, and capabilities, forming the behavioral blueprint of the swarm.
- Architect Preparation:
- A senior architect creates the
agent-specs/directory in the new project root. - Populate
agent-specs/vision/with a primary blueprint document (e.g.,Product_Vision.mdbased on the template provided). - Add any other detailed specifications, NFRs, data models, etc., into relevant subdirectories within
agent-specs/.
- A senior architect creates the
- Setup Pheromind Environment:
- Ensure a compatible Roo Code environment.
- Configure your LLM (e.g., Claude 3.x) and API keys.
- Place the Pheromind
.roomodes(with jumpstart agent definitions) and.swarmConfig(with updatedinterpretationLogicfor jumpstart artifacts) files in the project root.
- Initiate the Swarm for Jumpstarting:
- Activate the
π© @head-orchestratorwith parameters such as:Original_User_Directive_Type_Field:"PROJECT_BLUEPRINT_KICKSTART"Original_User_Directive_Payload_Path_Field: Path to your main blueprint file (e.g.,"./agent-specs/vision/Product_Vision.md")Original_Project_Root_Path_Field:"."Pheromone_File_Path:"./.pheromone"- Optionally,
Project_Nameand paths forresearch,implementation-plan,src,testsif they need to be explicitly passed rather than derived by convention by theuber-orchestrator.
- Activate the
- Observe & Iterate: Monitor agent logs, the
.pheromonefile, and the generated directories (research/,implementation-plan/,src/,tests/) to track the autonomous, AI-verifiable progress of the project initialization and scaffolding. - Developer Handoff: Once the jumpstart process is complete, the repository is ready for a development team to review the plans and begin building out the scaffolded functionality.
(Follows the original Pheromind guidelines, using a User Blueprint or Change Request for the π @orchestrator-sparc-specification-master-test-plan or other relevant orchestrators for feature development.)
- Architect Specifications (
agent-specs/folder):- Primary Blueprint/Vision Document (e.g.,
agent-specs/vision/Product_Vision.md): This is paramount. It should clearly define the project name, vision, goals for the initial buildout, key features/epics, high-level NFRs, technology considerations/constraints, key assumptions, out-of-scope items, success criteria for the agentic buildout, and high-level data/integration concepts. Use the provided template as a guide. - Supporting Documents: Include detailed specs for features, data models, specific NFRs, etc., in other subdirectories of
agent-specs/and reference them from the main blueprint. Clarity and completeness here directly impact the quality of the research, planning, and scaffolding.
- Primary Blueprint/Vision Document (e.g.,
(Original content largely applies here.)
(Original content largely applies. For jumpstarting, the swarmConfig.interpretationLogic should be tuned to recognize keywords and paths related to architect specs, research outputs, phased plans, and scaffolding reports, e.g., "architect vision processed from agent-specs/vision/", "research on XYZ technology complete in research/tech_xyz/", "implementation plan phase 1 documented in implementation-plan/phase_01/", "source code scaffold for module ABC created in src/abc/".)
(Standard contributing guidelines. Potential future directions could include more sophisticated scaffold generation, automated feedback loops on architect specs, etc.)
This is an open-source project under the MIT License.
Help fund continued development and new features!
Pheromind is maintained by a single developer
Every donation directly helps improve the tool
Unleash the collective, verifiable intelligence of Pheromind and transform how your complex projects are initiated and executed.