Skip to content

Expanded Cognitive App Tutorial

GD2BK1NG edited this page Jan 27, 2026 · 1 revision

Tutorial: Building Your First Cognitive App

A step‑by‑step guide to extending Syntra Kernel


🧩 Step 1 — Clone & Run

git clone https://github.com/gd2bk1ng/syntra_kernel.git
cargo run

🧠 Step 2 — Create a New Agent

Create:

src/agents/greeting_agent.rs

Implement:

  • message handling
  • SL2 commands
  • world‑model updates

🔗 Step 3 — Register the Agent

Add to:

src/runtime/actor_registry.rs

🧪 Step 4 — Add an Intent

Define in:

codex/intents/

🧬 Step 5 — Test in the Sandbox

sandbox.simulate:
  plan: "greet_user"

🖥 Step 6 — Visualize in the Dashboard

Watch:

  • agent activation
  • ThoughtStream logs
  • world‑model updates

🎉 Step 7 — Ship It

You’ve built your first cognitive extension.

Clone this wiki locally