Skip to content

Custom Agents & Rules

Your project. Your way of working.

Give recurring tasks a clear role and your project a shared set of instructions. Custom Agents, Rules and LURUS.md bring different kinds of context to the same workflow.

Profiles and rules are reviewed instructions, not guarantees. Agent tools and models remain subject to the active permissions and availability.

An agent profile defines its role, tools and working instructions.

  1. Define the role.

    An agent profile describes a specialist’s purpose and instructions. It can specify tools, a model and a turn limit.

  2. Inspect before calling.

    List and inspect the available profiles. Trust decisions and model availability are checked when an agent is called.

  3. Use it for a clear task.

    Call the chosen agent explicitly with its key and a focused task. Its tool list cannot grant unlimited access.

Capture of a generated plan artifact with affected files, implementation steps and checks.
The plan before the changes

Context for the whole project

Roles specialise. Rules align.

Keep architecture, commands and conventions in LURUS.md. Rules add shared instructions. /config and /rules help you inspect the setup; newly created rules need a new session to apply.

Create your own agent.

Create .lurus/agents/reviewer.md in your project and save this profile in it. Use ~/.lurus/agents/reviewer.md to make it available across projects. The filename reviewer is the key used to call it.

Start a new CLI session after creating or editing the profile. This example is read-only. Inspect the profile, approve it with trust and call it with a specific task.

---
name: Reviewer
description: Review correctness and tests
tools:
  - Read
  - Grep
  - GitInspect
maxTurns: 12
---

Check correctness and tests. Report concrete findings with file references. Do not change files.

Know which instructions are loaded.

Start with the existing profiles and project context. Use a real listed key when inspecting or running an agent.

  1. List agent profiles
    /agents list
  2. Show profile metadata and file path
    /agents show reviewer
  3. Approve the reviewed profile
    /agents trust reviewer
  4. Run the reviewer
    /agents run reviewer Review the current changes and tests.

Your code stays yours.

Source code and request context are processed with Zero Data Retention. No use for model training. Providers and processing regions are disclosed transparently.

See privacy and processing details

A few things to know before you start.

Are Custom Agents the same as orchestration?
No. Custom Agents are explicitly callable specialist profiles. Multi-agent orchestration is a separate workflow with its own availability and controls.
Can an agent profile bypass permissions?
No. A profile’s tools remain constrained by the available tool allowlist and active permissions. Model selection is also checked.
Do rules guarantee that conventions are followed?
No. They provide project instructions. Review results and keep your tests and code review. Rule globs are not active in the current release.

Custom Agents & Rules

Give the next task the right specialist.

Start with the profiles and instructions already in your project. Review the role, then hand it a clear task.

Profiles and rules are reviewed instructions, not guarantees. Agent tools and models remain subject to the active permissions and availability.

Want to start with your team? Talk to us.

A deliberate choice

Before your first prompt.

Interactive demo
Lurus Codeprivacy-demo · illustrative workspace

Demo session ready. Your model choice and data route are separate decisions.

Illustrative scenario. No real sign-in, security test or code transmission takes place.

Image preview