Cookbooks
Task-oriented recipes for building with alineo — composed from the SDK's primitives to solve real end-to-end problems.
Every recipe below is a real, runnable package in the
alineo repo — cd cookbooks/<recipe>,
bun install, bun start. Where Examples demonstrates one SDK primitive at a
time, a cookbook recipe composes several of them to solve one real task. Each page below has an
in-browser preview of what running it looks like, plus a step-by-step walkthrough of what's
actually happening.
Beginner
Untrusted Code ExecutionSafely run LLM-generated or user-submitted code — per-snippet isolation, resource caps, and timeouts.
~5 minBeginner
CI Test RunnerRun a repo's test suite in a disposable sandbox and turn the output into a structured pass/fail report.
~5 minIntermediate
Parallel Test ShardsInstall dependencies once, then fork into parallel sandboxes to shard work across them.
~5 minIntermediate
Resumable ETL PipelineA multi-stage pipeline that checkpoints after every stage and resumes without redoing completed work.
~5 minIntermediate
AI Agent BugfixAn agent that debugs and fixes a failing test on its own, then gets independently verified.
~10 minAdvanced
Persistent Agent MemoryAn agent that remembers things about a customer across sandbox sessions, via @alineo-labs/memory.
~10 minAdvanced
Credential-Scoped AgentAn agent that calls an authenticated API with a token it can never read — injected at the egress layer.
~10 min