QiForge Build track: start here

The order to read the Build track: scaffold an oracle, wire createOracleApp, toggle bundled plugins, write a plugin, test it, then deploy it.

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

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.