#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
Also in Agent backends
RankProjectScore
1eve-software-factory-templateeve pipeline that turns GitHub or Linear issues into reviewed draft PRs1.2k stars, MIT65 out of 100
2marketing-team-eve-templateeve lead agent delegating to five marketing specialists with approval gates450 stars, MIT59 out of 100
3personal-agent-templateeve and Nuxt personal agent with Slack, GitHub, Linear and per-user memory477 stars, MIT57 out of 100
#4adk-recipesRunnable Agent Development Kit recipes, from single patterns to deployable agents10.4k stars, Apache-2.053 out of 100
#5ai-townGenerative-agents town simulation on Convex with Ollama by default Live demo ↗ (opens in a new tab)10.6k stars, MIT52 out of 100