React Agent TS — AI skill for Claude Code
A lightweight, streaming-first ReAct (Reasoning + Acting) agent that works with any LangChain-compatible model.
How to install React Agent TS
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lamemind/react-agent-ts and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What React Agent TS does
A lightweight, streaming-first ReAct (Reasoning + Acting) agent that works with any LangChain-compatible model. Focus on agent logic while LangChain handles the provider complexity.
Alternatives in AI
- My Free Code — Open-source multi-provider AI gateway for Claude Code and other coding agents, with model routing, streaming 633 ★
- Model Hierarchy Skill — Cost-optimized model routing based on task complexity 333 ★
- PRD Taskmaster V2 — Zero-config goal-to-tasks engine 187 ★
README
@lamemind/react-agent-ts
[](https://badge.fury.io/js/@lamemind%2Freact-agent-ts) [](https://www.typescriptlang.org/) [](https://opensource.org/licenses/ISC)
**Streaming ReAct agent in TypeScript - bring your own LLM model**
A lightweight, streaming-first ReAct (Reasoning + Acting) agent that works with any LangChain-compatible model. Focus on agent logic while LangChain handles the provider complexity.
✨ Features
- 🔄 Streaming-first: Real-time chunked response processing
- 🔧 Tool Integration: Seamless function calling with automatic iteration
- 🎯 Provider Agnostic: Works with any LangChain model (Anthropic, OpenAI, Groq, local, etc.)
- 💡 Minimal: ~200 LOC focused on ReAct pattern only
- 🔐 Type Safe: Full TypeScript support with proper interfaces
- ⚡ Zero Config: Just pass your model and tools
📦 Installation
npm install @lamemind/react-agent-ts
You'll also need a LangChain model provider:
# Choose your provider
npm install @langchain/anthropic # for Claude
npm install @langchain/openai # for GPT
npm install @langchain/google-genai # for Gemini
🚀 Quick Start
import { ChatAnthropic } from "@langchain/anthropic";
import { ReActAgent } from "@lamemind/react-agent-ts";
import { DynamicTool } from "@langchain/core/tools";
// Create your model
const model = new ChatAnthropic({
apiKey: process.env.ANTHROPIC_API_KEY,
model: "claude-3-sonnet-20240229"
});
// Define tools
const tools = [
new DynamicTool({
name: "calculator",
description: "Performs basic math operations",
func: async (input: string) => {
return eval(input).toString();
}
})
];
// Create and use agent
const agent = new ReActAgent(model, tools);
const response = await agent.invoke("What'
Related Skills
WeatherDetection Langchain Agent
A hands-on LangChain agent built with Python — implements the ReAct reasoning loop, custom tools (weather + ca
Modal Claude Agent SDK Python
This package wraps the Claude Agent SDK to execute AI agents in secure, scalable Modal containers. It provides
Codenano
Lightweight AI coding agent SDK. Same power, 97% less complexity. Build custom AI coding agents in 1 minutes
Cwin
Windows CLI that screenshots, clicks and types into any window without stealing focus, so an AI coding agent c
DuckAI2API
OpenAI / Anthropic / Responses API server for Duck.ai — free GPT-5.6 Luna reasoning, real SSE streaming, Claud
Langchain Langgraph Agents Structure
Production-ready template for complex AI agents using LangGraph and LangChain. Implements RAG, ReAct, routing,
Related Agents
Provider Debugger
Diagnose live-provider compatibility failures for Kimi, GLM, and other OpenAI-compatible endpoints
Yume
Native desktop UI for Claude Code with orchestration, streaming, background agents, and multi-provider support
AI Provider Author
WRITE-access implementer for AI provider integrations, model routing, embeddings, prompt systems, streaming, a