Crypto Analysis Agent with LangGraph

From API Calls to Intelligent Decisions - Your First End-to-End AI Agent advanced

With Petar Petrov

Type: Course project

Duration: 25 Hours

Case Description

This project guides you through building a fully-functional Crypto Market Analysis Agent powered by LangGraph, OpenAI models, and real-world data sources. Instead of manually calling APIs or writing procedural scripts, you will design an intelligent agent that can reason, decide when to use tools, fetch live crypto data, interpret the results, and carry out multi-turn conversations with memory—much like a professional human analyst.

Modern AI assistants do far more than generate text. They can access APIs, dynamically choose actions, and process information from multiple sources. This project demonstrates how to build exactly that type of agent.

You'll integrate:

  • FreeCryptoAPI (crypto lists + coin data)
  • NewsAPI (market-relevant news)
  • LangChain tools (wrapping API calls as usable actions)
  • LangGraph (controlling the ReAct reasoning loop + tool execution)
  • Memory (enabling threaded, context-aware dialogue)

By the end, your agent will behave like a crypto analyst you can chat with. Capable of comparing coins, summarizing market trends, and supporting follow-up questions naturally.

Project requirements

  • Solid Python Knowledge
  • Understanding of AI Agents
  • Familiarity with LangGraph
  • An OpenAI API Key With a Small Budget ($5 of credit is enough to complete this project)
  • Completion of the AI Agents in Practice Course

Project files

This project does not require large datasets or additional resource files. Instead, the agent dynamically retrieves fresh, real-world information by connecting to three external APIs, each supplying a different layer of market insight.

  1. FreeCryptoAPI — List of Cryptocurrencies
  2. NewsAPI — Crypto-Related News Coverage
  3. OpenAI API — Reasoning + Tool Selection
Start project
Project content
  • 0 Project file
  • Guided and unguided instructions
  • Part 1: Set Up
  • Part 2: Testing the API endpoints
  • Part 3: Starting of the project
  • Part 4: Bind Tools to the LLM + System Prompt
  • Part 5: Building the Graph
  • Part 6: Testing the project
  • Part 7: Add Memory (Threaded Conversations)
  • Part 8: Interactive Chat Loop
  • Quiz
Topics covered
Programming