AgentHub

Customer Support Agent

Live LangGraph ReAct agent that calls OpenAI from the sandbox. Enter your API key in the preview to try it.

Loading agent…

Overview

A live ReAct agent on LangGraph. It calls OpenAI from the sandbox and can use a small set of tools for time, arithmetic, and echo.

Tools

  • getCurrentTime — current time in the sandbox
  • calculator — basic arithmetic
  • echo — returns the input string (useful for wiring checks)

How it works

The LangGraph graph runs a tool-calling loop: the model decides whether to call a tool or answer. System prompt and tool definitions live under src/ so you can swap behavior without touching the preview harness.

Environment

OPENAI_API_KEY — entered in the preview UI, held in memory, and sent only to your sandbox session.