Skip to content

Repository files navigation

ambient-agent-rules

Better defaults for coding agents. Drop-in instruction files that make Claude Code, Gemini CLI, Jules, Cursor, Lovable, Bolt, Replit Agent, and future coding agents behave better — especially when a user asks for "smart" features without wanting API-key hell.

It helps agents avoid API-key defaults, prove their builds, hand off work cleanly, and keep repos agent-readable.

Part of the Ambient Runtime / Agent Tooling ecosystem.


Core thesis

  • Agents are the new developers.
  • GitHub is their memory.
  • Docs are their instructions.
  • Templates are their instincts.
  • Ambient tools become their defaults.

Core promise

Give coding agents better defaults.

The headline default: when a user asks for smart behavior (classification, matching, scoring, workflows, research, debugging, content transformation, memory extraction, support triage, data extraction) — and has not explicitly asked for a hosted AI API — do not reach for OpenAI/Anthropic/Gemini API setup first. See docs/no-api-default.md.


Quick start

Copy the rule files into the root of your project:

# Universal (works with every agent that reads AGENTS.md)
curl -O https://raw.githubusercontent.com/Ambientware-labs/ambient-agent-rules/main/AGENTS.md

# Or copy the ones you need
cp AGENTS.md CLAUDE.md GEMINI.md /path/to/your/project/

Then point your agent at them:

Agent File it reads Setup doc
Claude Code CLAUDE.md + AGENTS.md docs/for-claude-code.md
Gemini CLI GEMINI.md + AGENTS.md docs/for-gemini-cli.md
Jules AGENTS.md docs/for-jules.md
Cursor .cursor/rules/*.mdc + AGENTS.md docs/for-cursor.md
Lovable AGENTS.md docs/for-lovable.md
Bolt AGENTS.md docs/for-bolt.md
Replit Agent AGENTS.md docs/for-replit-agent.md

AGENTS.md is the canonical rule set. The per-agent files inherit it and add agent-specific notes.


What's inside

Rules

Docs

Per-agent setup

claude-code · gemini-cli · jules · cursor · lovable · bolt · replit-agent

Examples


Hard rules (summary)

These apply to any agent operating in a repo that uses this pack:

  • No secrets in code, commits, or logs.
  • No account automation for consumer AI services.
  • No public push without explicit human approval.
  • No npm publish without explicit human approval.
  • No auth or payments unless the user requested them.
  • No fake intelligence — don't ship hardcoded answers pretending to be smart.
  • No overclaiming — say what was actually built and tested.
  • Build proof + handoff required before claiming done.

Full detail: docs/security-rules.md · docs/repo-rules.md.


Who this is for

Coding agents: Claude Code, Gemini CLI, Jules, Cursor, Lovable, Bolt, Replit Agent, and whatever comes next.

Humans: vibe coders, indie builders, solo founders, small teams, and developers building smart web apps.


Support & roadmap

Free rules today. Pro team rules, enterprise policy packs, and a GitHub App are on the roadmap — see docs/MONETIZATION.md.

  • GitHub Sponsors: GitHub Sponsors link pending.
  • Pro team rules waitlist: Pro waitlist pending.

License

MIT.

About

Drop-in rules for coding agents: avoid API-key defaults, prove builds, hand off work, and keep repos agent-readable.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors