Skip to main content

Day-1 Developer Guide

Welcome! This guide gets you from zero to running your first LangGraph MCP agent in under 5 minutes.

🎯 Choose Your Path

Path 1: Quickstart (0 infrastructure, < 2 minutes)

Perfect for: Learning, prototyping, exploring LangGraph + MCP
  • ✅ No Docker, no databases, no auth services
  • ✅ In-memory everything (conversations, checkpoints, sessions)
  • ✅ Free LLM tier (Google Gemini)
  • ✅ 3 endpoints, minimal complexity
→ Jump to Quickstart

Path 2: Local Development (Minimal infrastructure, ~5 minutes)

Perfect for: Feature development, integration testing
  • Uses: Redis (checkpoints), PostgreSQL (conversations)
  • No auth required (development mode)
  • Full observability optional
  • ~8 docker services
→ Jump to Local Dev

Path 3: Full Production Setup (~20 minutes)

Perfect for: Production deployment, enterprise features
  • Full stack: Auth (Keycloak/OpenFGA), observability (Prometheus/Grafana), compliance
  • Multi-tenant ready
  • All 10+ services
→ Jump to Production Setup

Quickstart (Zero Infrastructure)

Prerequisites

Steps

Test It

What You Get

  • In-memory agent: Conversations persist until server restart
  • 3 API endpoints: /chat, /conversations, /health
  • MemorySaver checkpointer: State management without Redis
  • No authentication: Open for local experimentation
  • Code location: quickstart_app.py + src/mcp_server_langgraph/presets/quickstart.py

Limitations

  • Data lost on restart (no persistent storage)
  • Single-threaded (no concurrency)
  • No auth/authorization
  • No observability/metrics
Next step: When you’re ready for persistence and multi-user support, move to Path 2 (Local Development).

Local Development (Minimal Infrastructure)

Prerequisites

  • Docker & Docker Compose
  • uv package manager

Steps

Test It

What You Get

  • Persistent conversations: PostgreSQL storage
  • Distributed checkpointing: Redis for agent state
  • Fast development: Hot reload with --reload
  • Full MCP server: All tools, resources, prompts
  • Test infrastructure: Run full integration tests

Adding Features Incrementally

Next step: When you’re ready for production deployment, move to Path 3.

Full Production Setup

For production deployment with all enterprise features, see:

Common Tasks

Running Tests

Development Workflow

Debugging


Progressive Complexity Roadmap

Your learning journey:
  1. Quickstart (you are here) → Understand agent basics, MCP protocol
  2. Add Redis → Learn checkpointing, state management
  3. Add PostgreSQL → Persistent conversations, audit logs
  4. Add Authentication → Multi-user support, authorization
  5. Add Observability → Tracing, metrics, debugging in production
  6. Add Compliance Features → GDPR, HIPAA, audit trails
  7. Deploy to Kubernetes → Horizontal scaling, high availability
Each step builds on the previous, and you can stop whenever you have what you need.

Getting Help


What’s Different from Production?

The goal of this project’s architecture is to let you start simple and add complexity only when needed.
Ready to start? Pick your path above and let’s go! 🚀