You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c823259
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/SOUL_FILES.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ The cognitive-memory mechanisms layered on top (decay, retrieval-induced forgett
35
35
36
36
| File | What it holds | What AgentOS does with it |
37
37
|---|---|---|
38
-
|**SOUL.md**| Personality, values, tone, behavioral boundaries | The body opens the system prompt; the frontmatter becomes `personaDefinition`. Without it, `loadSoul()` throws and `agent({ soul })` boots without a soul. |
38
+
|**SOUL.md**| Personality, values, tone, behavioral boundaries | The body opens the system prompt; the frontmatter becomes `personaDefinition`. Without it, `loadSoul()` throws, and so does building an agent on it: `agent()` and `gmi()` throw `SoulLoadError`, and `souledAgent()` rejects with it. A front matter field of the wrong type throws the same error, naming the field. `soul: { path, optional: true }` runs the agent without the soul and writes one `soul.load_failed` log line. |
39
39
|**STYLE.md**| Voice patterns, vocabulary, register | Appended to the system prompt as a `## Style` section. |
40
40
|**IDENTITY.md**| Display card: name, role, agent-ID, avatar | Returned as `identityContent`; nothing in the runtime reads it. |
41
41
|**AGENTS.md**| Procedural rules, session-start checks, workflow steps | Returned as `agentsContent`; nothing in the runtime reads or runs it. |
Copy file name to clipboardExpand all lines: docs/getting-started/HIGH_LEVEL_API.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -876,7 +876,7 @@ With `runtime: 'gmi'` (or [`gmi()`](https://github.com/framerslab/agentos/blob/m
876
876
877
877
### Per-agent identity via SOUL.md
878
878
879
-
Pass a `soul:` option to give an agent its identity from a SOUL.md workspace. `agent()` builds its system prompt from the SOUL.md body first, then a `## Style` section from STYLE.md, then the `memory/index.md` catalog, then `instructions`, `name`, `personality` and skills. A soul that fails to load logs a warning, and the agent starts without it.
879
+
Pass a `soul:` option to give an agent its identity from a SOUL.md workspace. `agent()` builds its system prompt from the SOUL.md body first, then a `## Style` section from STYLE.md, then the `memory/index.md` catalog, then `instructions`, `name`, `personality` and skills. A soul that fails to load throws `SoulLoadError` when the agent is built; pass `soul: { path, optional: true }` to run without it.
880
880
881
881
```ts
882
882
// Workspace path: SOUL.md, STYLE.md and memory/index.md shape the prompt
0 commit comments