An AI agent that can do math for you! Give it a math problem with multiple steps, and it will solve it step by step using tools.
This agent can:
- Add numbers
- Multiply numbers
- Divide numbers
- Handle complex math problems with multiple steps
For example, you can ask it: "Add 6 and 8, then multiply that by 5, and divide it by 4" and it will work through each step.

LLMs rely only on static pretrained data, which limits their ability to answer realtime or external queries (e.g., today’s date)

- LangChain - For building the AI agent
- LangGraph: Manages the conversation flow
- Claude - The AI model
- Zod - For data validation
-
Install dependencies
npm install
-
Set up your API key
Create a
.env
file and add relevant keys, see .env.example -
Run it
tsc -b node .\dist\index.js