Application code can be harnessed and tested with the right abstractions. QEMU can emulate a system architecture. But the nature of embedded seems like a complete harness isn't likely
I'm particularly interested in keeping things performant while dealing with constrained resources. Access to spiflash/i2c bus/peripherals from multiple tasks. task starvation.. timing to service interrupt signals etc
I feel like spinning a board that has two mcu's: one for the target and another 'monitor' ?
relying on debug output is largely a no-go for real final production-ready code. about 10% of bugs come from testing with debug and removing in production
Dunno!
I found that giving it full debug to a tablet allowed it to deploy and test Android apps down the USB cable.
I haven't yet done an ESP32 project using an agent when I do it will be given some tools for debug directly and maybe some skill steers about how to do some things so it prefers to use the hardware over trying to emulate something.
> Pi is a minimal agent harness.
it lacks basic features like subagents which people have fit into harnesses which are an order of magnitude smaller, so I'm not sure what they're doing over there...
The harness choice can actually have a massive impact on the performance of the LLM. Not just the context burnt on the system prompt but the prompt and tools themselves can considerably change how much a task costs and the chance of success. Pi is basically never first for any individual model, but its usually top 3 because of how minimal it is.
I have made one extension called globalstats which iterates over all the sessions and costs up everything across various agents (with locals being negative price of the most common used cloud option, sort of money saved) and I have some skills about accessing dev servers and where to find the docker settings and up/down aliases so it can add things.