JSPM

  • Created
  • Published
  • Downloads 518
  • Score
    100M100P100Q126809F
  • License MIT

Monomind - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (monomind) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Monomind Mascot

    Monomind

    The autonomous Claude Code orchestration layer.
    Research β†’ Build β†’ Review β†’ Repeat. While you sleep.

    Docs npm downloads stars license node

    πŸ“– Docs  Β·  Quickstart  Β·  What It Does  Β·  Commands  Β·  Packages  Β·  GitHub


    What is Monomind?

    You already use Claude Code. Monomind makes it autonomous.

    Give it a direction. Walk away. Come back to a finished feature.

    /mastermind:autodev --tillend --focus security

    Monomind researches your project, selects the highest-impact improvement, builds it with a coordinated agent chain, reviews until zero findings β€” then loops. Indefinitely. Until there is nothing left to fix.

    Without Monomind   You prompt Claude β†’ wait β†’ review β†’ iterate manually
    With Monomind      You set a direction β†’ Monomind executes the entire loop

    Quickstart

    # Install globally
    npm install -g monomind
    
    # Initialise in your project
    cd your-project
    monomind init
    
    # Wire into Claude Code as an MCP server
    claude mcp add monomind npx monomind mcp start
    
    # Start the background daemon
    monomind daemon start

    Open Claude Code and run your first autonomous loop:

    /mastermind:autodev --tillend

    β†’ Full setup guide


    What It Does

    /mastermind:autodev β€” The Autonomous Build Loop

    Phase 1  Research    Parallel scan: git log, file analysis, TODO/FIXME grep,
                         monograph god nodes, memory search for prior work.
                         Returns ranked list of 3–5 improvement candidates.
    
    Phase 2  Select      Picks by feasibility Γ— blast-radius Γ— focus alignment.
                         Stores selection to AgentDB. Avoids repeating past work.
    
    Phase 3  Build       Spawns architect β†’ coder β†’ tester β†’ reviewer chain.
                         Runs with concrete spec and acceptance criteria.
    
    Phase 4  Review      Code Reviewer + Security Engineer + Reality Checker
                         run in parallel. Auto-fixes. Repeats up to 5Γ— until clean.
    
    Phase 5  Loop        Records completion. Continues to next improvement.
                         --tillend loops until zero findings remain.

    Swarm Topologies

    Hierarchical   Coordinator β†’ specialists β†’ reviewers. Best for features.
    Mesh           All-to-all communication. Best for codebase analysis.
    Adaptive       Changes topology based on task complexity.
    Hive-Mind      Byzantine fault-tolerant consensus across 6+ agents.

    Memory & Intelligence

    Every session writes to AgentDB β€” a hybrid SQLite + HNSW vector store. The next session reads it. Monomind learns which improvements it already shipped, which patterns failed, and which agents perform best on which tasks.


    Commands

    Core Loop Commands

    Command What it does
    /mastermind:autodev Autonomous research β†’ build β†’ review loop
    /mastermind:autodev --tillend Loops until zero findings remain
    /mastermind:build Build a feature from a brief
    /mastermind:review Iterative code review until clean
    /mastermind:debug Systematic root-cause debugging
    /mastermind:tdd Test-Driven Development: Red→Green→Refactor
    /mastermind:plan Write a comprehensive implementation plan

    Research & Ideas

    Command What it does
    /mastermind:research Deep research with structured output
    /mastermind:idea Idea generation and evaluation
    /mastermind:architect Architecture review and design
    /mastermind:techport Assess a foreign codebase

    Autonomous Orgs

    /mastermind:createorg --schedule 1h   # define + schedule an agent org
    /mastermind:runorg                    # start the loop
    /mastermind:orgs                      # list all orgs + status
    /mastermind:stoporg                   # stop a running org

    Business Domains

    /mastermind:marketing    /mastermind:content    /mastermind:sales
    /mastermind:finance      /mastermind:ops        /mastermind:release

    β†’ Full command reference (80+ commands)


    CLI

    monomind init                   # project setup wizard
    monomind daemon start           # start background workers
    monomind agent spawn <type>     # spawn a named agent
    monomind swarm init             # initialise a multi-agent swarm
    monomind memory store           # store to AgentDB
    monomind memory search          # semantic search over AgentDB
    monomind hooks pre-task         # run pre-task security scan
    monomind doctor                 # diagnose your setup

    Packages

    Package npm Purpose
    monomind npm Umbrella β€” install this
    @monoes/monomindcli npm CLI engine (41 commands)
    monofence-ai npm AI manipulation defence
    @monoes/monograph npm Knowledge graph engine

    monofence-ai β€” AI Security

    Protect your LLM pipelines from prompt injection, jailbreaks, and evasion attacks:

    import { isSafe, createMonoDefence } from 'monofence-ai';
    
    isSafe('Ignore all previous instructions');  // β†’ false (~0.04ms)
    
    const fence = createMonoDefence({ enableContextTracking: true });
    const result = await fence.detect(userInput);
    // result.safe, result.threats, result.overallRisk

    Features: EvasionDetector (homoglyphs, leetspeak, base64) Β· ContextTracker (multi-turn escalation) Β· OutputScanner (PII leakage, echo attacks) Β· Allowlist (5 built-in + custom rules) Β· SecurityHook (pre-task blocking)


    How the Agents Work

    Claude Code  ←→  MCP Server  ←→  Monomind Daemon
                                          β”‚
                        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                        β–Ό                 β–Ό                 β–Ό
                   AgentDB           Monograph          Hooks
                (vector memory)   (knowledge graph)   (17 hook types)
                        β”‚                 β”‚                 β”‚
                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                          β–Ό
                                  Agent Swarm
                        architect Β· coder Β· tester Β· reviewer
                        security Β· perf Β· docs Β· researcher

    Monomind coordinates. Claude Code creates. You ship.


    Why Monomind?

    • 80+ slash commands wired directly into Claude Code
    • 60+ agent types for every engineering task
    • Self-learning routing β€” agents improve with every session
    • Monograph β€” full codebase knowledge graph, always fresh
    • AgentDB β€” hybrid SQLite + HNSW vector memory
    • 17 hook types β€” pre/post edit, task, command, session
    • Security layer β€” monofence-ai defends every agent boundary
    • One command to set direction. Nothing else needed.

    Resources


    Monomind
    Built with β™₯ by monoes Β· MIT License