A chat-style AI agent built with the OpenAI Agents SDK and a React frontend.
The agent has 3 custom tools:
| Tool | Description |
|---|---|
| 🕐 get_current_time | Get the current time in any IANA timezone |
| 🧮 calculator | Evaluate math expressions |
| 🎲 random_number | Generate random integers in a range |
Rendering mermaid diagram...
OPENAI_API_KEY environment variable. Get your key at https://platform.openai.com/api-keysmain.ts — Hono HTTP server (entrypoint)agent.ts — Agent definition with toolsfrontend/index.html — HTML shellfrontend/app.tsx — React chat UI