flows

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: BSD-2-Clause Imports: 24 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command flows is a headless jargo voice backend driven by a conversation flow.

It runs a short, structured coffee order: the assistant greets the caller, moves on once they are ready, asks which drink and what size, records the order with a tool call, confirms it and stops. The conversation graph lives in the flows package; the transitions are driven by the tools the assistant calls, not by branching prompt text.

Like the other voice examples this is a server only: it exposes the WebRTC signaling endpoint POST /offer and no web UI. Point a browser client at it (the nextjs-voicebot example in gojargo/jargo-client-react, with NEXT_PUBLIC_JARGO_URL=http://localhost:8080).

DEEPGRAM_API_KEY=… ANTHROPIC_API_KEY=… ELEVENLABS_API_KEY=… go run ./examples/flows

Directories

Path Synopsis
Command food_ordering is a food ordering flow whose conversation paths are decided at run time.
Command food_ordering is a food ordering flow whose conversation paths are decided at run time.
Command food_ordering_advanced_functionschema is the food ordering flow with each node function's schema written out by hand.
Command food_ordering_advanced_functionschema is the food ordering flow with each node function's schema written out by hand.
Command hello_world is a "Hello world" introduction to conversation flows.
Command hello_world is a "Hello world" introduction to conversation flows.
Command multi_worker_handoff composes conversation flows with multiple workers: a free-form LLM router and a structured flow worker.
Command multi_worker_handoff composes conversation flows with multiple workers: a free-form LLM router and a structured flow worker.
Package utils holds the helper the flows examples share, which keeps them focused on the flow itself.
Package utils holds the helper the flows examples share, which keeps them focused on the flow itself.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL