LibreAI / Agents / ruler
// agents · intellectronica/ruler

ruler

ruler is an open-source agents project by intellectronica (intellectronica/ruler on GitHub). It has 2,940 GitHub stars and 164 forks, is released under the MIT license, and was last updated on GitHub on 30 September 2026.

Write coding-agent rules once, then apply them to every AI coding tool you use.

💎 Hidden gem★ 2.9k stars⑂ 164 forksMITupdated 2026-09
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

GitHub stars
2,940
Forks
164
License
MIT
Last updated on GitHub
30 September 2026
Category
Agents
Listing
Hidden gem — a shorter page for a lesser-known project
Official site
Official site
// how it works

How it works

  1. Define your rules

    Write project conventions in one place.

  2. Install Ruler

    Add it to your project tooling.

  3. Apply to all agents

    Ruler syncs rules into each tool’s expected format.

  4. Keep them synced

    Update once and every agent picks up the change.

// features

Why people love it

One rule source

A single place for all agent conventions.

Multi-tool support

Claude Code, Cursor, Codex, Copilot, Aider, and more.

Automatic sync

Rules propagate to each tool’s config format.

Project-scoped

Different rules per repo, no global mess.

Simple setup

Minimal config, works with existing projects.

Team-friendly

Share conventions through version control.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/intellectronica/ruler.git
    cd ruler
  2. Step 2 — Check the README

    Every project documents its own setup; start with install requirements.

    cat README.md | head -60
  3. Step 3 — Run it

    Follow the project’s launch command — Docker, pip, npm, or a binary release.

    # see README for the exact launch command
// use cases

What you can build

  • Enforce code style across every AI coding tool.
  • Share agent rules with a team via git.
  • Stop maintaining five copies of the same instructions.
  • Onboard new tools without rewriting rules.
Advertisement
// faq

Questions, answered

Who maintains Ruler?

It is an open-source project at intellectronica/ruler with 164 forks. Check recent commits for activity.

Is Ruler free for commercial use?

Yes. MIT licensed, free for any use.

Which coding tools are supported?

Claude Code, Cursor, Codex, Copilot, Aider, and others; see the README for the full list.

Does it replace my AGENTS.md?

No. It generates the per-tool files from your single source of truth.

How much setup does it take?

Very little: define rules once and run the sync command.

// keep exploring

Similar tools

AI Agents

superpowers

An agentic skills framework & software development methodology that works.

★ 294.9k starsMIT
View guide →
AI Agents

system-prompts-and-models-of-ai-tools

FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Q…

★ 144.0k starsGPL-3.0
View guide →
AI Agents

prompts.chat

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete…

★ 171.9k starsUnknown
View guide →
AI Agents

AppAgent

AppAgent — Tencent's multimodal agent that learns smartphone apps by exploration, then operates them.

★ 6.9k starsMIT
View guide →
Agents

agent-rules-books

Battle-tested coding rules for AI agents, distilled from classic programming books.

★ 2.9k starsMIT
View guide →
AI Agents

zero

A coding agent that runs on your model, your machine, your rules.

★ 1.7k starsMIT
View guide →
// alternatives

Alternatives in Agents

The most-starred other Agents projects in the LibreAI catalogue — the realistic shortlist if ruler is not the right fit.

  • openclaw★ 391.6k

    A personal AI that really does things — on any OS, with your data staying yours.

  • superpowers★ 294.9k

    An agentic skills framework & software development methodology that works.

  • ECC★ 275.2k

    Agent harness optimization system with skills, memory and security for Claude Code, Codex and more

  • hermes-agent★ 252.0k

    The agent that grows with you — a Python framework for adaptive AI agents.

  • deepseek-harness★ 245.5k

    DeepSeek's plugin-based agent harness where everything is a plugin.

// more in agents

More in Agents

Nearby Agents projects in the catalogue, closest in stars to ruler — keep exploring the shelf either side of it.

  • opengap★ 3.0k

    Framework-agnostic, git-native standard for defining and sharing AI agents.

  • clawpanel★ 2.9k

    Cross-platform desktop panel for managing OpenClaw and Hermes AI agents.

  • zeron★ 3.0k

    Native control plane for Claude Code, Codex, Cursor, Devin, and other coding agents.

  • rill★ 2.9k

    Blazing-fast business intelligence built for humans and AI agents alike.

  • deepteam★ 3.0k

    Open-source red-teaming framework that stress-tests LLMs and AI agents.

  • memobase★ 2.9k

    User-profile-based long-term memory for AI chatbot applications

Get ruler

Free and open — grab the source, star the repo, and start creating.