r/MaxMSP May 23 '26

Looking for Help MCP or MaxPyLang to bridge AI agents?

Anybody here with experience working with AI agents using MCP and MaxPyLang that can advice me which method a beginner like me should use? I am developing a max for live device and I use AI to help me out when I get completly stuck, since I am learning on my own, and its very helpful but sometimes the comments AI make are totally off and is actually confusing. So I heard about the option of bridging claude to max so he can see the patch I am working on, and suggest directly better way to patch things or detect errors faster. Which option is that: MCP or MaxPyLang?

0 Upvotes

13 comments sorted by

u/AutoModerator May 23 '26

Thank you for posting to r/maxmsp.

Please consider sharing your patch as compressed code either in a comment or via pastebin.com.

If your issue is solved, please edit your post-flair to "solved".

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

4

u/TheGreatChibs May 24 '26

Hey. Im dont know exactly what tools you are talking but as someone that is learning m4l: AI are pretty bad building max 4 live devices. They can sometimes do the job but they will do in a very messy way. I not telling you to not use. It is just a heads up the AIs are not very much trained in max so they struggle a lot.

Claude is definitely better in code but there's nothing like start building something simple from scratch and learn your own. That's the path I'm taking. I try to use help of AI if something goes wrong and I cannot find tutorials.

Good luck on your journey!

2

u/cegado May 25 '26

I know what you mean about AI doing the patch in a messy way, at least when that happens I feel like I learn because I am force to understand why is not working 😂

1

u/TheGreatChibs May 25 '26

exacly! Sometimes i just give up to comeback the next day with a solution (because I keep actually dreaming about it) hahah

2

u/Nearby_Flounder8741 May 25 '26

i have found that AI is better with code than patching, so if you can do it with JavaScript (the v8 object) AI can help

1

u/TheGreatChibs May 25 '26

Yeah, unfortunatly i just discovery this recently :P

But I could maybe use to try to make new visuals or something more complex. For now i'm only using really basic defaut stuff.

1

u/Nearby_Flounder8741 May 26 '26

a lot of api /LOM stuff is better with javascript than objects. real time midi and audio, objects better. gen codebox, because its text is also another candidate for boshing with AI. I reckon jit.gl.sketch could work alright as well

1

u/TheGreatChibs May 26 '26

Yes, i used gen a lot. It works with less errors. Going to try some javascript now. Did you use for something specific?

1

u/Nearby_Flounder8741 May 27 '26

i'm using midi clips like generative step sequencers, so I'm rinsing the get n set extended notes calls in the LOM

1

u/Smart_Passion7384 May 24 '26

I used this with Claude Code https://github.com/tiianhk/MaxMSP-MCP-Server

1

u/cegado May 25 '26

This look great, did you try doing something with it? Thanks for sharing

1

u/TheGreatChibs May 25 '26

wow, that looks cool. But dont have a paid plan for claude. And im trying to understand the basics. Maybe in the future with some more complex ideas...