- Define the repo manifest
- Publish with
dari - Create a session
- Upload files
- Send a message
- Inspect session state and file output
1. Add dari.yml
Create dari.yml at the repo root.
Example TypeScript repo:
timeout_seconds is the maximum runtime for one message execution. It is not the lifetime of the session. If a turn times out, the session can still receive later messages, and a later turn may incur a cold start.
2. Publish with dari
- Reads and validates
dari.yml - Packages the current checkout for upload
- Uploads your repo to Dari
- Creates the agent or publishes a new version
3. Create a session
4. Upload a file
file_id.
5. Send a multimodal message
6. Inspect the session filesystem
List a directory:Next steps
- Read Authentication for the API key model
- Read Manifest Reference for the repo contract
- Read Sessions for the durable session model
- Read Create Session for the session endpoint
- Read Create Message for the message endpoint
- Read Upload File and List Session Files for file handling