#1313th of 18 in Agent backends
react-agent-js
TypeScript createAgent starter with example tools and middleware hooks
- Stars
- 118
- License
- MIT
- Last commit
- Oct 2026
- Language
- TypeScript
Overview
Four TypeScript files: agent.ts builds a LangChain createAgent, tools.ts defines calculator, time, weather and knowledge-search tools, prompts.ts holds the system prompt and index.ts is a CLI runner. Middleware for summarization and human-in-the-loop is shown but not wired, the model is a string like anthropic:claude-sonnet-4-5-20250929, and it opens in LangSmith Studio. For TypeScript developers starting a LangChain v1 agent.
Who it is for: TypeScript developers starting a LangChain v1 agent
Strengths
- Tool definition pattern with Zod is the one you will reuse
- Shows summarization and human-in-the-loop middleware in code
- Model switch is a single string
Weaknesses
- Example tools are stubs; no real integrations
- No tests, no UI, no persistence
- Seed shows 117 stars; small community
What it needs
- TypeScript, langchain, langgraph, anthropic, openai
- Needs anthropic-or-openai-api-key
- GitHub template
- env example file
Also in Agent backends
See all 18| Rank | Project | Score |
|---|---|---|
| 1 | eve-software-factory-templateeve pipeline that turns GitHub or Linear issues into reviewed draft PRs | 65 out of 100 |
| 2 | marketing-team-eve-templateeve lead agent delegating to five marketing specialists with approval gates | 59 out of 100 |
| 3 | personal-agent-templateeve and Nuxt personal agent with Slack, GitHub, Linear and per-user memory | 57 out of 100 |
| #4 | adk-recipesRunnable Agent Development Kit recipes, from single patterns to deployable agents | 53 out of 100 |
| #5 | ai-townGenerative-agents town simulation on Convex with Ollama by default | 52 out of 100 |