Skip to content

Agentic AI

completed

Republic of Bean: Agentic AI Ordering System

Republic of Bean is a multi-agent conversational ordering system built with LangGraph and Claude API. The agent runs a tool/function-calling loop to handle multi-step processes (inventory lookup, order processing, and customer FAQ resolution) with minimal human intervention. A Model Context Protocol (MCP) layer exposes structured, PostgreSQL-backed internal APIs to the LLM as callable tools, making the agent's behavior auditable and the data layer cleanly separated from the orchestration logic. The system includes input validation, error recovery, and execution logging designed for the reliability requirements of sensitive-data workflows.

Inside the build

Architecture, one step at a time.

A conversational request reaches a tool-calling agent, then structured data operations and an auditable response.

Interactive walkthrough

Select a component, or use Next for a guided tour. Connections show the flow between components.

Step 1 of 6
Conversational interface

Receive a request

A customer asks about inventory, places an order, or requests help with a frequently asked question.

What comes in
A customer message
What comes out
An ordering or support intent

This is an architecture walkthrough. Clicking a stage never places an order or changes inventory.

The details

What went into the build.

Tools & technologies

  • LangGraph
  • Claude API
  • FastAPI
  • PostgreSQL
  • Model Context Protocol (MCP)
  • Python

Key highlights

  • Multi-agent orchestration via LangGraph with Claude coordinating inventory lookup, order processing, and FAQ resolution
  • MCP layer exposes PostgreSQL-backed internal APIs as callable tools: clean separation of data layer from orchestration logic
  • Input validation, error recovery, and auditable execution logs for trustworthy, debuggable agent behavior
  • Tool/function-calling loop handles multi-step workflows with minimal human intervention