@griffinboy For me it's been really good at creating ideas for states, icons, layouts, etc.
Are you using it in your repo? Or standalone? The more context it has, the better job it will do. The detail in the prompt matters lot too.
@griffinboy For me it's been really good at creating ideas for states, icons, layouts, etc.
Are you using it in your repo? Or standalone? The more context it has, the better job it will do. The detail in the prompt matters lot too.
I've used Figma for a few UI designs, and I like it, but version control is hard because Figma's file format is compressed.
For my current plugin project I switched to Pen https://www.pen.dev and I love it so far.
Advantages are the project files are plain JSON, which means they're readable by humans and agents, and they can go into version control. It also has first-class support for AI agents, with a chat session panel on the left. Claude Opus 5.5. works very nicely in Pen.
It has pretty good feature-parity with Figma, but to be fair, misses some of the more complex features.
My workflow is to keep UI design work and code work completely separate. To this end, I have instructions in the project CLAUDE.md to tell Claude Code agents the Pen JSON is read-only and they should never edit it.
That way I can drive the design completely from the Pen agent sessions, have that agent commit its own UI work, and have the Claude Code agent read the file to pick up changes (very easily from the plain JSON) and implement the design changes in HISE/JUCE.
Works really well so far. The Pen agents can take care of a lot of tedious stuff in the UI design like making my sketched out objects into reusable components, replacing dozens of objects in one pass, aligning things and setting frame consistent padding.
Asking the Pen agent to produce 10 variations on my slider design, pad layout, or settings icon, and watching it do it live in front of me is very cool.
Another plus is you can run multiple Pen agents to work on different parts of the UI design and all run around doing their own thing. Very cool! 
@Lindon This looks interesting but I haven' tried it yet: https://github.com/Vincentwei1021/video-shotcraft
It uses Remotion, which is itself code-based (React, TypeScript/JavaScript JSX/TSX) so it's easily accessible to agents.
Remotion doesn't create videos like the usual AI video generators that synthesise a video stream. In Remotion you create a storyboard and requirements in code, then it renders it frame by frame into an MP4 container.
This means it's version controlled, editable and predictable.
@HISEnberg Does that actually work? I thought it was too buggy?
@Sampletekk Last I heard, it wasn't possible.
Workaround is to use an Audio Loop Player module and put your test signal in there.
@David-Healey Excellent! Glad you're enjoying it.
Yeah, Matt Pocock exploded on the scene with his skills. I've tried a couple, /grill-me and /to-spec mostly, but I forget to use them most of the time 
A few other things you can look at to improve token usage and get better code:
Headroom - proxy that intelligently compresses the input context to save input tokens
Caveman - tells the model to send less verbose replies to save output tokens
Ponytail - nudges the model towards writing terser, more pragmatic code
@Jeetender You need to use an odd number of frames so that there's one in the centre.
@David-Healey said in My setup for building HISE plugins with AI (YMMV):
I'm setting up herdr now
I highly recommend the herd-sidebar plugin. It shows the file tree and git view next to your session pane.
The main herdr sidebar shows your projects at the top and the active agents at the bottom, so you can quickly click to them.
The herd-sidebar sits in the left side of the main pane here, showing the git view.
In this herd session, I've got 11 projects going, most just on main branch but one with 2 other worktrees. Each project has multiple tabs across the top, for each coding session/feature/bug/chat.

@iamlamprey Quick test with DeepSeek Flash in Claude Code.
Asked it to find a bug a propose a fix. Took 14m and found a really nice bug that Claude missed.
Fix took about 6m and the total token usage is shown below.
That cache hit rate is impressive! That seems to be DeepSeek's secret weapon at the moment. One of the pieces they haven't open-sourced, and worth going direct through them to get those sweet, sweet KV hits.
Keep in mind I'm noticing anything like Headroom, Ponytail or Caveman right now, so the input tokens are coming straight from Claude.

@David-Healey Yep, the Claude subscription is a blessing and a curse.
The blessing is you get a ton of usage for a fixed monthly fee.
The curse is that you can only use your subscription allowance through Claude surfaces (Claude Code, Chat, Cowork, Design).
@Christoph-Hart said:
I would add the Pi agent as a viable harness option
I've tried a handful of other harnesses but ended up feeling most comfortable in Claude Code.
The beauty for CC for me is the subscription. The amount of token usage I get compared to paying API pricing in other harnesses is substantial.
I do want to try some of the cheaper models in another harness though, to check what the quality is like compared to Fable. I'll check out Pi, looks cool.
Rewind a couple of years ago and I had no idea what I was doing with any of this. I was pasting HISE scripts into a ChatGPT window, getting back something 80% right, pasting it into HISE, pasting the error back, and so on. It worked, sort of, but it was slow and the model never really knew what my project looked like. Later I moved to Cursor, so the model could at least see all my code. But since then I've moved to doing everything in the terminal instead of a full IDE.
This post is the setup I've ended up with for building Sublime, the plugin I released this month. And it's the setup I use for all other coding tasks too - building static websites, writing Ruby on Rails web applications, making Mac apps, etc.
This post is based on Claude Code because that is what I use, but pretty much everything here has an equivalent in the other tools. If you already run an agent locally you won't learn much here. If you're very new to AI, or still in a Claude/Codex/Gemini browser tab, read on.
As with all setup posts like this, your mileage may (very likely will) vary.
The single most confusing thing when you start is that "AI"
is at least four separate things stacked on top of each other, and people use the names interchangeably.
The models and their overlords
The model is the thing that actually thinks. Each overlord company makes their own model(s). Anthropic (company) makes Claude models (Opus, Sonnet, Haiku, and now the Fable/Mythos tier), OpenAI (company) makes GPT (model), Google makes Gemini. The model is just text generator, lovingly known in some circles as a 'bullshit generator'
. It takes text in and gives text out - that's it.
Christoph's rule of thumb in the agentic thread was that Opus 4.6 or an equivalent was the floor for HISE work, and anything smaller is a false economy. I agree, but that was a while ago, so adjust your baseline accordingly. For my work, I only ever use the best model available from the provider I use. Right now, that's Anthropic's Fable 5.1.
The harness
The harness (also called the agent, or the CLI) makes the model feel conversational and personal. It reads your files, runs shell commands, edits code, calls tools, and loops until the job is done. It's really only passing text to and from the model but it's also adding all the context needed for a continual, useful conversation.
Claude Code is Anthropic's agent/harness. Codex is OpenAI's. opencode is the open-source one Christoph uses. Cursor, Zed, VS Code with Copilot, and Google's Antigravity are editors with a harness built in. The harness is a choice independent of the model: opencode and Cursor can run Claude and other models, Claude Code can only run Claude.
I've been very happy with Claude Code in the terminal for many months now, only tweaking the actual terminal app that I use - currently using herdr.
The context files
These files are plain markdown you leave in your folders for the harness to read at the start of every session. Claude Code reads CLAUDE.md; most of the others read AGENTS.md, and the two are converging (Christoph said his hise-cli templates will be agents.md). This is the layer that turns a clever generalist into something that knows YOUR project. Most of this post is about these.
The tools
The things the agent/harness can call out to beyond the shell: MCP servers (a protocol for plugging a tool into any harness), language servers, and plain command-line programs. For HISE this means Christoph's HISE MCP server, hise-cli, and the HISE REST server inside the editor.
Show me the money!
A subscription (Claude Pro or Max, ChatGPT Plus, a Cursor plan) gives you a monthly allowance with rate limits. An API key is pay per token, no ceiling, but it's usually more expensive for a comparable amount of access. Beginners should start with a subscription so a runaway loop just means you run out of tokens rather than facing a massive API bill at the end of the month.
I'm currently on the Claude Max plan at £90/mo I was on the Pro plan at £20/mo for quite a while, but when I stepped up production I started running out of tokens too early. I do get close to the token limit now, on £90/mo, so the next step up for me is £180/mo. But in terms of productivity gains, and compared to how much human help you could hire for £180/mo, the cost is tiny.
Usage on Claude is rate-limited by 5-hour and weekly windows. Supposedly so the overlords can manage bandwidth of their mega-cloud-thinking-machines, but the relaity is usually fine for regular work.
The highest-end Claude Fable model has its own rate limit because it uses a lot more resources than the lower Opus/Sonnet models. As I write this on a Saturday afternoon, I'm at 95% Fable usage for the week, which resets on Tuesday, so I'll definitely hit the limit before then.
The browser chat is the model with limited abilites and environment.
In a regular AI chat session, you play the agent. You copy files in, copy answers out, run the code and report back. Every round trip loses detail, and the model only ever sees the fragments you chose to paste.
In a Claude Code browser session at least you can connect to your project repo on GitHub. But you're still working in an isolated environment. The model can only see your repo code. You migth think that's all you need, but the real power in agentic coding comes from all the things and actions around the project repo.
Running the agent in the project folder changes the job completely:
project_info.xml, samples, untracked files, everything.~/Code/HISE is on the same local disk. When the docs are vague about a LookAndFeel obj field or what setIntensity expects, the agent opens the .cpp and reads the implementation. This is the single biggest quality jump I've had. The majority of the "HiseScript hallucination" problem goes away when the model can check the HISE source.git, node checkers, sox for audio analysis, the build. It can write a script to migrate 125 presets and then run it, instead of giving me a script to run.ai/ folder below) instead of staying isolated in a chat tab.One correction to something I wrote in Christoph's thread back in March: I said terminal agents lose the chat history when you close the window. I since learned that Claude Code keeps every session and the /resume command lets you pick an old one up with its full context. Cursor's tabbed history is still friendlier, but the capability is there. And at the end of the day, this is all just text files on your machine. They're shuffled away in hidden Claude folders, but they're there. You can back them up, make a searchable archive of all your agent sessions from day one (I just did that), and move them between machines.
This is the heart of the setup. The harness reads context files from several places and stacks them, so each file can hold the rules that belong at that level. I have three, plus one import.
NOTE: If you don't use Claude, your file name and location will be different, for example ~/.codex/AGENTS.md for Codex. Also, any paths mentioned are Mac - adjust for Windows/Linux.
~/.claude/CLAUDE.mdRules about ME and this MACHINE, which apply to every project. Nothing about HISE lives here, and nothing about inidividual projects. Examples from mine:
sox.Notice these are mostly "never do X without asking". Each one was added the day the agent did X. That is how the file grows, not by sitting down and writing all the rules at the start, but by writing one line each time something bites.
Take the MERGE_HEAD issue I had recently. When that was resolved I asked Claude to add a note to ~/.claude/CLAUDE.md so that every new coding session is aware of the problem and the solution.
my-project/CLAUDE.md and my-project/HISE.mdThis is a separate CLAUDE.md file with specific context for this project.
The HISE knowledge lives in a second file, HISE.md, pulled in with one line at the top of CLAUDE.md:
@HISE.md
HISE.md is about HOW TO WORK ON A HISE-BASED PROJECT in general (not how to work on the HISE source code itself - that's below). What the MCP server is for and when to use it, where the HISE source is and which directories answer which questions, the audio-thread timer pattern, the HiseScript gotchas I've hit (inline locals shadowing namespace members, getModulator being onInit-only, scriptnode Smoothing being in seconds whatever the display says). Nothing in it names the plugin, so I can copy it into the next plugin repo unchanged.
CLAUDE.md itself is about THIS plugin and the decisions that are not derivable from the code: the naming convention for component ids and plugin parameters, why the top-bar panel is declared after the main sections (VST3 parameter order), which switches are fronts for hidden sliders, which features are hidden for 1.0 and how to ship them later, the pre-release checklist, how the two XML files stay in sync. It is long (7500 words) and every paragraph has a date and a reason, because "why" is what the agent cannot reconstruct from the code.
The split matters. If you mix the HISE mechanics in with the project decisions you cannot reuse them. Keeping them in their own file means the next plugin starts with everything I've learned so far.
~/Code/HISE/CLAUDE.mdA third file, for when I am working ON the HISE source rather than WITH it in a project. It says which branch is mine, which tracks upstream, that builds are mine to run, that the agent may commit only when asked. Then the C++ conventions (unity builds, tabs, Allman braces, the USE_BACKEND / USE_FRONTEND split, the lock-free threading rules), and a pointer to the guidelines/ folder Christoph added for exactly this purpose.
The reason this is a separate file and not a section of the plugin repo's file is that a session started in the plugin repo reads the plugin rules and a session started in the HISE clone reads the HISE rules. Each one gets its own proper set of rules.
By default the agent/harness works in the folder you started it in and asks before reading outside it. For HISE work you want it to reach:
~/Code/HISE). The agent greps hi_scripting/scripting/api/ for the real signature of a scripting call, hi_core/.../floating_layout/ for the FloatingTile content types, and so on. My repo file tells it which directory answers which question so it doesn't repeatedly search the whole thing.hise_mcp_server, cloned and built with npm run build). Registered in the repo's .mcp.json so any harness that opens the folder gets it. The docs tools are always available and are much cheaper in tokens than fetching the HISE docs website; the runtime tools (recompile, screenshot, read/set component properties) work when HISE is open with Tools > Enable REST Server.hise-cli, which is absorbing the MCP server's runtime side. Compile over REST works from the CLI since 0.8.6 / HISE 4.9.3.In Claude Code the permission for an outside path goes in the project's .claude/settings.local.json (or claude --add-dir ~/Code/HISE at launch). Mine has the AppData folder and the MCP tools allow-listed; the HISE clone itself I just approve when asked, which in practice is once per session. Other harnesses have the same idea under a different name.
Two habits worth adopting:
project_info.xml says it too. I shipped three months of linear filter modulation that was logarithmic in the editor before I learned this. My repo file now has a paragraph on it, and the agent catches it for me.ai/ folderThis is just a folder of markdown files in the repo, committed like code.
ai/ holds durable write-ups of things that took real digging. Why plugin parameters appear in the order they do across five DAWs, what the 1.0 preset format froze and how to add controls after it, experiments that were tried and dropped (with the reasons), extensive guides for setting up and using test machines. Each file is one topic, dated, with the decision AND the mechanical reason. ai/README.md indexes them in one line each.
The HISE clone has the same folder with its own conventions: specs/ for how a subsystem works anchored to file:line, discovery/ for things found out that are not in the docs, todo/ for diagnosed bugs with a proposed diff that has not landed yet.
The agent reads these when a question touches the topic, and it writes them when we finish an investigation. Two rules I enforce: the notes are the agent's wording, not my feelings, so they are quoted as "the note says", never as "you decided"; and when a note contradicts what I say now, I win and the note gets fixed.
Claude Code also has a per-project memory of its own (short files it writes for itself about how I like to work: "never commit unasked", "flag anything that breaks saved DAW sessions"). That's a harness feature and the files live outside the repo. Don't allow the agent to rely too much on this 'memory'. It's useful day to day, but the repo ai/ folder is the one that survives switching tools.
Everything between "the project is done" and "there is a working installer" is scripts I had the agent write and I never have to think about. A pre-release checker (version bumped in all three required places, no TEMP code left, UI XML and project XML in sync, factory preset count matches the user guide, etc.), the export via HISE's batch compile, pluginval with strictness setting, codesign and notarise the exported plugin, build the pkg, render the user guide PDF, upload it to file storage. One command. The Windows build has a twin script that runs the same checks.
None of that is HISE knowledge. It is the kind of tedious shell work the models are genuinely excellent at, and it is a good first project if you are nervous about letting an agent near your script code - let it automate your build first.
Planning. When chatting with the agent, I use phrasing like "Let's discuss how to ..." or "Let's plan a new feature called XYZ". This not only prevents the agent from writing code right away, it also frames the task as discovery/discussion rather than unplanned action.
Code IDE. You may notice I haven't mentioned using an IDE. That's because I don't use one anymore.
I read the code written by Claude right in the terminal, either with git diff or in the chat output. On the rare occassion that I want to hand edit code I open that single file in CotEditor, a basic free code editor on Mac. I do regularly edit the plan files and feature specs - they're plain Markdown and form the contracts between me and the agent. But editing code, hardly ever these days.
.mcp.json.CLAUDE.md (or AGENTS.md) in the project. Include what the plugin is, where HISE is, "look up every API call before writing it", and your two or three personal rules. Add a line every time it does something you did not want.Happy to answer questions, and I would love to hear how other people have arranged theirs, especially the opencode and Zed crowd. @iamlamprey's custom harness setup sound cool too.
@David-Healey
Excellent title edit. Shame the title formatter doesn't do strikethrough.
Try these:
W̶h̶e̶r̶e̶'̶s̶ ̶C̶h̶r̶i̶s̶t̶o̶p̶h̶?̶
W̷h̷e̷r̷e̷'̷s̷ ̷C̷h̷r̷i̷s̷t̷o̷p̷h̷?̷
Seems like Godwin's Law needs updating to AI instead of Hitler 
@iamlamprey said in Where's Christoph? We found him and now we talk about AI:
getting it to form coherent sentences for the first time was cool to see :D
Yeah, I bet! 
Have you tried headroom with your setup? Might make it even cheaper. Or have you got that kind of functionality built in?
@David-Healey Given how it sounds like you use Claude, might not be too different.
If you only use Claude to propose/write/update code that you then read and edit, doing it in the browser works fine.
But working in a browser means your agent is running just in the repo, on an isolated cloud instance.
Using the desktop app (or the CLI as I prefer) is all local, so Claude can:
@Lindon said in Where's Christoph?:
yeah thats what everyone says..so we all end up with nothing. Which is WORSE than out of date
Well, since you asked so nicely
I'll write something up to post later.
@iamlamprey said in Where's Christoph?:
Caveat in case someone thinks I'm stealing their .ch1 files with my "ch1 extractor" - I'm building out an MVP to see if I can convert my existing sample libraries into a synth and I can't be bothered downloading the original sample files lol
Don't worry - code and digital asset privacy is a thing of the past too.
It's always been possible to do all the reverse engineering that's all the rage now - the decompile libraries have been around for years. It's just that now LLMs bring us two things we didn't have before: speed and accuracy, and both at a much lower cost than hiring a human.
@iamlamprey said in Where's Christoph?:
I use Deepseek Flash and the combination works as well or better than any standard Claude / Codex setups at 1/100th the price.
Is that a subscription or API calls?
You can't really compare DeepSeek API costs with the token usage you get bundled in a Claude or Codex subscription, especially if you're driving it hard.
Comparing directly to Claude/Codex API isn't fair either, since the vast majority of heavy Claude/Codex users are on a subscription and wouldn't dream of paying API prices for those models/harnesses.