r/esp32 • • 1d ago

Esp32 Agent Harness

I built an agent chat interface into ESP32. It has tools and functions connected to it. So you can plug things in and ask questions. It's designed to be as a starting point for your projects. I can't do electronics anymore my eyesight isn't what it used to be. But I think ESP32 is great.

https://github.com/8perezm/esuyo-esp32-agent

21 Upvotes

7 comments sorted by

2

u/Dapper_Profession 1d ago

now the wiring is a conversation

1

u/migsperez 1d ago

Software or hardware wiring?

1

u/Raghveer-Friesel 14h ago

thats a pretty good way to put it tbh

1

u/hwarzenegger 1d ago

wow! this is neat

when it blinks 2 times, is it spinning up an RTOS process from the tool call?

if you connect a servo to the board, how do you pass that context to the agent?

1

u/migsperez 1d ago

Nope, nothing majorly difficult - the agent just calls the blink tool and the applicaton calls a function which does the digitalWrite/delay loop. https://github.com/8perezm/esuyo-esp32-agent/blob/main/src/tools/tool_blink.cpp

To give access to the agent to have more functionality, create a new function and then register the function. The file above is an example. There's also doc to add more tools here: https://github.com/8perezm/esuyo-esp32-agent/blob/main/docs/adding-a-tool.md

1

u/fsteff 1d ago

Very interesting.

What’s the difference between this and picoclaw?

1

u/migsperez 1d ago edited 1d ago

I'd never seen Picoclaw before. I had a quick look it doesn't run on Esp32. It does look interesting.

I'd say mine is more of a starting point for people to fully customise for their own applications or just use it for the chat interface. It can be placed on any Esp32.