Forum
    • Categories
    • Register
    • Login

    Agentic coding workflows

    Scheduled Pinned Locked Moved AI discussion
    64 Posts 15 Posters 4.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • HISEnbergH
      HISEnberg @Bart
      last edited by

      @Bart I haven't tried it but looks like that may be in the works: https://github.com/christoph-hart/hise_cpp_raw_template/blob/main/AGENTS.md

      Sonic Architect && Software Mercenary

      B 1 Reply Last reply Reply Quote 0
      • B
        Bart @HISEnberg
        last edited by

        @HISEnberg said in Agentic coding workflows:

        @Bart I haven't tried it but looks like that may be in the works: https://github.com/christoph-hart/hise_cpp_raw_template/blob/main/AGENTS.md

        Thanks HISEnberg.

        It does appear like its on the menu 🍻

        Testing last week I found it can add Hise modules within one of the projects files, but couldn't directly add the modules to the current Hise project it's interacting with.

        Also found it gets in to a loop of shutting down and re-opening Hise when the AI needs to create a new project. It seems not able to create new Hise projects, nor load xml's yet.

        These few limitations almost make it useable for me atm, but will test again soon 🀞

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @Bart
          last edited by

          @Bart FYI I'm working on a TUI app at the moment that allows you to remote control HISE and perform all kinds of actions - the same command set is also exposed as an CLI interface for the LLM to use (and you can use the TUI app as a "log viewer" to trace back what the LLM did).

          This will include a feature complete builder mode with full undo support where you can add / remove modules and change parameters from the command line:

          https://github.com/christoph-hart/hise-cli/issues/5

          HISEnbergH 1 Reply Last reply Reply Quote 7
          • HISEnbergH
            HISEnberg @Christoph Hart
            last edited by

            @Christoph-Hart excited to see what is in the works here! 😁

            ScreenRecording2026-04-05at1.09.01PM-ezgif.com-video-to-gif-converter.gif

            Sonic Architect && Software Mercenary

            Christoph HartC 1 Reply Last reply Reply Quote 2
            • Christoph HartC
              Christoph Hart @HISEnberg
              last edited by

              @HISEnberg haha yes that is some funky stuff, my favorite part is how I replicated the module tree in ASCII art:

              105ab78b-2dcc-424e-ac6d-a7d6cc7b2de5-image.png

              I've also pulled in the entire setup.hise.dev stuff into this app - this bypasses some of the quirks of the website approach - now people just have to download this self-contained binary TUI app and type in /setup and it will perform all the steps from the setup workflow.

              It also acts as logger for monitoring what the LLM does - if you have the TUI open and the LLM calls

              hise-cli -builder add Sampler
              

              then this shows up in the chat history with an "LLM" tag.

              I'm probably moving all the runtime functionality out of the MCP server as soon as the hise_cli is ready so the MCP becomes a read-only documentation / explorer tool that sits on the HISE doc server - currently it needs to be run locally so it can connect to the HISE Rest server, but since the Hise-cli is doing the same thing too it's easier to separate these tasks.

              The MCP server also integrates with the new doc website and uses a small embedding model and a vector database for looking up docs & code examples - I evaluated different approaches, but that gives me the advantage of checking the quality of the MCP search.

              1 Reply Last reply Reply Quote 4
              • B
                Bart
                last edited by

                Are these Hise settings working?

                Recompile On File Change
                Auto Start Rest Server

                Not working here with Windows, on a month old develop build.

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @Bart
                  last edited by

                  @Bart Recompile On File Change does work here on mac, the other things I don’t know…

                  Hise made me an F5 dude, any other app just suffers...

                  Christoph HartC 1 Reply Last reply Reply Quote 1
                  • Christoph HartC
                    Christoph Hart @ustk
                    last edited by

                    on a month old develop build.

                    A month old develop build is ancient material when you want to work with the AI tooling.

                    Recompile On File Change is disabled if the rest server is running - the rationale is that the LLM will make multiple edits and then send a recompile message when it's done - a recompilation after every filesave might interfere with this.

                    ustkU B 2 Replies Last reply Reply Quote 2
                    • ustkU
                      ustk @Christoph Hart
                      last edited by

                      @Christoph-Hart clever move…

                      Hise made me an F5 dude, any other app just suffers...

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bart @Christoph Hart
                        last edited by Bart

                        @Christoph-Hart said in Agentic coding workflows:

                        Recompile On File Change is disabled if the rest server is running

                        That makes perfect sense!

                        Sort of assumed most of the agentic workflow updates might be automatically accessible via the MCP server.

                        Updated Hise today, but the Auto Start Rest Server is still not working.

                        Enabling the Toggle Rest API Server option in the tools menu wouldnt be so bad * but random Hise crashes and the agent randomly closing Hise makes it annoying, then forgetting to toggle the rest server makes the agent opens a new Hise instance - uggh

                        If the agent launches Hise itself - I can see it ping the console with incoming requests, so the REST server seems to be connected in that circumstance, but then the agent isn't able to do anything, it gets stuck at the Hise welcome screen.

                        Relatively confident (not really) I've got CLI / REST / MCP / LSP working to some degree.
                        Made the agent modify the module tree - eeeeeeekkk AMAZING!

                        Is there a shortlist of what agentic workflows can do so far..

                        Christoph HartC 1 Reply Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart @Bart
                          last edited by Christoph Hart

                          @Bart explore the hise-cli tool, that's where the bulk of my current time is being spend on. The goal is to enable automation of every UI interaction that an agent might perform:

                          • load / switch projects
                          • set project settings / preprocessors
                          • compile DLL / networks
                          • start / quit HISE
                          • compile scripts
                          • modify the module tree
                          • modify the UI tree
                          • edit script callbacks
                          • edit DSP networks.
                          hise-cli --help
                          

                          gives you and your robot the entry point. for a context based help, use

                          hise-cli -builder --help
                          

                          gives you all commands for the builder mode.

                          it gets stuck at the Hise welcome screen.

                          Yeah you might want to deactivate that one (it's a setting that you can toggle off).

                          B David HealeyD 2 Replies Last reply Reply Quote 3
                          • B
                            Bart @Christoph Hart
                            last edited by

                            @Christoph-Hart So practically everything πŸ‘ˆ 😎

                            Wow it's really nice.. Being able to modify the module tree and the interface components without scripting them, marvelous.. Enough to get me started - keep at it!

                            1 Reply Last reply Reply Quote 0
                            • David HealeyD
                              David Healey @Christoph Hart
                              last edited by David Healey

                              @Christoph-Hart Is it possible to tell the AI not to do some of those tasks? I'm thinking tokens are expensive and I don't want to waste them on starting and quitting HISE :p

                              Free HISE Bootcamp Full Course for beginners.
                              YouTube Channel - Public HISE tutorials
                              My Patreon - HISE tutorials

                              dannytaurusD 1 Reply Last reply Reply Quote 0
                              • dannytaurusD
                                dannytaurus @David Healey
                                last edited by

                                @David-Healey That's probably not the level at which you want to be optimising token usage. 😜

                                I feel like my token usage is mostly around regenerating context. That's the main battle I'm trying o win. How do we have a central 'brain' of everything related to a project? How do agents read/write to it?

                                Meat Beats: https://meatbeats.com
                                Klippr Video: https://klippr.video

                                Christoph HartC 1 Reply Last reply Reply Quote 1
                                • Christoph HartC
                                  Christoph Hart @dannytaurus
                                  last edited by

                                  Is it possible to tell the AI not to do some of those tasks?

                                  sure. I mean you have to tell it to use these tools in the first place, so if you keep it a secret from your robot, it will never call hise-cli. Once the dust settles I'll try setting up system prompts / agents.md file templates that teach the AI the optimal usage of this tool.

                                  The ROI on it letting it compile the project for you is pretty narrow, so that particular set of commands might not be the most thrilling thing to teach the agent - however the hise-cli offers a script runner that can perform build steps for you.

                                  /hise launch   # open HISE
                                  /builder reset # clear the module tree
                                  /project       # Enter project mode
                                  export dll     # compile the DSP network dll
                                  load MyProject.xml # load your XML preset backup
                                  export project # VST3 as default
                                  export project with format=Standalone # export App
                                  /exit          # leave project mode
                                  /hise shutdown # good bye
                                  

                                  is basically the full cross-platform build script that automates the export for you. you then just need to call hise-cli --run "build.hsc" (or even register hise-cli as shell script runner, then the script file itself becomes executable).

                                  1 Reply Last reply Reply Quote 2
                                  • First post
                                    Last post

                                  25

                                  Online

                                  2.3k

                                  Users

                                  13.6k

                                  Topics

                                  118.6k

                                  Posts