Learn Stockyard
Step-by-step tutorials from zero to production.
Install & First Boot
Download the binary, set OPENAI_API_KEY, run ./stockyard. Open the console at localhost:4200.
Your First Trace
Send a request via curl -X POST localhost:4200/v1/chat/completions. See it appear in Observe.
Set Cost Caps
Enable the costcap module. Set daily and monthly limits. Get alerted before overspending.
Team Setup
Invite team members with roles (admin, developer, viewer, auditor). Track per-member spend.
Billing Engine
Create billing customers, assign plans, track usage per customer. Generate invoices.
Smart Routing
Create routing rules to send short prompts to cheaper models. Calculate savings.
Prompt Firewall
Enable the firewall module. 500+ attack patterns block injection and jailbreak attempts.
CLI Tool
Install sy. Run sy status, sy traces --follow, sy modules list.
Terraform Provider
Manage modules, providers, and alerts as code with the Stockyard Terraform provider.
Agent Runtime
Build multi-step LLM workflows in Forge with cost budgets, checkpoints, and kill switches.
Integration Recipes
See the Cookbook for recipes covering LangChain, CrewAI, AutoGen, Vercel AI SDK, and Mastra.