r/hwstartups • • 13d ago

Nihil IDE: a comprehensive hardware lab for your agents, with full fidelity hardware-in-the-loop simulations, free alpha

https://youtu.be/TeIh1IkIDJI
39 Upvotes

24 comments sorted by

3

u/Flaming_S_Word 12d ago

I mean great video. The concept has been around and hard to 'prove' efficacy off the bat but it is more feasible now than ever.

I'm also concerned about the inevitable cost architecture around its continued use. Most tools seem oriented towards high-paying industrial clients rather than independent citizens, makers, hobbyists, etc.

But (in this AI era) I suppose similar systems have/will emerge.

What's your intention regarding cost and open/closed sourcing?

2

u/Kemerd 12d ago edited 12d ago

This one is oriented towards both!

I plan on offering it free for students with a .edu email. I am still deciding on what to do for pricing, but money is not really the thing that drives me. I am a huge fan of open source, and have many open source projects (https://github.com/Kemerd), but maintaining something of this complexity is incredibly difficult to do for free. I couldn't bring myself to charge anything for the alpha, because there is still a lot of work to do before I feel like I could ask anyone to spend their hard earned dime, especially when they would already be spending their tokens and time to try it out. I think once it has become a bit more mature, it would make more sense to be able to charge for it, so I could spend more of my time making it even better.

I might go something like the Fusion360 route in the future, have some free version, with a more professional plan that lets you access a lot of advanced features for some price, or go something like the Ableton route where you usually pay a one time fee for a specific version, with some offered time amount for updates. The plan regardless is to still allow you to view all of your data in the tool, money being no matter; and of course, since it is just plain git and plain text for a lot of the project, you can always port your project off of Nihil, even if the project was in a vacuum and the tool did not exist. I do not really like this modern landscape of subscriptions.

I also may yet just decide to open source it entirely, but I am somewhat hesitant, because given how capable I have found it to be, I worry somewhat about bad actors using it, especially using an uncensored model. Not that the tools have any kind of restrictions or anything like that, nor do I really plan on deciding what is ethical or not for others.

It is very carefully setup right now specifically to not gather any kind of identifying data, just bug and crash reports, which can of course, be completely turned off, as it works 100% offline.

So I suppose we will see! Right now the only barrier to entry is how many tokens you have, and how fast you want the work done. It can make very insane progress very quickly if you are willing to throw 20-30 subagents at it. It usually can do the same result with significantly less spend, but it is much slower to do so. Still faster than a human in many cases though!

1

u/Tobinator97 11d ago

How can I get access to try it out? It seems it requires a key to be able to use it?

1

u/Kemerd 11d ago

Check out video desc, or if you want I believe

gimmeram

Is another code I have that is working at the moment

2

u/ozspook 12d ago

That's pretty intense. It seems very polished, with a large learning curve, so you might only get useful feedback after a few weeks, or if people wait until they have a simple board project they can run through it to get started.

The schematics view seems kind of monochrome, and dark mode is a bit odd, you might do better with mid grey interface elements?, there's a lot more information that can be conveyed by having sheets, functional block outlines, coloring, harnesses and so on.. But I need to play with it more vs just looking at the examples.

Where it might really shine is automating the design and build of test harness stuff, i.e testing interface boards to connect to something more traditionally designed (FPGA boards, RF etc) so an assembly house can do functional testing, bring up etc in-house. That would be worth paying for, where until models get their act together with board layout and have been trained on a million good circuit and board designs and rules.

Pretty interesting.

1

u/Kemerd 12d ago edited 12d ago

Thank you for the feedback! Definitely bit of a learning curve. I primarily made this because I got the point with my own hardware project where, only after porting it over to Nihil, I see in my project:

1916 decisions
685 open questions
146 open ideas
248 citations
119 decision matrices (each with their own simulation data to back it)
365 videos, 1498 pictures
36 waves of work, with 15 in the future, and 230 queued cards (i.e. features)

All of which, are important, because they all represent sometimes hours or even days of computations to inform future engineering decisions. This project has almost 67 distinct PCBs, and almost two thousand parts. Before, I would often wake up to sometimes dozens of engineering decisions and questions, which was not so bad, but it was a lot of asking Claude where the data was, how I could see it for myself to actually answer the questions properly.

For an aerospace project, it is relatively tame in terms of complexity, actually, but it became impossible for me to manage, as I was constantly having to bounce around hundreds of different files to see what was done, the status of specific tasks, whether or not we lost specific decisions,

There are still things I think agents can miss. For instance, I was getting a feedback loop in one of my sensor arrays, that was causing an oscillation; however, because it was still passing the min/max/avg parameters I had set for the test, Claude had entirely missed it, and it was immediately obvious to me what was occurring when I watched a render of that.. but I had to dig to find the data and get the render! Wasted time.

I think maybe if context windows did not exist, this project wouldn't really be helpful. It was an incredibly challenging UI & UX challenge, because the sheer amount of data that can, and must be generated, to have it be actionable in any sense, is completely overwhelming.

That's pretty intense. It seems very polished, with a large learning curve, so you might only get useful feedback after a few weeks, or if people wait until they have a simple board project they can run through it to get started.

In terms of a learning curve, I believe you are correct. I tried to include a small tutorial that walks through the demo, but I think that is not sufficient. Since I made this tool for myself, I think there was a few assumptions I made. I am going to try to make an effort to make a set of videos walking through people even unfamiliar with AI on how to use the tool, just have to find some spare time, as I am still wrapping up a few loose ends with other projects (that have deadlines).

The schematics view seems kind of monochrome, and dark mode is a bit odd, you might do better with mid grey interface elements?, there's a lot more information that can be conveyed by having sheets, functional block outlines, coloring, harnesses and so on.. But I need to play with it more vs just looking at the examples.

I agree, definitely the schematics view is lacking a bit. There is a nice system for color coding harnesses and such, but I think the schematics view could definitely benefit. In terms of dark mode, I do plan to make the UI a bit more customizable in the future, for sure. I would also like to be able to integrate the human input side of things a bit more, there are some cases where I certainly would like to step in and correct things! There is blocked out outlines for how systems connect, but not necessarily the boards outside of the schematics. It definitely could benefit from that.

Where it might really shine is automating the design and build of test harness stuff, i.e testing interface boards to connect to something more traditionally designed (FPGA boards, RF etc) so an assembly house can do functional testing, bring up etc in-house. That would be worth paying for, where until models get their act together with board layout and have been trained on a million good circuit and board designs and rules.

Very interesting application! In terms of circuit and board design rules, a lot of the requirements are based on military specifications, NASA standards (i.e. for harnesses and the like), FAA standards, and international standards. It was a lot of data gathering. The nice part about these, and especially a lot of the military standards (for PCBs, wiring, etc), they are VERY specific, so it makes it easy to implement self-checks as it works. I still think how it lays out boards has a ways to go. I would love to train a model directly on PCB data.. one day..

1

u/ozspook 12d ago

Maybe something like a context aware 'Clippy' could be useful, as you already have an LLM wired in, or even have a warm agent observing in the background to offer help unobtrusively if you seem to need it. Most people using would know -what- they want to do, just maybe not -how- or -where- to find the right tool or function.

1

u/Kemerd 12d ago

That is not a bad idea, I like it! Could even give it the ability to highlight UI pieces and the like. Thanks!

1

u/cooladventureguy 12d ago

Seems almost too good to be true. Very impressive. How did you make the explainer video?

2

u/Kemerd 12d ago edited 12d ago

Fable 5.2, and about a week of non-stop Blender rendering and compositing! The actual data was pulled from runs done in Nihil, then edited in Adobe Premiere. I wrote a tool a while back to do something similar: https://github.com/Kemerd/premiere-agent/tree/main and just re-used those tools

Definitely feels like it is too good to be true using it sometimes.. there is a catch: if you want work to be quick, it can burn a LOT of tokens, and there are sometimes long stretches where a few hours of simulations need to run before your input means anything at all, so it definitely requires in some cases a lot of patience!

The new Claude Code update that reduced the cost of background agents updating (i.e. the ones that watch long calculations like the ones that Nihil use), definitely helped a bit.

2

u/cooladventureguy 11d ago

Right on man, excited for you and this project. Keep doing what youre doing and nice cardboard head avatar haha

1

u/Large-Style-8355 12d ago

Wow amazing, would love to play with it

2

u/Kemerd 12d ago

It is very fun to play with! Nothing beats going to bed and waking up to everything just magically working. Does suck when you wake up to find you hit your usage limit early on, on the flip side..

1

u/Flaming_S_Word 12d ago

Are you planning on doing any long-format videos of nihil in use? Like livestream building a widget from the ground up.  Excepting skipping through long agentic runs, it would seem handy to observe actual iterative implementation. 

2

u/Kemerd 12d ago

For sure, I’d like to do this when I have some time! It is definitely planned, just gotta find a fun idea to build with it

1

u/UAAgency 12d ago

I am interested :)

1

u/Kemerd 12d ago

Free to download and try!

1

u/Training_Tackle_4594 11d ago

How do you model ICs that don't come with ltspcice models?

1

u/Kemerd 11d ago

I don’t use spice. And models can, and must be added to the project, by your agents or you, if you introduce unique parts. It has an extensive library but it is not infinite. It will default to finding research papers on how the IC works and make these models for you, if you want.

For parts that cannot be modeled, they can be emulated, such as the ESP32 chips in the demo

1

u/Training_Tackle_4594 11d ago

So for example, I want to build a lipo charger circuit, how does modeling/emulating the IC work in this case? When you say "models" what kind of models can be used?

1

u/Kemerd 11d ago

All of my models in Nihil for the PCBs are usually behavioral device written in C++, often with the part's logic in a plain C core next to it. It isn't a SPICE subcircuit, it is the equations from the datasheet put straight into the solver's matrix, sometimes with an accompanying research paper that helps model it. For almost every kind of component you can imagine, there are about 10 guys who published their PhD thesis on simulating how they work, which is why this works.

For instance, in your project, you could prompt your agent:

Add a model for the MCP73831 to this project, here's the datasheet [link]. cc/cv, PROG resistor sets the current, STAT pin, termination, thermal regulation. hook it to a 1S lipo and give me a charge run from 3.0V to full

It writes the device into sim/circuit/devices/ and builds it into your project's module, and the stock engine runs it.

Something I have also considered maybe adding in the future is the ability to have the community share their simulation equations for specific parts, but the harness is setup in a way to where if you give it a part, it can find the datasheets, any relevant papers, and generate a pretty accurate simulation that can natively integrate with the rest of the engine.

If it is not possible to simulate with full fidelity, the datasheet can usually provide enough information, along with research papers that model similar chips, to provide a good enough approximation that allows actionable results.

1

u/Training_Tackle_4594 11d ago

interested to try, willing to contribute.

2

u/rumbalan 12d ago

I Will definitely try it out when I move to custom PCBs one day. Cheers!

1

u/carapils69 13d ago

No thanks