Skip to content

About

Audio Plugin Coder (APC) is a groundbreaking, open-source framework that enables musicians, producers, sound designers, and developers to create professional VST3/AU audio plugins using natural language and AI assistance. Built on JUCE 9 and powered by a revolutionary 5-phase workflow system.

Resources

Contributing

Security policy

Stars

379 stars

Watchers

18 watching

Forks

Latest commit

 

History

125 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio Plugin Coder (APC)

Audio Plugin Coder Logo

AI-powered open-source framework for vibe-coding audio plugins from concept to shipped product

License: MIT Version JUCE Platform HOL Guard Scanner Sponsor

What's new

v2.0.0: from "AI builds a plugin" to "AI ships a product"

APC 2.0 is the biggest release yet. Six focused workstreams landed at once: nearly 500 new files, 450+ automated tests and 1,100+ C++ checks. Everything a commercial plugin needs beyond the DSP now comes with the framework: presets, licensing, updates, a professional UI kit with a real design, and the tools to prove that all of it works.

A complete, designed UI kit. Not just knobs: more than 40 ready-made elements, all themeable, accessible and resizable. Knobs, sliders, selectors and toggles; buttons, tabs, dropdowns, menus, text and number fields, readouts, LEDs and meters; and live visualisations (spectrum, scope, waveform, envelope, step sequencer, XY pad, graph). Around them sit the parts every product needs: a preset browser with A/B, a settings page, a right-click context panel with modulation and MIDI-learn, F1 help and tooltips, a window gripper that snaps in 5 % steps, a version footer, and activation and update dialogs. Everything works in a browser with a mock backend, so you can design before writing any C++.

APC Minimal: one look, done properly. The kit ships with a single, carefully reviewed design. "Zeichnung 2030" is an instrument drawn on deep teal: five colours with one job each, bundled Inter and JetBrains Mono (no network fonts, ever), night and day modes, and every one of 441 text/background pairs passing WCAG 4.5:1. Restyle it by changing tokens, never component CSS. → design_library/apc-minimal/

The Hub became a design studio. Page 09c KIT shows the canonical design reference, every component live in night or day at any scale, a theme editor with live preview, contrast checking and tokens.css export, and an element spec where you tune line weights, radii and knob or slider geometry and save them straight into the design library. → docs/hub.md

Presets, the professional way. A typed preset format (apc-preset/1.0) with factory packs, tags and a filterable browser, content-hashed samples, crash-safe atomic saves (kill-mid-save tested), A/B compare, and apc presets validate|index|promote to keep packs clean.

Sell your plugin: licensing and updates. Two licensing methods out of the box: signed license files (offline, Ed25519) and online activation with seat limits, plus a reference issuer server. A signed update manifest and an in-plugin update flow check, download, verify and install without a third-party updater. All of it is local-first: no telemetry, and crash reports never leave the user's machine.

A DSP library you can trust. common/dsp/ (APC::dsp) is header-only: parameter smoother, denormal guard, lock-free FIFO, biquad, SVF, soft clipper, dry/wet and a 2× oversampler, with self-tests. apc validate rt scans your processBlock for realtime crimes (allocations, locks, I/O).

Prove it works.

  • apc audio <Plugin> runs pluginval (strictness 10), clap-validator, null and block-size invariance, NaN/denormal, tail and CPU-bench gates. Gates that can't run report skipped, never a fake pass.
  • apc validate a11y checks contrast, keyboard reach, focus and reduced motion.
  • apc watch gives you a hot-reload preview, and apc screenshot --compare diffs the UI pixel by pixel.
  • apc sbom writes a CycloneDX SBOM with provenance, and signing and packaging scripts cover Windows, macOS and Linux.

Measured, not guessed. apc eval scores AI agents on golden tasks (add a parameter, fix the WebView member-order crash, port Visage to WebView, respect the standards flow). apc docs check keeps every doc honest (links, snippets, stale strings) in CI. apc doctor --fix and a dev container get a new machine running fast.

Plugin Product Standards. One machine-readable registry (apc-standards/1.0) decides how every plugin behaves (scaling, help, presets, licensing, updates). Global defaults live in /apc-setup or the Hub's 09b STANDARDS page, and per-plugin answers come from /apc-plan.

Upgrading from 1.x: the old design libraries rams60, amber-signal and neogrid-minimal are gone. Copy design_library/apc-minimal/ to start your own design. Honest status: the UI kit is WebView-only for now (no Visage version yet) and has been verified in headless Edge, not yet inside every DAW. The C++ parts are verified with MSVC; macOS/Linux compilers and real code signing still need field runs. Full details: CHANGELOG.

v1.8.0

CLAP plugin format (beta). New plugins can now opt into a CLAP build during /apc-plan — clap-juce-extensions wraps the same JUCE AudioProcessor and editor, so no plugin-code changes are needed: it emits a <Name>_CLAP target producing Name.clap alongside VST3/Standalone. Builds, per-user install (no admin on Windows), clap-validator runs, Inno installer component and macOS DMG folder are all wired end-to-end; plugins/ClapSmokeTest is the canonical opt-in example and clap.id_prefix in apc.config.json controls plugin IDs.

Beta disclaimer: CLAP support is new and could not be fully tested yet — a basic plugin configures, builds, validates and loads, but it has not been battle-tested across DAWs. Known limitation: clap-validator's state-reproducibility-* tests fail on all JUCE/APVTS plugins due to an upstream wrapper bug (tracked as clap-001, fix pending in clap-juce-extensions#189; harmless in real hosts). Please report anything odd.

v1.7.0

Your AI assistant can now split big jobs across a team of subagents. Type /apc-orchestrate <goal> and APC acts as the orchestrator: it breaks the work into independent pieces, hands them to worker agents (four tiers, from cheap-worker for searches up to expert-worker for the really hard stuff), runs them in parallel, verifies the results for real, and merges everything back. It works the same way across Devin, Claude Code, OpenCode, Codex and friends — worker profiles live once in .agents/agents/ and a sync-agents script generates the per-host copies. On hosts without subagents, workers run as headless CLI calls or sequentially instead.

v1.6.0

A shared layout contract for plugin UIs. A rem-grid system plus a ui-map manifest describe what the UI actually looks like, ui-lint gates it, and the Hub can review the result — so generated interfaces stay consistent instead of drifting.

Visage and Windows got tougher. Adaptive raster recovery, Windows crash minidumps for real debugging, and the crash handler only wraps Standalone builds now. Devin CLI also joined as a first-class host with /apc-* command adapters.

Builds got sturdier (v1.5.1 + v1.6.0). CMake resolution now finds a working compiler even with a broken shim on PATH, failed builds are correctly reported as failures, pluginval gets the right strictness flag, and compiler parallelism is capped so big JUCE builds stop running out of memory.

v1.5.0

APC 1.5 is a big step forward - especially if you are a musician or hobbyist who just wants to build your own plugin without fighting tooling. Here is what changed, in plain words.

The APC Hub - a window into your whole project. Instead of digging through folders and config files, you now get a live dashboard in your browser. Type /apc-hub (or run node hub/server.js) and you can see every plugin at a glance - which phase it is in, what still needs to be done, your design library, scripts, templates, tools and settings. Documentation is searchable and readable right there. You can even adjust your settings from a simple form instead of hand-editing JSON. It is read-only by default, so nothing breaks by accident.

Works with more AI coding tools than ever. APC used to be picky about which assistant you used. In 1.5 that changed:

  • Codex is now fully on board. Codex could not use slash commands like other assistants - APC now ships a proper Codex skill and plugin, with dedicated commands and optional cost-aware model routing (Luna, Terra, Sol, Astra).
  • Cursor is supported. APC is ready out of the box in Cursor, including custom rules.
  • OpenCode is supported too. All APC commands are wired up for it, exactly like Claude Code and Kilo.

A single command-line tool. All the important tasks - version, paths, build, validate, backup, rollback, status - are now in one cross-platform tool (apc), tested by an automated suite. No more hunting for the right script.

Improve and extend your plugins after release. Shipped a plugin? /apc-patch opens a focused bugfix round, /apc-evolve starts a feature upgrade. Your version number and state stay consistent automatically.

Everything else got tidier too. Docs were rewritten to match reality, the framework version has one single source of truth, and releases now land in a clean release/ folder that honors your configured paths.

Start: clone -> /apc-setup (Claude Code / Kilo / Cursor / OpenCode) or $audio-plugin-coder:audio-plugin-coder setup (Codex) -> /apc-dream MyPlugin.

APC Hub

The APC Hub gives you a complete, live overview of the framework and your plugins - no build required, read-only by default. Since 2.0 it is also the design studio for the UI kit: page 09c KIT previews every component and lets you edit theme tokens and tune elements of APC Minimal (docs):

node hub/server.js --port 4872   # or: /apc-hub in your agent

APC Hub dashboard

Video Tutorial Series

APC tutorial series - click to watch on YouTube

APC Tutorial Series (YouTube Playlist) - 10 episodes, explaining the framework in detail.

About

Audio Plugin Coder (APC) is an AI-first framework that guides LLM agents through the whole plugin lifecycle - ideation, architecture, UI, DSP implementation, testing, and packaging - without the agent re-learning JUCE or your conventions every session. It is agent-agnostic (Codex, Claude Code, Kilo, Cursor, Antigravity) and has been hardened over 18 months of real plugin development.

The core workflow - setup -> dream -> plan -> design -> impl -> ship - is ready for production on Windows, macOS, and Linux.

Which AI Coding Tools Work with APC?

APC is agent-agnostic: pick the assistant you already use. In v1.5.0 all major ones are first-class:

Assistant Status How APC talks to it
Codex ✅ Fully supported in 1.5.0 Codex does not use slash commands - it gets a dedicated audio-plugin-coder skill and plugin with cost-aware model routing
Cursor ✅ Ready out of the box Custom rules + /apc-* commands, project guidance via AGENTS.md
OpenCode ✅ Fully wired up /apc-* commands with dedicated host shims
Claude Code ✅ Fully supported /apc-* commands
Kilo ✅ Fully supported /apc-* commands
Antigravity / Gemini ✅ Supported Natural language + AGENTS.md guidance

Previously Cursor, OpenCode and Codex had only partial support. In 1.5.0 they now work the same way as Claude Code and Kilo - no workarounds needed.

Key Features

  • LLM-driven development - works with any coding agent
  • Guided setup - /apc-setup configures toolchain, paths, and model routing via apc.config.json
  • Structured workflows - Dream -> Plan -> Design -> Implement -> Ship, plus test/debug/status/resume/patch/evolve/hub
  • Unique slash commands - /apc-* primary names; short aliases kept as deprecated
  • Dual UI frameworks - Visage (pure C++) or WebView (HTML/CSS/JS + JUCE WebView)
  • State management - per-plugin status.json with progress, validation, rollback
  • Self-improving - auto-captured troubleshooting knowledge
  • JUCE 9 + CMake - relocatable plugins/build/release directories
  • APC Hub - live local dashboard and future workbench (/apc-hub)

Quick Start

One-command setup

npx github:Noizefield/audio-plugin-coder

Clones, checks your tools, and prints next steps for your platform. Requires Node.js 18+ and Git.

Manual setup

# Windows
git clone --recurse-submodules https://github.com/Noizefield/audio-plugin-coder.git
cd audio-plugin-coder
.\scripts\system-check.ps1 -Human
# macOS / Linux
git clone --recurse-submodules https://github.com/Noizefield/audio-plugin-coder.git
cd audio-plugin-coder
bash scripts/system-check.sh --human

Then open the repo in your agent and run /apc-setup, then /apc-dream <PluginName>.

Prerequisites

Platform Requirements
Windows LLM agent, Git, Node.js 18+, Python 3.8+, Visual Studio 2022 C++, CMake 3.22+, WebView2 Runtime, JUCE 9 (submodule), pluginval (submodule)
macOS LLM agent, macOS 10.13+, Xcode + CLT, CMake 3.22+, Git, Node.js 18+, Python 3.8+, jq, JUCE 9, pluginval (WKWebView, no WebView2)
Linux LLM agent, GCC 9+ / Clang 10+, C++20, CMake 3.22+, Make/Ninja, Node.js 18+, Python 3.8+, WebKitGTK, libegl-dev, ALSA (+JACK), JUCE 9, pluginval

Bridge Templates (FFGL & Max/MSP)

For FFGL visual plugins or Max for Live externals, run the Windows one-click setup:

.\scripts\setup_bridges.bat

How It Works

The Five-Phase Workflow

SETUP  -> First-run toolchain, paths, model preferences
DREAM  -> Creative brief, parameter spec
PLAN   -> Architecture, UI framework, complexity
DESIGN -> GUI mockups and visual design
IMPL   -> DSP engine and UI integration
SHIP   -> Installers, DAW testing, distribution

Agent Commands

Prefer the /apc-* names (unique across frameworks). Short aliases (/dream, ...) still work as deprecated. Codex invokes actions through the audio-plugin-coder skill (bare /plan//status are Codex built-ins).

Primary Codex action Description
/apc-setup $audio-plugin-coder:audio-plugin-coder setup First-run toolchain, paths, models
/apc-dream [Name] ... dream [Name] Start new plugin (ideation)
/apc-plan [Name] ... plan [Name] Architecture + UI framework
/apc-design [Name] ... design [Name] GUI mockups and visual design
/apc-impl [Name] ... impl [Name] Implement DSP and UI
/apc-test [Name] ... test [Name] Run tests / validation
/apc-debug [Name] ... debug [Name] Diagnose and fix issues
/apc-ship [Name] ... ship [Name] Package and distribute
/apc-status [Name] ... status [Name] Progress and state
/apc-resume [Name] ... resume [Name] Continue from last incomplete phase
/apc-new [Name] ... new [Name] Full workflow with confirmations
/apc-patch [Name] $audio-plugin-coder:audio-plugin-coder patch [Name] Bugfix generation on a shipped plugin
/apc-evolve [Name] $audio-plugin-coder:audio-plugin-coder evolve [Name] Feature generation on a shipped plugin
/apc-hub $audio-plugin-coder:audio-plugin-coder hub Open the live local dashboard
/apc-orchestrate <goal> $audio-plugin-coder:audio-plugin-coder orchestrate <goal> Decompose a goal across subagent workers

See Command Reference, Codex Compatibility, Orchestration, and Model Routing.

Example Session

You: /apc-setup
AI: ✅ Setup complete. Next: /apc-dream <PluginName>

You: /apc-dream TapeDelay / "Warm analog tape delay with wow/flutter"
AI: ✅ Dream phase complete! Files created: .ideas/creative-brief.md, .ideas/parameter-spec.md, status.json

You: /apc-design TapeDelay / "Teal dashboard, skeumorphic knobs"
AI: ✅ Design complete! Next: /apc-impl TapeDelay

Architecture

APC tracks every plugin in a status.json (phase, validation, rollback). That lets you pause, switch agents, or rebuild state at any time.

audio-plugin-coder/
├── AGENTS.md                    # Agent guidance (AGENTS.md standard)
├── .agents/                     # Canonical source: workflows/, skills/, rules/, guides/, troubleshooting/
├── .codex-plugin/               # Codex plugin manifest
├── skills/                      # Packaged Codex skill (points at .agents/)
├── hub/                         # APC Hub - server.js, ui/, _design/
├── templates/                   # Plugin templates (visage, webview, ffgl, max-external)
├── docs/                        # Documentation (16 files)
├── scripts/                     # Build / state / validation automation (ps1 + sh)
├── bin/                         # setup.js, apc.js CLI
├── common/                      # Shared helpers (e.g. VisageJuceHost.h)
├── plugins/                     # Your plugins (config-relocatable)
├── build/                       # Compilation artifacts
├── release/                     # Ship packages (installers, zips)
└── test/                        # apc.js test suite (npm test)

Workflows orchestrate skills: /apc-design reads your UI framework from status.json, then loads the matching design skill. Troubleshooting auto-captures issues so the system improves over time.

UI Framework Options

  • Visage (pure C++) - experimental - Native frames, high performance, full C++ control.
  • WebView (HTML/CSS/JS) - Modern web tech, hot reload, rich visualization.

The AI recommends a framework during planning based on your plugin's complexity.

Supported Plugin Formats

Format Windows macOS Linux
VST3 ✅ ✅ ✅
Standalone ✅ ✅ ✅
AU ❌ ✅ ❌
LV2 ❌ ❌ ✅
CLAP ✅* ✅* ✅*

* Opt-in per plugin (chosen during /apc-plan, via clap-juce-extensions). Beta — not yet battle-tested across DAWs (see What's new).

Technology Stack

JUCE 9, CMake, PowerShell/Bash, WebView2 / WKWebView, YAML knowledge base, Node.js (CLI + Hub).

Documentation

Docs live in docs/: Getting Started, Plugin Development Lifecycle, Command Reference, Hub, FAQ, Troubleshooting. The Hub serves them as a searchable reader.

Roadmap

  • Windows / macOS / Linux local builds
  • GitHub Actions CI/CD, docs-as-truth, apc CLI, APC Hub
  • Visage + WebView UIs, FFGL + Max/MSP bridge templates
  • Codex, Cursor and OpenCode support
  • CLAP format support (opt-in per plugin)
  • Preset management, plugin marketplace, real-time collaboration

Contributing & Community

Join GitHub Discussions; see CONTRIBUTING.md.

Sponsor

Independent development with significant API costs. If APC saves you time, consider sponsoring - it covers API costs and accelerates new features.

Acknowledgments

  • JUCE Team - the industry-standard framework
  • The AI community - specifically the meta-prompting pioneers
  • Matt Tytel - the Visage library (https://github.com/VitalAudio/visage)
  • 12Matt3r - FFGL and Max/MSP bridge templates
  • vjcharles - macOS support and security hardening (PR #6)

License

MIT - see LICENSE.md. Note: APC itself is MIT, but plugins built with it inherit JUCE's dual license (AGPLv3 free, or a JUCE commercial license for closed-source). JUCE terms.


Built with a lot of tokens for the audio development community. Turn your plugin ideas into reality.

About

Audio Plugin Coder (APC) is a groundbreaking, open-source framework that enables musicians, producers, sound designers, and developers to create professional VST3/AU audio plugins using natural language and AI assistance. Built on JUCE 9 and powered by a revolutionary 5-phase workflow system.

Resources

Contributing

Security policy

Stars

379 stars

Watchers

18 watching

Forks

Releases

Packages

Contributors

Languages