explaingit

andyuneducated/resolve-ai

18PythonAudience · developerComplexity · 4/5ActiveLicenseSetup · hard

TLDR

Scaffold of a multi-agent customer-support system with four specialist agents coordinated by LangGraph, five mock MCP servers, and four guardrail layers including Llama Guard, Presidio, and gVisor sandboxing.

Mindmap

mindmap
  root((resolve-ai))
    Inputs
      Support tickets
      External system calls
      Reviewer prompts
    Outputs
      Triaged routes
      Tool actions
      PII scrubbed replies
      Audit logs
    Use Cases
      Build a support agent
      Study multi-agent design
      Run red team prompts
    Tech Stack
      Python
      FastAPI
      LangGraph
      Next.js
      Postgres pgvector
      Docker

Things people build with this

USE CASE 1

Study a worked multi-agent layout (Triage, Billing, Technical, Escalation) coordinated by a LangGraph supervisor for support workloads.

USE CASE 2

Reuse the five mock MCP servers (Zendesk, Stripe, Slack, Salesforce, Intercom) as a starting template for wiring real external tools.

USE CASE 3

Run the 200-prompt red-team script against your own agent stack to check for PII leaks and prompt-injection bypasses.

USE CASE 4

Adopt the four-layer guardrail pattern (input, execution, output, memory) with Llama Guard, Presidio, and gVisor for a tenant-isolated agent.

Tech stack

PythonFastAPILangGraphNext.jsPostgresDocker

Getting it running

Difficulty · hard Time to first run · 1day+

Needs Python 3.12+, Node 22+, Docker for Postgres with pgvector, gVisor for the execution sandbox, and API keys for both Claude tiers.

Apache 2.0 license, free to use commercially with attribution and a patent grant from contributors.

In plain English

ResolveAI is a project, written mostly in Chinese in its README, that aims to be a customer-support system built out of several AI agents working together rather than one big chatbot. The author compares it to commercial products like Sierra and Decagon. The pitch is that a real support ticket usually mixes four kinds of pressure at once: multi-step planning, calling out to other systems like Stripe or Zendesk, dealing with users who try to trick the AI, and keeping different customers' data apart. A single language model with a long prompt tends to crack under at least one of those, so the project routes each pressure to a different layer. The design uses four specialist agents (Triage, Billing, Technical, Escalation) coordinated by a supervisor written with LangGraph. A cheaper model (Claude Haiku) is used for the first triage step, and a stronger model (Claude Sonnet) is used for the specialist agents, with only a short structured summary passed between them to keep token costs down. External systems are reached through five mock MCP servers, one each for Zendesk, Stripe, Slack, Salesforce, and Intercom, so adding a new service means writing one more MCP server rather than rewiring the agents. A lot of the README is about safety. There are four guardrail layers: an input layer that runs Llama Guard, indirect-injection detection, and Microsoft's Presidio for personally identifiable information, an execution layer that runs every tool call inside a gVisor sandbox with a capability whitelist, an output layer that re-scans for leaked PII and made-up entities, and a memory layer that keeps each tenant and each customer separated. There is also a red-team test script with 200 adversarial prompts that the project aims to pass with zero PII leaks. The repo is organized as a monorepo: a FastAPI backend in apps/api, a Next.js front-end with shadcn/ui in apps/web, the five MCP servers under packages/mcp-servers, Docker and (planned) Kubernetes config under infra/, and a docs folder with the full design. To run it you need Python 3.12 or newer, Node 22 or newer, and Docker for Postgres with pgvector. The author is honest that this is still at the scaffold stage: the skeleton and a hello-world endpoint are in place, with the rest to be filled in following a roadmap document. It is released under the Apache 2.0 license.

Copy-paste prompts

Prompt 1
Walk me through resolve-ai's LangGraph supervisor and explain how it picks between the Triage, Billing, Technical, and Escalation agents for a given ticket.
Prompt 2
Replace resolve-ai's mock Stripe MCP server with a real Stripe MCP that uses a sandboxed test key and confirms refunds against the live API.
Prompt 3
Add a fifth specialist agent for shipping and logistics to resolve-ai and wire it into the supervisor without breaking the existing structured summary contract.
Prompt 4
Run resolve-ai's 200 adversarial prompts against the current code and report any that bypass the Presidio output scrubber.
Prompt 5
Containerise resolve-ai's gVisor execution layer so each tenant gets a separate sandboxed pool of tool-call workers.
Open on GitHub → Explain another repo

Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.