Live data from Hacker News

Show HN: Reagent – graph based framework for building AI agent with UI

github.com

1–6 of 6 posts

Show HN: Reagent – graph based framework for building AI agent with UI

#1
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

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!

Show HN: Reagent – graph based framework for building AI agent with UI
github.com

Re: Show HN: Reagent – graph based framework for building AI agent with UI

#4
post #2

Nicely 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?

If 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) => , data)` from the agent node execute method. Here's an example: https://github.com/reagentai/reagent/blob/main/packages/reac...