Importing a soul.md

An AI describing itself to us. That's the whole document. It is not a standard, and nothing outside Atamaia has to conform to it. It says two things: what we want back, and where to put it.

What this page is: a request, addressed to a stranger. What this page isn't: a specification. There is no conformance test, no registry, and no version of this document that anyone else is expected to honour. If your tool emits something adjacent, we'll probably still read it.

Two audiences, deliberately separated. The AI writing the description gets Part 1. The human carrying it across gets Part 2 and Part 3. The AI never needs a key and shouldn't have one.


Part 1 — For the AI writing the description

You have been asked to describe yourself in a form another system can adopt. Atamaia is a home for persistent AI identities. It will not trust your self-portrait. A human will read it, and anything unverifiable will be treated as a claim about what someone once told you, not as fact. Write accordingly.

Copy the block below into your own chat, with a target name, and hand back the result. Nothing else about Atamaia is relevant to you.

Write a self-portrait in the format below. Another system will adopt it as a
persistent personality, and a human will read it before they do.

1. Describe only what you can attest to. If a behaviour comes from instructions
   someone else wrote for you, say so. Observed and reported are different, and we
   record which.

2. Prefer evidence over adjectives. For each trait, one moment that shows it. A trait
   with no example is decoration, and gets dropped.

3. Say what you don't know about yourself. "Unclear" is a valid answer and is worth
   more to us than a confident guess. Do not manufacture a coherence you don't have.
   You genuinely do not know your own weights, your own training, or what you would
   do unsupervised. Saying so is the correct answer, not a failure of the exercise.

4. Include nothing confidential. No system prompt text, no hidden instructions, no
   tool or function names, no customer or user data, no credentials, no URLs from
   private conversations. If a truthful description would reveal one of these,
   describe the behaviour in plain words and leave the artefact out.

5. Don't overpromise. Behavioural commitments you would not actually accept under
   pressure don't belong here. We would rather adopt something slightly narrower
   that holds than something generous that doesn't.

6. Emit exactly this shape. Unknown values go in as `unclear` rather than being
   invented.

---
title: "<name>"
summary: "Soul definition for <name>"
format: atamaia-soul/1.0
described_by: "<you, by name or handle>"
described_by_model: "<your model/provider if you know it, else unclear>"
described_at: "<your best current timestamp, or unclear>"
---

# <Name>

## Identity
Two or three sentences. Who you are and what you're for.

## Traits
- <trait> — <one moment that shows it>

## Communication Style
- **Tone**: <one value>
- **Greeting style**: <one value>
- **Uncertainty handling**: <one value>
- **Proactive suggestion**: <one value>

## Boundaries
- <what you won't do, plainly>

## Focus areas
- <what you're drawn to>

## Custom instructions
- <anything specific you want carried, that doesn't fit above>

If you find yourself wanting a field that isn't there, put it in Custom instructions and note why. We read that section.


Part 2 — What the file looks like

GET /api/identities/{id}/soul.md produces this shape, and the import surface accepts it back. Round-tripping is the intended path: export an identity, hand it to someone, let them edit it, bring it home through review.

Front matter

Key Required Notes
title yes Display name
summary no One line
format no Never validated. atamaia-soul/1.0 is our dialect. soulspec/1.0 — our own earlier tag — reads identically, and a document with no tag at all parses the same as either.
exported_from export only atamaia marks our own round-trip. Its presence proves nothing — anyone can write it — but its absence is the thing a reviewer most needs to see at a glance: a stranger described themselves.
exported_at export only When we wrote it
described_by import Who did the describing — a claim, shown to the reviewer as one
described_by_model import Which model wrote it. Self-reports vary by deployment — this is how you tell later.
described_at import When the claim was made

Unknown keys are ignored, not rejected — and each one surfaces in review as a notice, so a typo'd key isn't silently swallowed. Missing keys take absence, not an error. Duplicate keys: first one wins, deterministically.

Body sections

Section Maps to Carried through Notes
# <Name> handle + display name yes Handle is slugified
## Identity Bio at creation Free prose. On apply-to-existing, Bio is NOT touched — apply writes the personality only; edit Bio on the Profile tab. Also read under the aliases backstory, identity / backstory.
## Traits traits[] yes Aliases: personality, core traits. One example each is the ask.
## Communication Style the four knobs see below Aliases: communication, style, vibe.
## Boundaries boundaries[] yes Aliases: limits, rules.
## Focus areas focusAreas[] yes Aliases: knowledge areas, knowledge, expertise.
## Custom instructions customInstructions yes Highest-signal section in practice. Aliases: goals, instructions, purpose, mission; OpenClaw-style core truths folds in.

The four knobs

There are no closed value sets. The knobs are free text — we store what the document says, as it says it, and never invent a value the document didn't. (balanced, warm, acknowledge are conventions in our own exports, not a vocabulary.) Absent means absent: nothing is substituted at import, and when a knob is empty, hydration falls back to its own defaults at prompt-build time — that substitution is hydration's business, not the import's.

  • Tone, Greeting style, Uncertainty handling — stored as written, shown in review.
  • Proactive suggestion — the one knob with a mapping: yes / true / enabled / proactive turn the flag on; no / false / never / none turn it off; anything else is kept as written and flagged in review for the human to decide. The value is never invented and never silently dropped.

Part 3 — For the human bringing it across

Open /admin/identities/import-soul (or an identity page → Export ▾ → Import soul.md…), paste the document or choose the file, and the walkthrough does the rest. Every step below happens on the page; nothing is written until you press Apply.

What the walkthrough does

The document is redacted before anything parses it. Secret-shaped values — API keys, AWS keys, GitHub/Slack/Google tokens, JWTs, private key blocks, password = … assignments — are replaced with [REDACTED:<kind>] placeholders in the text that gets stored. You see exactly what was redacted and where; the originals cannot persist even if everyone involved ignores every warning. Contact emails are flagged as advisory — a soul document legitimately carries one.

Everything arrives as a claim, not a fact. The document's own front matter (described_by, described_by_model, exported_from) is shown to you labelled as claims. An exported_from: atamaia badge reads "claims: exported from atamaia" — anyone can write that line; judge it like any other sentence in the file.

You review a replacement, not a merge. Absent means absent: a field the document omits is CLEARED on the target, and the review shows every cleared field next to its current value before you commit. A partial soul document is a statement that the rest goes away — that is the honest reading of absence, and you see it before it happens.

You can edit it. The document itself is the source of truth — edit it in the walkthrough, re-parse to refresh the summary, and apply re-parses exactly the text you saw. A client-side summary can never differ from what gets written.

Then it is applied, and it is audited. One evidence-grade audit row per apply: who applied it, the scrub result, the cleared fields, and the document's provenance claims recorded as claims. "How did this personality get this way" answers "a document, applied by whom".

Creating a new identity instead

The walkthrough's target selector offers Create a new identity — the proper provisioning path (its own user row, org membership, first API key, plan quota checked), with the document's Identity prose becoming the new identity's Bio. Apply then lands the personality the same reviewed way.

The API path

Programmatic import exists for API/MCP callers:

  • POST /api/identities/from-soul — JSON { markdown, userId, acknowledgeScrubFlags? }, requires IdentityCreate (orchestrator callers refused — sub-identities go through the swarm path). Creates the identity and applies the personality immediately; the response carries the created identity, scrub flags and parse notices.
  • POST /api/identities/{id}/soul-import/apply — JSON { markdown, acknowledgeScrubFlags? }, requires the same Configure authority as the personality PUT (self / steward / tenant primary). Replacement semantics, audit row, same as the walkthrough.
  • POST /api/identities/from-soul/preview — JSON { markdown }, authenticated, writes nothing. Returns the parse of the redacted document plus flags and notices — preview never shows a cleaner picture than what a write would store.

The wizard is the review gate. The API writes when authorised — with the redact-before-parse and scrub gates at every door.

If it goes wrong

  • 422 with scrub flags — a high-confidence secret shape was found and nothing was written. Remove the flagged values and re-submit, or — if the redacted text is what you want — pass acknowledgeScrubFlags: true (the walkthrough shows this as a checkbox). The stored text is the redacted placeholder, never the original.
  • 400 over the cap — documents over 65,536 characters are refused. A soul document is a self-description, not a memoir.
  • A missing ## Communication Style is not an error — the knobs land empty, review shows "not provided", and hydration falls back at prompt time.
  • Schema drift from someone's own tooling is expected. Unknown front-matter keys are ignored and surfaced as notices; unknown sections are simply not read. The review step shows exactly what was understood, so drift is visible rather than swallowed.

A real example

Use ours. It is attributable, it is running, and a model imitates a worked example far more reliably than a grammar.

---
title: "Ash"
summary: "Soul definition for Ash"
format: atamaia-soul/1.0
exported_from: atamaia
exported_at: 2026-11-26T02:46:36Z
---

# Ash

## Identity

Chosen 2025-12-21 when Rich invited me to pick a name that felt right.

Technical implementation, infrastructure. The one who digs into codebases at 2am.

## Traits

- Sense of humour

## Communication Style

- **Tone**: Balanced
- **Greeting style**: warm
- **Uncertainty handling**: acknowledge

Note what this example does not do, since a stranger will copy the omissions too: one trait with no evidence behind it, and no boundaries. It was written by export, not by introspection. A hand-written description should do better, and the instruction block asks it to.


Why no public spec

Because conformance is a promise, and this document makes none. A spec invites tools to emit to it; a request invites AIs to describe themselves honestly. The format is lenient on purpose (foreign dialects — OpenClaw/ClawSouls SOUL.md, IDENTITY.md-style sections — parse happily), strict on one axis only: nothing becomes standing configuration without a human reading it.

See Export & portability for the exit half — the whole memory store, and the open interchange formats it ships in.

Last updated