Skip to content
EZGraph Get started

No EZGraph key required. Free production use. No runtime fee. Bring your own model provider. Support Jev. Run in your own infrastructure. Optional support is available.

The flagship guided conversation

Let the model understand.
Let your code decide.

QuoteGraph turns a customer's details into a calculated insurance quote. Models recognize information and handle ambiguity. Code validates facts, applies example rating rules, supports revisions, and records acceptance.

A demonstration application and rating engine. Inspect the source ↗

Five stages. A clear owner for each fact.

Follow the application from intake to acceptance.

Each stage uses the same prompt, tool, validation, and transition contract. The graph declares business history spaces and a separate termination history.

01

Driver

Capture identity and license details. Reject invalid dates, unsupported state codes, and inconsistent licensed years before saving the profile.

See validated collection
capture_driver→VehicleNode
02

Vehicle

Resolve the customer's vehicle against a code-owned catalog. Ask for disambiguation when several matches remain, then save an accepted selection.

See catalog disambiguation
resolve_vehicle→capture_vehicle_use
03

Insurance history

Collect prior coverage and incidents with stage-specific validation. Its business history space keeps detailed incident dialogue separate from general intake.

See named histories
capture_history→CoverageNode
04

Coverage

Validate the coverage request against accepted facts. Calculate tiers with a deterministic rating engine, then hand off to presentation.

See code-owned rating
select_coverage→rateQuote()
05

Quote and acceptance

Present tiers, apply deductible changes, return to coverage when needed, and record a chosen tier. Code constructs exact confirmation content.

See revisions and acceptance
adjust_quote→accept_quote
The same contract at each stage

Declare what is shared.
Keep ownership visible.

Driver, vehicle, and coverage nodes share intake history. Insurance incidents and quote presentation use separate business spaces. The graph's model policy and restore policy have established locations alongside topology.

Explore the graph and state registry
quote-graph.ts · history excerptTypeScript
historySpaces: [
  [DriverNode, "quote-intake"],
  [VehicleNode, "quote-intake"],
  [HistoryNode, "quote-incidents"],
  [CoverageNode, "quote-intake"],
  [QuoteNode, "quote-present"],
  [TerminateSessionNode, "quote-terminal"],
]
Run the scripted application

Inspect the behavior before connecting a model.

The deterministic suite covers validation, state, transitions, rating, and acceptance. The tutorial includes a recorded live replay and instructions for a separately configured provider-backed run.

Example repository · scripted tests
git clone https://github.com/picoflowio/ezgraph-demo.git
cd ezgraph-demo
yarn
yarn test:quote-graph
Start with one workflow

Give your next LangGraph application a consistent foundation.

Run the starter, inspect the session, and decide whether the node contract fits your team.

Run your first workflow