Skip to content

ashishmohapatra240/ai-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Math Agent

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.

What does it do?

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.

Why is it needed?

image

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

Architecture

image

Tech Stack

  • LangChain - For building the AI agent
  • LangGraph: Manages the conversation flow
  • Claude - The AI model
  • Zod - For data validation

Getting started

  1. Install dependencies

    npm install
  2. Set up your API key

    Create a .env file and add relevant keys, see .env.example

  3. Run it

    tsc -b
    node .\dist\index.js 

About

Ai Agent that does simple math for you.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published