Salambo
Browse documentation
Build agentsProject structure

Project structure

Know which files builders own, which files Salambo compiles, and which paths exist only at runtime.

View Markdown

A Salambo project describes agent behavior and sandbox inputs. It is not a replacement agent server: Salambo runs the model loop in the hosted worker.

text
support-agent/
├── .pi/
│   ├── settings.json
│   ├── SYSTEM.md
│   ├── skills/
│   │   └── incident-triage/
│   │       └── SKILL.md
│   ├── prompts/
│   │   └── incident-report.md
│   └── extensions/
│       └── support-tools.mjs
├── sandbox/
│   ├── packages.json
│   └── workspace/
│       └── README.md
├── salambo.yaml
└── package.json

What each path owns

PathBuilder responsibility
.pi/SYSTEM.mdBase purpose, rules, and response expectations
.pi/settings.jsonStandard Pi model and thinking-level defaults
.pi/skills/Reusable, immutable instruction packages
.pi/prompts/Named prompt templates
.pi/extensions/Sandbox-hosted Pi extensions
sandbox/packages.jsonVersioned APT, npm, and Python packages installed into the managed image
sandbox/workspace/Seed files copied only into new run workspaces
salambo.yamlDeployment, image, region, egress, environment, and secrets

Build-time and runtime paths

The source path and runtime path are intentionally different:

SourceHosted behaviorMutability
.pi/SYSTEM.mdCompiled into the deployment manifestImmutable per deployment
.pi/skills/Projected as agent resourcesRead-only
.pi/extensions/Loaded by the sandbox extension hostRead-only
sandbox/packages.jsonInstalled while the deployment image is builtRead-only at runtime
sandbox/workspace/Copied to /workspace for a new runMutable and checkpointed

Only /workspace is builder-owned mutable state. Platform runtime files are not exposed through managed agent file tools.

Files Salambo generates

salambo manifest compiles source files into a deployment manifest containing normalized model settings, instructions, skills, prompts, tool declarations, hook subscriptions, and workspace policy. Do not edit the compiled manifest manually.

What does not belong here

  • Salambo, storage, or provider credentials in source files
  • Code that expects access to trusted worker memory
  • Mutable customer work under the immutable .pi/ source tree

Next, write agent instructions and choose the built-in tools needed to carry them out.