{"repo":"chuanqisun/react-agent-hooks","free":true,"listed":false,"github":"https://github.com/chuanqisun/react-agent-hooks","clone":"git clone https://github.com/chuanqisun/react-agent-hooks.git","description":"Turn React hooks into LLM tools","language":"TypeScript","stars":85,"topics":["library","react","react-hooks","llmstxt","mcp","genui"],"license":null,"category":"mcp-servers","readme_excerpt":"React Agent Hooks Agentic Counter Demo Agentic Todo Demo :---------------------------------------------------------------------------------------------------------------------------------------------------------- :------------------------------------------------------------------------------------------------------------------------------------------------------------------- Turn React Hooks into LLM Tools - 🪝 Familiar: same semantics as React hooks - 🤝 Symbiotic: human interface and Agent interface derived from the same state. - 🛡️ Safe: developer controls the schema for Agentic state change. - ➕ Incremental adoption: use as much or as little as you want. - 📦 Composable: fully interoperable with classic React hooks. - 🔮 Future-ready: forward-compatible with MCP and llms.txt. Before After Get Started Usage Give Agent \"Eyes\" 👀 Give Agent \"Hands\" 👏 Run the Agent Compose Agentic Application Inside a component, use the enabled option to dynamically show/hide states and tools to the Agent. In a component tree, use JSX to dynamically show/hide states and tools to the Agent. Build a custom Agent Access currently active states and tools with useAgentContext hook. Here is an example of building your own agent Scale-up with Context The AgentContext is an optional React Context to help you hierarchically organizing states and tools. This prevents naming collisions and reduces agent confusion from too many similar states and tools. Future Work Render to MCP Server Render to llms.t","default_branch":null,"files":null,"tree":[],"storefront":"/r/chuanqisun","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chuanqisun/react-agent-hooks/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}