JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28
  • Score
    100M100P100Q97377F
  • License MIT

Yuva AI - Development agent framework with 12 agents, 20 LLM platforms, on-demand prompts, and auto-detection

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 (yuva-ai) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Yuva AI

    A lightweight development agent framework with 12 specialized agents, 19 LLM platforms, on-demand prompts, and auto-detection.

    npm version License: MIT Tests

    What is this?

    A development agent framework that turns your AI coding tool into a multi-agent system:

    • 12 Specialized Dev Agents — Requirements, Planning, Execution, Testing, Security, Debugging, and more
    • On-Demand Prompts — Agent prompts served from the package, not copied to your project
    • Auto-Detection — Detects your AI tool (Claude, OpenCode, Cursor, Codex, etc.) and configures automatically
    • 19 LLM Platforms — Works with Claude, GPT, Gemini, Ollama, OpenCode, Cursor, and more
    • Lightweight Init — Creates only 3 files instead of 67
    • Hybrid Orchestrator — CLI scans your project, AI picks the right agents
    • Session Persistence — Never lose progress across conversations
    • Zero Dependencies — Pure Node.js, installs in seconds

    Quick Start

    # Install globally
    npm install -g yuva-ai
    
    # Initialize in your project (auto-detects your AI tool)
    yuva init
    
    # Or specify your tool
    yuva init opencode
    yuva init cursor
    yuva init codex

    That's it. Open your project in your AI tool — it reads AGENTS.md and knows how to use agents.

    How It Works

    ┌─────────────────────────────────────────────────────────────┐
    │                    AGENTS.md (Orchestrator)                   │
    │  AI reads this file and learns how to use the agent system   │
    └─────────────────────────────────────────────────────────────┘
                                  │
                        ┌─────────┴─────────┐
                        ▼                   ▼
             ┌──────────────────┐  ┌──────────────────┐
             │ yuva agent       │  │ yuva agent       │
             │ orchestrate      │  │ show <name>      │
             │                  │  │                  │
             │ Scans project:   │  │ Returns full     │
             │ - existing code? │  │ agent prompt     │
             │ - language?      │  │ from package     │
             │ - framework?     │  │ on demand        │
             │ - git status?    │  │                  │
             └──────────────────┘  └──────────────────┘
                        │                   │
                        ▼                   ▼
             ┌──────────────────────────────────────────┐
             │          DEVELOPMENT AGENTS (12)          │
             ├──────────────────────────────────────────┤
             │ Existing Code │ Requirements │ Planner   │
             │ Execution     │ Tester       │ Reviewer  │
             │ Security      │ Debugger     │ Refactor  │
             │ Continuity    │ Risk         │ State Mgr │
             └──────────────────────────────────────────┘

    CLI Commands

    # Setup
    yuva init                  # Auto-detect AI tool and initialize
    yuva init opencode         # Initialize for specific tool
    yuva init cursor --force   # Reinitialize for different tool
    yuva upgrade               # Migrate from old format / update
    yuva doctor                # Diagnose setup issues
    
    # Agent Commands
    yuva agent show <name>     # Get full agent prompt (on demand)
    yuva agent list            # List all available agents
    yuva agent orchestrate     # Scan project context (JSON output)
    
    # List & Custom Agents
    yuva list                  # List all installed agents
    yuva add create <name>     # Create a custom agent
    yuva add remove <name>     # Remove an agent
    
    # Multi-LLM
    yuva llm list              # List supported LLMs
    yuva llm use <name>        # Switch LLM platform
    yuva llm detect            # Detect current LLM
    yuva llm generate          # Generate configs for all LLMs
    
    # Configuration
    yuva config                # Show current config
    yuva config set <k> <v>    # Set a config value
    
    # Analytics
    yuva status                # Show project status
    yuva help                  # Show full help

    Available Agents

    Agent Command Purpose
    Existing Code yuva agent show existingcode Analyze existing codebase before changes
    Requirements yuva agent show requirements Gather and clarify what to build
    Risk Assessment yuva agent show riskassessment Identify risks before development
    Planner yuva agent show planning Create architecture and detailed plans
    Execution yuva agent show execution Implement code step-by-step
    Continuity yuva agent show continuity Resume from last session state
    Tester yuva agent show tester Create and run tests
    Reviewer yuva agent show reviewer Code quality analysis
    Security yuva agent show security Security vulnerability audit
    Debugger yuva agent show debugger Bug investigation and fixing
    Refactor yuva agent show refactor Code improvement and cleanup
    State Manager yuva agent show statemanager Update session files

    Multi-LLM Support

    Works with 20 AI platforms. Auto-detected on yuva init:

    Commercial

    Platform Config Auto-Detect
    Claude (Claude Code, VS Code) AGENTS.md Yes
    GPT / Codex CLI AGENTS.md Yes
    Gemini GEMINI.md Yes
    GitHub Copilot .github/copilot-instructions.md Yes
    Cursor .cursor/rules/yuva.mdc Yes
    Windsurf .windsurfrules Yes
    Cody .sourcegraph/instructions.md Yes
    Amazon Q .amazonq/instructions.md Yes
    Antigravity (Google) AGENTS.md Yes

    Open Source / Local

    Platform Config Auto-Detect
    Ollama (Llama, Mistral, DeepSeek, Qwen) OLLAMA_INSTRUCTIONS.md Yes
    LM Studio OLLAMA_INSTRUCTIONS.md -
    Jan.ai OLLAMA_INSTRUCTIONS.md -
    Continue.dev .continue/instructions.md Yes
    Open Interpreter AGENTS.md -
    LLM CLI AGENTS.md -
    Tabby AGENTS.md -

    Terminal / CLI

    Platform Config Auto-Detect
    OpenCode AGENTS.md Yes
    Kilo Code .kilo/instructions.md Yes
    Aider .aider.conf.yml Yes
    # Switch platforms anytime
    yuva llm use opencode
    yuva llm use cursor
    yuva llm use ollama

    Project Structure (After yuva init)

    your-project/
    ├── AGENTS.md                       # Orchestrator (source of truth)
    ├── .aiautomations/
    │   ├── config.json                 # Tool config + package path
    │   └── agents.md                   # Agent index
    └── .cursor/rules/yuva.mdc         # (only if Cursor detected)

    Agent prompts are served on demand from the installed package — no file bloat.

    Custom Agents

    # Create a custom agent
    yuva add create my-agent
    
    # This creates a local override in:
    # .aiautomations/prompts/my-agentagent.md
    
    # Local agents always take priority over package agents

    Upgrading from v3.2 (Old Format)

    If you have the old setup with CLAUDE.md and 67+ copied files:

    yuva upgrade

    This will:

    • Rename CLAUDE.mdAGENTS.md
    • Create .aiautomations/config.json
    • Create .aiautomations/agents.md index
    • Remove copied prompts (now served from package)

    Development

    npm install
    npm test
    npm run test:coverage
    npm run lint
    npm run doctor

    Works With

    Commercial: Claude Code, Cursor, Windsurf, GitHub Copilot, Gemini CLI, Amazon Q, Cody, Antigravity Open Source: Ollama, LM Studio, Jan.ai, Continue.dev, Open Interpreter, LLM CLI, Tabby Terminal: OpenCode, Codex CLI, Kilo Code, Aider Models: Llama 3, Mistral, CodeLlama, DeepSeek, Qwen, Phi-3, GPT-4, Claude, Gemini

    Contributing

    1. Create agent prompt in template/.aiautomations/prompts/
    2. Add to AGENT_MAP in lib/commands/agent.js
    3. Add tests
    4. Submit PR

    License

    MIT License - see LICENSE file for details.