nowfound

AI · December 9, 2025

AA

Agentry – AI Agents as React Components

Hi HN, Over Thanksgiving weekend I wanted to build an AI agent. As a design exercise, I wrote it as a set of React components. The component model made it easier to reason about the moving parts, composability was straightforward (e.g., reusing agents/tools), and hooks/state felt like a reasonable way to model behavior that changes over time. As I kept experimenting, I realized I was more interested in the framework (and it was a good excuse to explore React’s internals) than in the agent I originally planned, so I built this project instead. In this framework: - Agents are React…

Visit github.comAlternativestop 22% of December 2025

In plain words

Agentry is a framework for building AI agents as React components. Agents can include messages, tools, and other agents as nested components, with tools dynamically mounted or unmounted based on React state. Developers can compose reusable agents and tools using familiar React patterns like hooks and conditional rendering. The framework treats agent behavior as component state that changes over time, leveraging React's component model to structure AI agent logic.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Hi HN, Over Thanksgiving weekend I wanted to build an AI agent. As a design exercise, I wrote it as a set of React components. The component model made it easier to reason about the moving parts, composability was straightforward (e.g., reusing agents&#x2F;tools), and hooks&#x2F;state felt like a reasonable way to model behavior that changes over time. As I kept experimenting, I realized I was more interested in the framework (and it was a good excuse to explore React’s internals) than in the agent I originally planned, so I built this project instead. In this framework: - Agents are React components. - Agents have <Message>, <Tools>, … and even other agents as tools via <AgentTool>. - You can mount&#x2F;unmount tools based on React state, and tools can set state to change what tools are available on the next turn. - There is a <Condition when="<natural language>" &#x2F;> component that allows changing behavior based on the conversation history. - Built-in support for code execution, web search, memory, and MCP servers through Anthropic’s API. This is still a WIP project, but I’d love any feedback. --- Repo: https:&#x2F;&#x2F;github.com&#x2F;colinds&#x2F;agentry Selected examples: - Hooks: https:&#x2F;&#x2F;github.com&#x2F;colinds&#x2F;agentry&#x2F;blob&#x2F;main&#x2F;packages&#x2F;exampl... - Subagents: https:&#x2F;&#x2F;github.com&#x2F;colinds&#x2F;agentry&#x2F;blob&#x2F;main&#x2F;packages&#x2F;exampl... - Conditions: https:&#x2F;&#x2F;github.com&#x2F;colinds&#x2F;agentry&#x2F;blob&#x2F;main&#x2F;packages&#x2F;exampl...

More ai this month

the category →
  • I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes&#x2F;sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.

    AI · 16d ago · simedw.com

  • Astute585

    Automate your B2B brand going viral, with new media creators

    AI · 18d ago · company-app.joinastute.com

  • Grok Bot547

    AI teammates that you can give real work to

    AI · 25d ago · x.ai

  • Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens&#x2F;sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens&#x2F;sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…

    AI · 26d ago · cactuscompute.com

  • Make your software self-driving

    AI · 30d ago · coldtea.ai

  • Soloop472

    Approval-first Agent OS for solo founders

    AI · 30d ago · soloop.io

Launched alongside, December 2025

the whole month →
  • GP

    Life & fun · Dec 2025 · dosaygo-studio.github.io

  • JG

    Hi everyone! My name's Luke and I made the original Jmail here alongside Riley Walz. We had a ton of friends collaborate on building out more of the app suite last night in lieue of DOJ's "Epstein files" release. Please AMA!

    Life & fun · Dec 2025 · jmail.world

  • Design and ship studio-grade landing pages with AI

    AI · Dec 2025 · loki.build

  • AI turns your health goals into a 7-day menu & grocery list

    AI · Dec 2025 · planeatai.com

  • 2G

    Community, All the HN belong to you. This is an archive of hacker news that fits in your browser. When I made HN Made of Primes I realized I could probably do this offline sqlite&#x2F;wasm thing with the whole GBs of archive. The whole dataset. So I tried it, and this is it. Have Hacker News on your device. Go to this repo (https:&#x2F;&#x2F;github.com&#x2F;DOSAYGO-STUDIO&#x2F;HackerBook): you can download it. Big Query -> ETL -> npx serve docs - that's it. 20 years of HN arguments and beauty, can be yours forever. So they'll never die. Ever. It's the unkillable static archive of HN and it's…

    Dev tools · Dec 2025 · hackerbook.dosaygo.com

  • AI video studio for viral social clips

    AI · Dec 2025 · cybercut.ai