Write your AI agent rules once, deploy to every IDE. Global protocol for Claude Code, Cursor, Windsurf, Antigravity, Codex & more.
# Lotus > Global Agent Rules — Lotus. > Before, every new project meant repetitive prompt imports, skill setups, and wasted time — forgetting that *building* is the only reason to open your editor. > Now, you have Lotus. Write your engineering "Constitution" once, and deploy it everywhere. > Lotus: the smart Docker for managing your Agents globally. Lotus continuously leverages the **latest, safest, and most stable global agent management mechanisms**. By applying these rules to your local AI tools' global configurations, Lotus governs the behavior of your AI agents across **all** your projects simultaneously — without ever needing to write repetitive prompt instructions or perform tedious per-project setups. **Platform Compatibility:** | Platform | Auto-Inject Global? | Notes | |---|---|---| | Claude Code | ✅ Fully automatic | `~/.cursor/CLAUDE.md` auto-loaded | | Antigravity / Cursor CLI | ✅ Fully automatic | `~/.cursor/CLAUDE.md` auto-loaded | | Codex CLI | ✅ Fully automatic | `~/.codex/AGENTS.md` auto-loaded | | OpenCode | ✅ Fully automatic | `~/.config/opencode/AGENTS.md` | | Aider | ✅ Fully automatic | `~/.aider.conf.yml` | | Windsurf | ⚠️ Manual paste | See steps below | | Cursor | ⚠️ Manual paste | See steps below | <details> <summary>📋 Windsurf Manual Setup (click to expand)</summary> 1. Open Windsurf 2. Click the **Customizations icon** in the top-right 3. Navigate to **Rules** 4. Click the **"+ Global"** button 5. Copy and paste the full contents of `core/AGENTS.md` 6. Save — Cascade will now auto-load these rules for every session </details> <details> <summary>📋 Cursor Manual Setup (click to expand)</summary> 1. Open Cursor 2. Open **Cursor Settings** 3. Navigate to **General** → find the **"Rules for AI"** input box 4. Copy and paste the full contents of `core/AGENTS.md` 5. Save — all AI conversations in every project will now carry these rules > 💡 For project-level rules, create a `.cursor/rules/` folder in your project root with `.mdc` rul
Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.