3 ms·
Show HN: Reagent – graph based framework for building AI agent with UI
Hey HN! I'm excited to share Reagent, an open source Javascript framework to build UI rich AI agents using graph based workflow.
Github: https://github.com/reagentai/reagent https://github.com/reagentai/reagent
There are already amazing tools for building agents but most of them seem to be focused on building the AI workflow on the backend with markdown as final output. There is generative UI in AI SDK from vercel but it seems to work only with server components afaik. So, I created a framework for building AI agents with interactive UI components; you can render any component from LLM tool, update it's state, etc.
This is a graph based framework. You can build AI agents simply by binding inputs and outputs from one node to another and you can even visualize the agent graph that's auto-generated for your agent.
If you are building AI agents in JS, I would love to hear your thoughts and feedback in the comments!
- xzhao254 2y agoNicely done! Is there a way to ensure the generated widgets stay compatible with my custom CSS if I want to embed this library into my chat application? Also how difficult is it to create custom widgets?
- poudels14 2y agoIf you mean AI generated widgets, it doesn't support AI generated widgets yet; maybe in the future. It's very easy to use custom widgets. You can render any UI component by calling `context.render((props) => <CustomWidget />, data)` from the agent node execute method. Here's an example: https://github.com/reagentai/reagent/blob/main/packages/react-examples/weather/Weather.tsx https://github.com/reagentai/reagent/blob/main/packages/reac...
- pdiddydiddysun 2y agoNice!
- aasthaj 2y agoThis is great!
- namanmehrotraSW 2y agoThis is awesome