#88th of 18 in Agent backends

react-agent

Minimal Python LangGraph ReAct agent with Tavily, ready for Studio

Stars
852
License
MIT
Last commit
Oct 2026
Language
Python

Overview

A single-graph Python template: a ReAct loop in src/react_agent/graph.py that reasons, calls Tavily search, observes and repeats, with the model set by a provider/model-name string (default claude-sonnet-4-5-20250929, OpenAI as the alternative). Prompts, tools and runtime context are each one file; it opens in LangGraph Studio and deploys to LangGraph Platform. For Python developers who want the smallest LangGraph agent to extend.

Who it is for: Python developers wanting the smallest LangGraph agent to extend

Strengths

  • Three files to change: tools.py, prompts.py, graph.py
  • Model switch is a provider/model string in runtime context
  • Unit tests in CI; Studio hot reload and time travel work out of the box

Weaknesses

  • Only one tool (Tavily) and no UI; the chat surface is Studio
  • No persistence configuration beyond what LangGraph Platform provides
  • README still mentions Claude 3 Sonnet in one place; check defaults

What it needs

  • Python, langgraph, anthropic, openai
  • Needs anthropic-or-openai-api-key, tavily-api-key, langgraph-cli
  • 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 gates449 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