Class Management
In Wardian, a Class is a reusable starting setup for agents. It combines shared instructions and skills for a role you expect to use again.
Classes turn repeated setup choices into editable, inspectable files so you can improve an agent role over time instead of copying the same instructions into every new session.
For a visual map of how classes, skills, agents, sessions, and workspaces fit together, see Key Concepts.
Class management has moved. Creating, editing, and deleting classes no longer happens in a left-rail Classes tab — that panel has been retired. Class management now lives in the Classes section of the Library. See that guide for the full automation (the class workbench, editing
AGENTS.md, managing deployed skills, and resetting or deleting a class). This page keeps only the conceptual material — what a class is and how to spawn an agent from one.
When to Use It
- Create a repeatable role such as
Coder,Reviewer, orResearcher. - Tune an existing role before spawning more agents from it.
- Assign skills at the class level so every new instance starts with the same capabilities.
What You Can Do in the Library's Classes Section
The Library's Classes section is where all class editing happens:
- Create, open, and browse classes (classes are flat — no folder nesting).
- Edit a class's
AGENTS.mdinstructions in the same inline markdown editor every other Library section uses. - View and manage the skills deployed to the class, including a per-skill remove control.
- See provider defaults (default vs. custom class, and its description).
- Reset to default for built-in classes, or Delete class for custom ones.
See The Library System for the complete, up-to-date walkthrough of this workbench.
Configuring a Blueprint
1. Instruction Set (AGENTS.md)
Each class is governed by a markdown file. This is where you define:
- Role & Personality: Who the agent is (e.g., "A skeptical security auditor").
- Constraints: What the agent cannot do (e.g., "Never overwrite existing .env files").
- Standard Procedures: How the agent should approach tasks (e.g., "Always draft a plan before executing").
2. Pre-Assigned Skills
You can pre-load a class with specific modular skills.
- When you assign a skill to a class, every agent spawned from that blueprint receives the skill through its provider's discovery path. Wardian may use directory links, provider home projection, generated config, or provider-native include roots depending on the selected CLI.
- This ensures your
Coderclass always starts withgithub-cliandtypescript-toolsready to go.
3. Registry Persistence
All your custom classes are stored in <wardian-home>/classes.json. This single file is the source of truth for the Rust backend when spawning new sessions.
Spawning from a Class
To use your blueprint:
- Navigate to the Agent Configuration tab in the Left Sidebar.
- Select your class from the dropdown.
- Click Spawn Agent. The agent will inherit the selected class instructions and class-level skill assignments.
Important Limits
- Editing a class changes future spawns; it does not rewrite instructions inside already-running provider sessions.
- Class skills are adapted to each provider's discovery model. Check Provider Runtimes when a provider does not expose a skill as expected.
- Keep class instructions durable and general. Put task-specific instructions in prompts, broadcasts, automations, or direct terminal messages.
- Treat class edits as shared capability changes. When an instruction is only useful for one project, agent, or automation run, keep it in that narrower scope until it proves reusable.