AI-Assisted Development
Plugboard ships with tooling to help AI coding agents understand how to build models using the framework. The plugboard ai command group provides utilities for setting up AI-assisted development workflows.
Initialising a project
The plugboard ai init command creates an AGENTS.md file and installs Agent Skills in your project directory. Together they give AI coding agents the context they need to help you build, export, visualise, run, and tune Plugboard models.
AGENTS.md is a convention used by AI coding tools (such as Claude Code, Codex, and Gemini CLI) to discover project-specific instructions automatically.
Usage
To create an AGENTS.md file in the current working directory:
To create the file in a specific directory:
To choose where the skills are installed:
Note
The command will not overwrite an existing AGENTS.md file or packaged Plugboard skill directory. It reports any packaged AI files that are already present, and adds whichever Plugboard AI files are still missing.
What's installed?
The generated AGENTS.md covers:
- Planning a model — how to break a problem down into components, inputs, outputs, and data flows.
- Model structure — how to map real-world entities onto separate components instead of monolithic logic.
- YAML-friendly design — why component arguments should usually be serialisable so processes can be defined in YAML.
- Implementing components — using built-in library components and creating custom ones by subclassing
Component. - Assembling a process — connecting components together and running a
LocalProcess. - Event-driven models — defining custom
Eventtypes, emitting events, and writing event handlers. - Exporting models — saving process definitions to YAML and running them via the CLI.
The generated skills use the Agent Skills SKILL.md format with frontmatter, and are installed into one of these directories:
.agents/skills/for--style agents(default).github/skills/for--style github.claude/skills/for--style claude
The generated skills include reusable task guides for:
- creating a YAML config from a model defined in Python
- generating a process diagram with
plugboard process diagram - running a model for a user-specified scenario with
plugboard process run - adding and shaping a
tunesection in a YAML config
The YAML-related skills instruct agents to validate generated configs against plugboard_schemas.ConfigSpec, which is the schema used by the CLI when it loads Plugboard YAML files.
These files are intended to be committed to version control alongside your project code so that any AI agent working in the repository has immediate access to Plugboard conventions.
Customising
After generating the file you can edit it freely to add project-specific instructions — for example, domain context, coding standards, or pointers to your own components and data sources.