whatisgithub

What is gradbot?

gradium-ai/gradbot — explained in plain English

Analysis updated 2026-05-18

74RustAudience · developerComplexity · 3/5

In one sentence

An open-source framework for building voice agents that handles the audio plumbing between speech recognition, an AI model, and speech synthesis.

Mindmap

mindmap
  root((Gradbot))
    What It Does
      Voice agent framework
      Audio plumbing
      Turn taking
    Tech Stack
      Rust
      Python
      FastAPI
      Ollama
    Use Cases
      Customer support
      Booking assistants
      Game characters
    Audience
      Developers
      Prototypers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build a customer support voice agent that talks naturally with callers.

USE CASE 2

Create a booking assistant that handles spoken requests in real time.

USE CASE 3

Add a speaking character to a game using an AI-driven voice agent.

USE CASE 4

Prototype an educational voice tutor that can call background tools while talking.

What is it built with?

RustPythonFastAPIOllama

How does it compare?

gradium-ai/gradbotlq-259/legado_flutter77wilnd/aemeath_withclaude
Stars747277
LanguageRustRustRust
Setup difficultymoderate
Complexity3/54/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

So what is it?

Gradbot is an open-source framework for building voice agents, meaning software that can hold spoken conversations with people in real time. The core problem it addresses is that connecting a microphone input to an AI language model and back to a speaker involves coordinating three independent streams simultaneously: speech-to-text (converting what the user says to words), the AI model generating a response, and text-to-speech (converting the AI's words back to audio). Handling interruptions, turn-taking, and silences across all three is complex plumbing that Gradbot handles for you. The engine is written in Rust for performance and runs a state machine that moves between listening, processing, and speaking states. You write the conversational logic and personality in Python (roughly 50 lines for a basic agent), while the framework manages the audio coordination underneath. It works with any OpenAI-compatible language model, such as GPT-4o, Claude, or locally-run models via Ollama, and uses the Gradium service for streaming speech recognition and text-to-speech across 5 languages. It also supports tool calling, meaning your voice agent can trigger functions in the background while still talking naturally, and integrates with MCP servers (a standard way to give AI systems access to external capabilities). You would use this to quickly prototype voice-driven experiences: customer support agents, booking assistants, game characters that speak, educational tutors, or any interactive application where users talk rather than type. It is available as a Python package and runs demos as FastAPI applications.

Copy-paste prompts

Prompt 1
Help me set up a basic Gradbot voice agent in about 50 lines of Python.
Prompt 2
Show me how to connect Gradbot to GPT-4o or a local Ollama model as the language model backend.
Prompt 3
Explain how Gradbot's listening, processing, and speaking state machine works.
Prompt 4
Help me add tool calling to my Gradbot voice agent so it can trigger background functions while speaking.
Prompt 5
Walk me through running a Gradbot demo as a FastAPI application.

Frequently asked questions

What is gradbot?

An open-source framework for building voice agents that handles the audio plumbing between speech recognition, an AI model, and speech synthesis.

What language is gradbot written in?

Mainly Rust. The stack also includes Rust, Python, FastAPI.

Who is gradbot for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.