vnkatsandeep2001-hue

WeatherDetection Langchain Agent — AI skill for Claude Code

AI community

A hands-on LangChain agent built with Python — implements the ReAct reasoning loop, custom tools (weather + calculator), and supports both live LLMs (Gemini, GPT-4, Claude) and a local simulated model.

How to install WeatherDetection Langchain Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open vnkatsandeep2001-hue/WeatherDetection-langchain-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What WeatherDetection Langchain Agent does

A hands-on LangChain agent built with Python — implements the ReAct reasoning loop, custom tools (weather + calculator), and supports both live LLMs (Gemini, GPT-4, Claude) and a local simulated model. Built by Sandeep to explore AI agent architecture.

Alternatives in AI

  • Skill Seekers Roadmap — Transform Skill Seekers into the easiest way to create Claude AI skills from any knowledge source - documentat 11.1k ★
  • Simulink Agentic Toolkit — The Simulink Agentic Toolkit gives your AI agent both the tools and the expertise to work effectively with Sim 987 ★
  • Pretty Mermaid Skills — To provide AI with Mermaid chart rendering capability, supporting both SVG and ASCII output formats 552 ★

README

WeatherDetection LangChain Agent

A LangChain AI agent built by **Sandeep** that uses the ReAct reasoning loop to answer weather queries and perform math calculations using tools.

What it does

  • Detects weather for cities using a get_weather tool
  • Evaluates math expressions using a calculate_expression tool
  • Works with Gemini, GPT-4o, or Claude (via API key) or runs fully locally with a simulated model

How to run

1. Install dependencies

pip install -r requirements.txt

2. (Optional) Set an API key for a real LLM

# Google Gemini
set GOOGLE_API_KEY=your-key-here

# OR OpenAI
set OPENAI_API_KEY=your-key-here

# OR Anthropic Claude
set ANTHROPIC_API_KEY=your-key-here

3. Run the agent

python run_agent_demo.py

No API key? No problem — the agent runs with a built-in simulated model locally.

Project files

File Description
run_agent_demo.py Main agent code
data/nifty50_24nov2023_to_1feb2024.png NIFTY 50 market data (Nov 2023 – Feb 2024)
requirements.txt Python dependencies

Built with