Skip to content

Instantly share code, notes, and snippets.

View anjijava16's full-sized avatar
💭
Awesome

Anjaiah Methuku anjijava16

💭
Awesome
View GitHub Profile

Based on my research, here's a comprehensive deep summary on LangGraph:


🧬 What is LangGraph?

LangGraph is a low-level orchestration framework for building, managing, and deploying stateful, multi-actor agents powered by LLMs. It's designed for building long-running workflows that need persistence, memory, and complex control flow.

Key distinction: LangGraph is NOT a high-level agent framework like LangChain's agents. It's intentionally low-level, focusing entirely on agent orchestration and runtime capabilities.

Arize Phoenix Setup Guide (Mac)

Complete guide for setting up Arize Phoenix with PostgreSQL backend and built frontend UI on macOS.


Prerequisites

  • macOS (M1/M2 or Intel)
  • Homebrew installed
# Create the project
uv init my-voice-agent && cd my-voice-agent
# Install Pipecat with the services we need
uv add "pipecat-ai[daily,openai,deepgram,cartesia,silero]"
welcome@jaisairams-Laptop order_support_orchestrator_agents % brew update
==> Updating Homebrew...
Updated 3 taps (hashicorp/tap, homebrew/core and homebrew/cask).
==> New Formulae
actions-up: Tool to update GitHub Actions to latest versions with SHA pinning
agent-browser: Browser automation CLI for AI agents
aoe: Terminal session manager for AI coding agents
apache-serf: High-performance asynchronous HTTP client library
arcadedb: Multi-Model DBMS: Graph, Document, Key/Value, Search, Time Series, Vector
asc: Fast, lightweight CLI for App Store Connect
%run /Users/welcome/Library/Mobile\ Documents/com~apple~CloudDocs/Tech_Learn/Tech_Repos/python_envs/A2A/A2A_event_agents/A2A_Examples/llm_judge_evaluations/init_notebook.ipynb
# Uninstall & Install required psycopg2-binary
(custom-ai-agent) welcome@jaisairams-Laptop production-grade-agentic-system % uv pip uninstall psycopg2 psycopg2-binary
warning: Skipping psycopg2 as it is not installed
Uninstalled 1 package in 65ms
- psycopg2-binary==2.9.10
(custom-ai-agent) welcome@jaisairams-Laptop production-grade-agentic-system % uv pip install "psycopg[binary]"
Resolved 2 packages in 418ms
Prepared 1 package in 232ms
Installed 1 package in 1ms
+ psycopg-binary==3.2.6

ADK vs Other Frameworks (Quick Comparison)

Feature / Concern ADK LangChain / LangGraph CrewAI Microsoft AutoGen
Core focus Modular agents, tools, workflows; strong dev UX (CLI/UI) General LLM app framework; LangGraph for durable, controllable agents Role-based multi-agent "crews" + Flows for deterministic orchestration Event-driven multi-agent conversations; humans/tools/LLMs in the loop
Built-in tools Google Search, code exec, RAG, etc. (Gemini-focused) Many integrations via toolkits; now nudging toward LangGraph for agents Rich agent roles/tools; expanding code-exec features Agents, tools, human-in-the-loop; code agents; AutoGen Studio (UI)
Models Gemini-first, but model-agnostic (GPT/Claude supported) Open, many providers; strong ecosystem Open; supports multiple providers Open; supports multiple providers
Workflows Sequential, Parallel, Loop agents first-class Compose graphs with nodes/edges