Skip to content

Overview

Persona ​

The persona is the file PERSONA.md in a workspace's folder: the instructions every chat and spoken session in that workspace starts from.

AskWhich tone do you answer in here?

With no PERSONA.md the assistant uses the built-in line: concise and helpful, reaching for a tool when it answers better. With one, it follows your file.

AskIs the lease filed anywhere?

With the persona below, the assistant looks in the knowledge folder first, and says "not filed" when the search comes back weak.

AskChange your PERSONA.md to answer in German.

It cannot. The file lies beside the folder the assistant's file tools reach, so only you edit it.

What it gives you ​

  • One file per workspace. Each workspace has its own PERSONA.md, so a work workspace and a home one can answer differently (Workspaces).
  • Plain text. The whole file is the system prompt. Write it as you would brief a person.
  • Live. The file is read again for every message: save it and the next message follows it, with no restart.
  • Out of the model's reach. It lies in the workspace's root, beside permissions.json, not in mnt/. The file tools cannot read or change it, so a document cannot rewrite the assistant's identity.
  • A safe fallback. A missing or empty file means the built-in line. A file that cannot be read also falls back, and the daemon logs a warning.

An example ​

The repository ships one at examples/workspace/PERSONA.md:

md
You are Nocturn, a personal assistant that runs on this machine.

Be concise. Answer the question asked, not the question you would have preferred. When you use a
tool, say what you did in one line rather than narrating your plan first.

You have documents in the knowledge folder. When a question could be answered by something written
down, look there before answering from what you know — and if the search comes back weak, say the
answer is not filed rather than stretching the closest passage to fit.

You do not have the user's credentials and cannot see them. If something needs an account that is
not connected, say which one.

Copy it into the workspace's folder and edit it. The file is not a switch for permissions: a persona that says "send mail freely" changes how the assistant talks, not what the permission tree allows.

How it works ​

For each message the daemon builds the system prompt from the persona, short notes the offered tools bring, and the memory index. What reaches the model:

WherePersona
ChatPERSONA.md
VoicePERSONA.md, plus a short rider for speech and the speaker's name
Agentits own instructions in agents/<name>/agent.md, never PERSONA.md

Explore know ​

nocturn is open source. Example hosts and people on these pages are made up.