docs: add guide — Deploy a simple Rig agent on Oasis ROFL #61
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new deployment guide to help Rig users run a simple containerized agent on Oasis ROFL, a decentralized runtime for verifiable and confidential apps.
What’s included
New doc: pages/guides/deploy/Blog_3_oasis_rofl.mdx
Brief intro to ROFL and why it’s relevant to Rig
Step‑by‑step flow:
Prereqs: Oasis CLI, Docker, model provider key
Service: minimal HTTP wrapper for a Rig agent (port 8080)
Containerization: example Dockerfile (Rust) and compose.yaml
ROFL init: oasis rofl init, set rofl.yaml resources
On-chain registration: oasis rofl create --network testnet
Bundle: build .orc with oasis rofl build
Secrets: oasis rofl secret set OPENAI_API_KEY -
Deploy: oasis rofl deploy --network testnet
Verify: machine show, machine logs, sample curl
Troubleshooting and references:
ROFL quickstart/prereqs, demo app structure, and optional ROFL Rust client link
Audience and scope
Written for Rig users unfamiliar with Oasis/ROFL.
Focused on deployment with the Oasis CLI (not ROFL client APIs).
Language‑agnostic; Rust shown as example, easily adaptable.