Compact AI assistant for developers learning compact

:fire: Hey everyone! I’m cooking up something really exciting — AI-powered tools for Compact smart contracts! :robot::sparkles:

I’m building a way to generate, document, and lear about Compact contracts faster, easier, and smarter using AI.

Got any ideas or features you’d love to see? Send them my way — I’m all ears! :ear::rocket:

And the best part? I’ll be making this open source very soon, so you can jump in, contribute, and help shape the future of smart contracts.

Stay tuned — big things are coming! :collision:

8 Likes

Oh wow, that’s really cool @luislucena . It would be helpful for a newbie like me if there’s an AI assistant, especially for the Compact contract.

Looking forward for the GitHub repo link later on. All the best! Cheers :rocket:

3 Likes

Thanks, @andreassosilo! That’s the goal: to help more developers get into Compact quickly and easily! GitHub link coming soon! :slight_smile:

3 Likes

@lolocoding / @claude_barde Is there a Kapa AI endpoint available that I can use? I’m currently training that AI with free models, documents, code and grammar, etc.

2 Likes

Wow, that sounds really really cool, how will this differ from KAPA.AI? One thing I would really like is a way to hook a training set for compact into my windsurf workstation. I have a project that Im working on where Im the first person to take all the contextual memory and essense of my ai and move it over to another model in Windsurf, I call it soulSketch. I keep my contextual memory in a repo that the model has access to for reference while working and open that repo in tandem with whatever repo im working on at that time, its working pretty cool. I would be open to a conversation if you want to talk about possible collaboration. I have some wild ideas. @realjohnsanti on X @Johnny5i on discord. Id love to meet you and discuss.

2 Likes

Hi @luislucena , I am part of the Midnight docs team. Thanks a lot for your question. Technically, there is an endpoint that can be used, but because it directly influences our contractual data limit, we cannot make it publicly available just yet.

4 Likes

The goal is to have more technical capacity. I can create quick examples for you, help you with common functions and problems in Compact.

In fact, it would be a great idea to use an existing Kapa AI endpoint.

What you’re building is very interesting! I’ll write to you on Discord to see how we can unify the code and make something more robust :slight_smile:

2 Likes

@nicoshielded thanks for the clarification. I thought of something like that! That’s why I’m developing it based on the available grammar, documentation, and contract examples, so learn from it! Please let me know when you expose a usable endpoint. I actually thought of this tool for internal use by the Midnight team, as I’ve seen over time that Discord can be a problem when using current AI. On the web, it would be more accessible to everyone. It’s a way to attract more developers.

4 Likes

Hey there,

I wanted to know how this compares to using an AI-assisted coding software (Cursor, Copilot) and putting the compact documentation within a prd/ instructions file.

2 Likes

Heey guys! We are delighted to announce that we have added Midnight Setup, our npm package @meshsdkmeshsdk/midnight-setup to our AI. You can now implement Midnight step by step with direct assisted documentation for contracts, APIs, CLIs, and frontends.

For those who asked, you can try it out, and any feedback is welcome @andreassosilo @Johnny5i

I would also like to hear your feedback:) @nicoshielded

Try it here: https://meshjs.dev/

3 Likes

Oh wow I can’t wait to try this!!!

1 Like

Is this embargoed or can I post about this? So amazing can’t wait to get to my workstation to try this.

1 Like

Is there an API or MCP that I can use this directly in windsurf??? I luv you guys Eric. You’re like my genie. I think everything will be better for me after this.

hey @Johnny5i yes, we have MCP integration here: Mesh AI Features

2 Likes

man, you guys are amazing. thank you. Cant wait

2 Likes

hey @rkamogh one of the most important things is that may be confused by the information since the IDE don’t know it very well. In addition to that, Midnight is very changeable. In this case, we are the ones who update it, so you wouldn’t have to do it yourself and waste time on it :slight_smile:

also, we have our MCP server integration with your prefer IDE: Mesh AI Features

1 Like

as someone looking to learn more about compact, this looks pretty interesting to help onboard people to Midnight!

hey @cryptomas thank you very much! that is our goal at Mesh. We are constantly launching tools to onboard more builders!!

1 Like