A tutorial that walks you from a fresh Powernode install to a working AI agent.
Status: stub — expand as the platform matures
This tutorial is reserved as the canonical hands-on demo of Powernode's core proposition: composing, deploying, and supervising AI agents. The platform already exposes the surfaces the tutorial will exercise (providers, agents, teams, skills, MCP tools, intervention policies); the tutorial itself is intentionally short while we settle on the best narrative and screenshot set.
- What you'll learn
- Prerequisites
- Concept refresher
- Step-by-step
- Verification
- Cleanup
- Troubleshooting
- What's next
By the end of this tutorial you will:
- Pick an AI provider and confirm the platform can reach it.
- Create your first
Ai::Agentwith a system prompt and skill bindings. - Execute the agent from the chat surface and via the MCP
execute_agentaction. - Inspect the execution trace, cost record, and audit log the platform produces automatically.
- A working Powernode install (see 01-quickstart.md).
- One of: an Ollama instance reachable from the backend, an Anthropic API key, an OpenAI API key, or any other supported provider's credentials.
- The seeded admin account (created automatically by
rails db:seed).
Powernode's agent abstraction has four moving parts:
- Providers (
Ai::Provider) — wrap the API surface for a specific vendor (Anthropic, OpenAI, Ollama, etc.). Health-checked continuously. - Agents (
Ai::Agent) — a system prompt + provider + model + a set of bound skills. Has a trust score that decays when idle. - Skills (
Ai::Skill) — reusable capabilities the agent can invoke; backed by either MCP tools or executor classes. - Intervention policies — per-action approval rules. Determine which agent decisions auto-execute and which require a human.
See concepts/agents-and-autonomy.md for the full model.
Section pending — to be written or commissioned as a focused tutorial.
Section pending — will include exact API/CLI calls that confirm the agent is healthy, executed, and produced an audit record.
Section pending — will detail how to leave the platform in a known state after the demo.
Common failure modes the finished tutorial should cover:
- Provider credentials missing or invalid → check
platform.provider_healthand review the seed step in 01-quickstart.md. - Agent execution fails with
permission_denied→ confirm the user has theai.agents.executepermission via the Permission Reference. - MCP session not established → check
platform.discover_claude_sessions; restart the backend if no session is visible.
- Tour the extension model → 03-extensions.md
- Learn the architecture → ../concepts/agents-and-autonomy.md
- Understand intervention policies → ../concepts/agents-and-autonomy.md
Last verified: 2026-05-17