The Build track is task-oriented. Every page answers "how do I do X" with a copy-pasteable code sample and a link to the canonical file in the repo. Recipes are code-first. Concept material lives in the Deep dive and is always optional: read it when you want depth, skip it when you want to ship.
The path
Scaffold an oracle
Follow the Quickstart: qiforge-cli new, env, pnpm dev, first message. Ten minutes.
Wire createOracleApp
Create your oracle app: what main.ts looks like and what every option does.
Turn bundled plugins on or off
Enable bundled plugins: the features map, auto-detect, force-on, force-off.
Write your first plugin
Write a plugin: the centrepiece recipe, with the Weather plugin as the worked example.
Pick up one recipe at a time
Plugin recipes, one task each: add a tool, add a sub-agent, add a middleware, add HTTP endpoints, share state, declare dependencies, set visibility, add config and env.
Test it
Test your oracle: vitest setup and integration tests against a real boot.
Identity and observability
Identity and auth, then observability: LangSmith env vars and plugin status events.
Ship it
Deploy: Dockerfile, env, persistent volumes, health probes.
All recipes at a glance
PluginTool, boot-time vs per-request.
Nest agents with their own prompt and tools.
Add a middlewarebeforeModel / afterModel / wrapModelCall hooks.
Plugin-owned Nest controllers and auth-excluded routes.
Add config and env varsZod configSchema, PLUGINPREFIX_* convention.
getSharedState: a read-only producer and consumer pattern.
dependsOn (hard) vs softDependsOn (soft), and topological order.
always / on-demand / silent, and per-tool overrides.
Workers runtime: gateTurn, onTurnUsage, onModelCall and onWake for a credits or quota plugin.
What lives outside this track
- Concepts: the Deep dive covers the mental model, the runtime layers and plugins vs skills. It is optional.
- Reference: the Reference lists every option, every env var and every bundled plugin in tables.
- For AI agents: the dense one-pager has every signature inlined, ready to copy.
- Troubleshooting: common boot and runtime errors.