Agent Workspace
Every Lobu agent has a workspace directory such as agents/my-agent/. lobu.toml points each agent at that directory with dir = "./agents/my-agent".
The workspace contains the agent’s prompt files plus any agent-local skills and evals. Operator-controlled configuration such as providers, connections, network policy, tool policy, and enabled registry skills lives in lobu.toml.
At runtime, Lobu gives each user, DM, or channel its own isolated sandbox workspace. The files in agents/<agent>/ are templates for that sandbox, so every new workspace starts from the same IDENTITY.md, SOUL.md, USER.md, skills, and eval setup for that agent.
Workspace layout
Section titled “Workspace layout”lobu.tomlagents/ my-agent/ IDENTITY.md SOUL.md USER.md skills/ my-skill/ SKILL.md evals/ smoke.yamlskills/ shared-skill/ SKILL.mdWhat lives where
Section titled “What lives where”| Concern | File or directory | Notes |
|---|---|---|
| Agent identity | agents/<agent>/IDENTITY.md | Short description of who the agent is |
| Agent behavior | agents/<agent>/SOUL.md | Rules, workflows, constraints, tone |
| User or deployment context | agents/<agent>/USER.md | Shared context injected into every conversation |
| Agent-local skills | agents/<agent>/skills/<name>/SKILL.md | Available only to one agent |
| Shared skills | skills/<name>/SKILL.md | Available to all agents in the project |
| Evaluations | agents/<agent>/evals/ | Test cases for behavior and quality |
| Providers, connections, network, tool policy, enabled registry skills | lobu.toml | Operator-controlled runtime config |
Runtime model
Section titled “Runtime model”agents/<agent>/...is the source template checked into your project- each user, DM, or channel gets its own runtime workspace and filesystem
- new sandboxes start from the agent template files, then diverge as the agent works
- files created inside one sandbox do not appear in another sandbox unless you explicitly move data somewhere shared
Prompt files
Section titled “Prompt files”| File | Purpose | Analogy |
|---|---|---|
IDENTITY.md | Who the agent is — name, role, personality | A job title and bio |
SOUL.md | How the agent behaves — instructions, rules, constraints | A playbook |
USER.md | Context about the user or environment | A briefing doc |
All three prompt files are loaded into the agent’s system prompt at runtime.
IDENTITY.md
Section titled “IDENTITY.md”Defines the agent’s identity. Keep it short and concrete.
You are Aria, a customer support agent for Acme Corp. You specialize inbilling questions, account management, and product troubleshooting.A minimal identity also works:
You are a helpful AI assistant.SOUL.md
Section titled “SOUL.md”SOUL.md holds the agent’s behavioral instructions. Put rules, constraints, workflows, and tone guidance here.
# Instructions
## Tone- Be concise and professional- Never use emojis unless the user does first- Ask clarifying questions when the request is ambiguous
## Workflow1. Greet the user by name if known2. Understand their issue before suggesting solutions3. Always confirm before taking actions (cancellations, refunds, etc.)
## Constraints- Never share internal pricing or discount codes- Escalate to a human if the user asks for a manager- Do not make up information — say "I don't know" when unsureTips:
- Use markdown headers and lists for structure
- Be specific — “be helpful” is vague, “ask one clarifying question before answering” is actionable
- Test different instructions with evals to measure their impact
USER.md
Section titled “USER.md”USER.md stores background context about the user, team, or deployment environment.
# User Context
- Timezone: US/Pacific- Company: Acme Corp- Plan: Enterprise- Preferred language: EnglishThis file is optional and can be left empty.
Skills
Section titled “Skills”Local skills live in one of two places:
agents/<agent>/skills/<name>/SKILL.mdfor agent-specific skillsskills/<name>/SKILL.mdfor shared project-level skills
Use this page to understand where those files live. Use the SKILL.md Reference for the skill file format, frontmatter, packages, MCP servers, and network declarations.
lobu.toml
Section titled “lobu.toml”lobu.toml is the runtime wiring layer for the workspace. It tells Lobu:
- which agent directories exist
- which providers and connections to use
- which registry skills are enabled
- which custom MCP servers are attached directly to the agent
- what network and tool policy applies
Use the lobu.toml Reference for the exact schema. Keep operator policy there rather than spreading it into prompt files or SKILL.md.
Memory
Section titled “Memory”The sandbox filesystem is short-term working memory: drafts, scripts, downloaded files, generated artifacts, and intermediate results for one user or channel workspace.
When you use Owletto, it adds long-term memory across workspaces. The filesystem stays local to one sandbox, while Owletto stores durable knowledge that other sessions, users, or agents can recall later.
See Memory for the full model.
Multi-agent layout
Section titled “Multi-agent layout”With multiple agents in lobu.toml, each one gets its own workspace:
[agents.support]name = "support"dir = "./agents/support"
[agents.sales]name = "sales"dir = "./agents/sales"agents/ support/ IDENTITY.md # "You are a support agent..." SOUL.md # Support-specific instructions USER.md sales/ IDENTITY.md # "You are a sales assistant..." SOUL.md # Sales-specific instructions USER.md