Skip to content

A functional Python AI agent built using LangChain, OpenAI, and UV. It supports natural language interaction and can be extended with tools like a calculator. Run it from your terminal and chat with your assistant in real time!

Notifications You must be signed in to change notification settings

IT21314742/AI-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Functional AI Agent with LangChain and UV

This is a terminal-based AI assistant built using LangChain, OpenAI API, and UV. The agent is capable of natural language conversation and can be extended with tools like a calculator to perform basic arithmetic tasks.

🧠 Features

  • Conversational AI assistant using LangChain's ReAct agent
  • Basic arithmetic tool integrated using @tool decorator
  • Real-time streaming of AI responses in the terminal
  • Easy to extend with new tools and capabilities

🚀 Demo

You: What is the sum of 10 and 25?
Assistant: the sum of 10 and 25 is 35



git clone https://github.com/IT21314742/ai-agent.git
cd ai-agent

About

A functional Python AI agent built using LangChain, OpenAI, and UV. It supports natural language interaction and can be extended with tools like a calculator. Run it from your terminal and chat with your assistant in real time!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages