Skip to content

maxylev/ramenos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Ramenos CLI

npm version 0 dependencies CI Tests License: MIT

A lightning-fast, zero-dependency CLI to share and install AI multi-agent orchestration configurations directly from GitHub into your local workspace.

Designed for modern AI coding assistants like OpenCode, Gemini CLI, and Claude Code. Bootstrapping an elite multi-agent AI team is now just one command away.


πŸ“‘ Table of Contents


✨ Features

  • πŸš€ Zero Dependencies: Built with native Node.js. Incredibly fast execution.
  • πŸ”— Smart Caching: Uses local caching to safely manage agent files without cluttering your project.
  • πŸ™ Flexible Git Support: Supports GitHub shorthand, raw HTTPS, SSH, and deep folder trees.
  • 🎯 Multi-Framework: Install to .opencode/agents/, .gemini/agents/, .claude/agents/, or any custom structure β€” all from a single command.
  • πŸ“‹ Presets: Choose between new (full startup pipeline) and continue (task delegation for existing projects).
  • 🧩 Header + Prompt Architecture: Framework-specific headers are combined with shared prompts at install time β€” no duplication.
  • πŸ—‘οΈ Clean Uninstall: Remove agents with ramenos del using the same options.

πŸš€ Quick Start

No global installation is required! Run it directly via npx inside your project directory:

# Add agents for an existing project (defaults: opencode + continue preset)
npx ramenos add maxylev/ramenos

# Add agents for all supported frameworks
npx ramenos add maxylev/ramenos -a opencode gemini claude

# Add agents for a new startup project
npx ramenos add maxylev/ramenos -p new

# Add agents globally
npx ramenos add maxylev/ramenos --global

To remove agents later:

# Remove the same agents you installed
npx ramenos del maxylev/ramenos

# Remove from all frameworks
npx ramenos del maxylev/ramenos -a opencode gemini claude

# Remove from global directory
npx ramenos del maxylev/ramenos -g

πŸ“– Usage Guide

Commands

Command Description
add <repository> Install agent files into your project
del <repository> Remove previously installed agent files

Options

Usage: ramenos <add|del> <repository> [options]

Options:
  -g, --global              Target global (~/.config/) instead of local project
  -a, --agent <agents...>   Target frameworks. Defaults to 'opencode'.
                            Supported: opencode, gemini, claude, or any custom name.
  -p, --preset <preset>     Prompt preset: 'new' or 'continue'. Defaults to 'continue'.
                            new      β€” Full startup pipeline (ideation β†’ deployment)
                            continue β€” Task delegation for existing projects
  --copy                    Copy files instead of symlinking (legacy mode only)
  -y, --yes                 Skip all confirmation prompts
  -h, --help                Display help message

Examples

Install for all three frameworks at once:

npx ramenos add maxylev/ramenos -a opencode gemini claude

Start a new startup project from scratch:

npx ramenos add maxylev/ramenos -p new

Install for Gemini CLI with the continue preset:

npx ramenos add maxylev/ramenos -a gemini -p continue

Remove agents from a specific framework:

npx ramenos del maxylev/ramenos -a gemini

Remove all agents and clean up:

npx ramenos del maxylev/ramenos -a opencode gemini claude

CI/CD or Automated Scripting:

npx ramenos add maxylev/ramenos --yes -a opencode gemini claude

🎯 Target Frameworks

Ramenos knows the correct directory structure for popular AI tools:

Framework Local Path Global Path (-g)
opencode .opencode/agents/ ~/.config/opencode/agents/
gemini .gemini/agents/ ~/.gemini/agents/
claude .claude/agents/ ~/.claude/agents/
any custom .<name>/agents/ ~/.config/<name>/agents/

πŸ“‹ Presets

Presets control the system prompt that gets combined with the framework-specific header at install time.

continue (default)

For existing projects that need a leader/developer hierarchy. The developer reports to the leader until the user's assigned task is complete. No planning files, no phases β€” just task delegation and verification.

new

For starting from scratch β€” a full startup pipeline with phases: Ideation β†’ Validation β†’ Architecture β†’ Planning β†’ Implementation β†’ Testing β†’ Deployment. Uses IMPLEMENTATION_PLAN.md for state tracking.


πŸ”— Supported Repository Formats

Ramenos looks for an agents/ folder by default in the root of the repository, but supports deep links if you want to pull a specific sub-folder.

1. GitHub Shorthand:

npx ramenos add my-labs/my-awesome-agents

2. Direct Sub-folder Links:

npx ramenos add https://github.com/ai-labs/my-agents/tree/main/agents/orchestration

3. SSH Formats:

npx ramenos add git@github.com:my-company/internal-agents.git

πŸ› οΈ Creating Your Own Agent Repo

Want to share your own agents via ramenos? Use the structured format with separate headers and prompts:

my-awesome-agents/
β”œβ”€β”€ README.md
└── agents/
    β”œβ”€β”€ headers/
    β”‚   β”œβ”€β”€ opencode/
    β”‚   β”‚   β”œβ”€β”€ leader.md      # Frontmatter for opencode
    β”‚   β”‚   └── developer.md
    β”‚   β”œβ”€β”€ gemini/
    β”‚   β”‚   β”œβ”€β”€ leader.md      # Frontmatter for gemini
    β”‚   β”‚   └── developer.md
    β”‚   └── claude/
    β”‚       β”œβ”€β”€ leader.md      # Frontmatter for claude
    β”‚       └── developer.md
    └── prompts/
        β”œβ”€β”€ new/
        β”‚   β”œβ”€β”€ leader.md      # Prompt body for "new" preset
        β”‚   └── developer.md
        └── continue/
            β”œβ”€β”€ leader.md      # Prompt body for "continue" preset
            └── developer.md

Then anyone can install your setup using: npx ramenos add your-username/my-awesome-agents

Header Files

Header files contain only the YAML frontmatter (including --- delimiters). Each framework has its own format:

opencode (headers/opencode/leader.md):

---
description: My leader agent description
mode: primary
model: router/leader
temperature: 0.1
---

gemini (headers/gemini/leader.md):

---
name: leader
description: My leader agent description
tools:
  - read_file
  - write_file
  - grep_search
---

claude (headers/claude/leader.md):

---
name: leader
description: My leader agent description
tools: Agent(developer), Read, Glob, Grep, Bash
model: inherit
permissionMode: auto
---

Prompt Files

Prompt files contain only the markdown body (no frontmatter). They are shared across all frameworks:

You are the Leader agent. Your job is to orchestrate the development workflow...

**RULES:**
- Rule 1
- Rule 2

πŸ—οΈ How It Works

add

  1. Fetch: The repository is cloned (or updated) into ~/.ramenos/cache/.
  2. Detect: If the source has headers/ and prompts/ subdirectories, structured mode is used.
  3. Combine: For each target framework, matching header and prompt files are combined:
    • Header from agents/headers/{framework}/{file}.md
    • Prompt from agents/prompts/{preset}/{file}.md
    • Combined into a single .md file written to the target directory.
  4. Install: The final agent files are written to .{framework}/agents/ in your project.

del

  1. Fetch: The repository is fetched (same as add) to determine which files were installed.
  2. Remove: For each target framework, the matching agent files are deleted from .{framework}/agents/.
  3. Cleanup: If the agents directory is empty after removal, it is deleted automatically.

🧠 Advanced: OpenCode & 9router Setup (for custom model)

For users setting up an advanced local agent workflow with fallback models and web search capabilities, follow these steps to integrate OpenCode, 9router, and MCP servers.

1. Model Routing with 9router

Run the following command to install and start the 9router:

npm install -g 9router
9router

Configure 9router via the UI at http://localhost:20128 to create model combos with fallback support (e.g., configuring leader and developer endpoints).

2. OpenCode Configuration

Update your opencode.json file to point to your local 9router instance:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "router": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "router",
      "options": {
        "baseURL": "http://localhost:20128/v1"
      },
      "models": {
        "leader": {
          "name": "leader"
        },
        "developer": {
          "name": "developer"
        }
      }
    }
  }
}

3. Web Search & Context (MCP)

Equip your agents with web search and up-to-date documentation scraping. Add the desired tools to your opencode.json.

MCP searchfetch & context7:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "searchfetch": {
      "type": "local",
      "command": ["npx", "-y", "searchfetch"],
      "enabled": true
    },
    "context7": {
      "type": "remote",
      "url": "https://mcp.context7.com/mcp",
      "headers": {
        "CONTEXT7_API_KEY": "your_api_key_here"
      },
      "enabled": true
    }
  }
}

About

Ramen agents.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors