Your Agent

System prompt

The instructions that shape how your agent responds — generated from your knowledge base, and yours to edit.

The system prompt is the set of instructions that tells your agent who your business is, what it does, and how to behave. It's the foundation of every reply. You'll find it in the System prompt editor on the agent page.

How it's generated

You don't write the system prompt from scratch. Lorito generates it for you from the content you've indexed:

  • Soon after you set up a project, Lorito reads your most important content — your homepage and a few key items like your about, services, and contact pages — and synthesises a first prompt that captures what your business is and does.
  • As more of your knowledge finishes indexing, Lorito refines that prompt automatically, drawing on a wider search across everything it has learned to fill in details like specific services and contact information.

The result is a prompt grounded in your real content, ready to answer straightforward visitor questions — not a generic template.

Editing the prompt

The generated prompt is a starting point, not a locked output. Open the editor, make your changes, and click Save as new version. This is where you tune the agent's tone, add rules it should always follow ("always recommend booking a consultation"), or note things your content doesn't make obvious.

Each save is kept as a version, so you can always look back at or return to an earlier one.

Character limit

The editor has a generous character limit, shown as a counter beneath the text. The counter turns amber as you approach the cap and red if you go over — you can't save an over-limit prompt, so trim it down first. In practice there's ample room for detailed instructions.

Versions

Every time the prompt is generated or you save an edit, Lorito records it as a version. Use the version dropdown at the top of the editor to browse them — each is labelled with how it was created (automatically generated, or your own edit) and when.

  • Viewing an older version loads its content into the editor and shows a notice that you're looking at history. Click Back to current to return.
  • Restoring an older version doesn't overwrite history. When you restore, that content becomes a new current version — your version history stays intact, and you can move forward or back at any time.

Regenerating

If your content changes — you've added items, updated your site, or re-indexed — you can rebuild the prompt from the latest knowledge with the Regenerate button. This creates a fresh prompt (saved as a new version) so your earlier work isn't lost.

Regenerating requires indexed knowledge. If nothing has finished indexing yet, the button stays disabled, and while indexing is in progress it's paused until that completes. Make sure at least one source has been indexed before you regenerate. See How indexing works.

On this page