Facts
File:~/.sorat/memory/facts.md
The agent’s long-term memory of specific facts. Each fact is a timestamped line:
How facts work
- The agent calls
recall_memoryat the start of each conversation to load all stored facts - When the user mentions something worth remembering, the agent calls
rememberwith the new fact - Facts are append-only — new facts are added with a timestamp
- You can edit facts directly in the web UI or via
PUT /api/memory
Agent tools
| Tool | Description |
|---|---|
recall_memory | Retrieve all stored facts |
remember | Save a new timestamped fact |
Soul
File:~/.sorat/memory/soul.md
The agent’s personality, values, and behavioral guidelines. This content is appended to the system prompt after the persona template.
Use the soul to define:
- Communication style preferences
- Ethical guidelines
- Domain-specific knowledge the agent should always have
- Behavioral rules (e.g. “always explain your reasoning”)
- Web UI
- API
Edit via Settings > Agent > Soul.
User profile
File:~/.sorat/user.md
A simple Markdown file storing user profile information:
Persona
File:~/.sorat/agent/persona.md
The system prompt template. Supports Go template variables:
| Variable | Description |
|---|---|
{{.OS}} | Operating system (e.g. darwin, linux) |
{{.Arch}} | Architecture (e.g. amd64, arm64) |
{{.Hostname}} | Machine hostname |