# Bruno AI

> Bruno AI brings native AI capabilities into the Bruno API client, enabling inline autocomplete, script generation, test generation, and documentation generation using your own AI provider keys.

Bruno AI is the native AI feature set built into Bruno, the Git-friendly, offline-first API client. Currently in Beta and requiring Bruno v4.0.0 or later, Bruno AI integrates directly into the app's scripting, testing, and documentation workflows without routing any data through Bruno's servers.

## What It Is

Bruno AI is a set of AI-powered developer tools embedded inside the Bruno API client. Rather than operating as a standalone product, it extends Bruno's core request-testing and scripting environment with AI assistance for writing scripts, generating tests, and producing API documentation. It follows a Bring Your Own Key (BYOK) model, meaning users connect their own AI provider accounts and Bruno uses those credentials locally.

## Bring Your Own Key Architecture

Bruno AI's BYOK design is central to its privacy posture. No data is routed through Bruno servers — the app communicates directly with the provider using the user's own API key. Supported providers include:

- **OpenAI** — GPT-4o, GPT-4, and other OpenAI models
- **Anthropic** — Claude Opus 4.7, Claude Sonnet 4.6, Claude Haiku 4.5
- **Custom OpenAI-compatible endpoints** — any provider with an OpenAI-compatible API, including self-hosted models like Llama

## Core AI Capabilities

Bruno AI surfaces in four distinct areas of the app:

- **Inline Autocomplete** — Ghost-text suggestions appear as you type in Pre-Request, Post-Response, and Tests script editors. Three trigger modes are available: Aggressive, Debounced, or Manual. Users press Tab to accept, Esc to dismiss, or ⌘→ to accept one word at a time.
- **Generate Scripts** — From the Scripts tab on any request, folder, or collection, users click the AI icon, describe what they need, and Bruno generates a script to accept or reject.
- **Generate Tests** — From the Tests tab, users describe what to assert and Bruno generates test code for review before accepting.
- **Generate Documentation** — From the Docs tab, users describe an endpoint or workflow and Bruno writes the documentation for review.

## Where It Fits in the Bruno Ecosystem

Bruno is a desktop API client designed around Git-native, offline-first workflows. Collections are stored as plain-text YAML files, making them versionable and reviewable like code. Bruno AI builds on this foundation by adding AI assistance without changing the local-first, no-cloud-account-required model. The AI features are available in the desktop app and are configured per-user through the app's settings, where users supply their provider credentials.

## Update: Bruno v4 and AI Beta Launch

Bruno AI was introduced as part of the Bruno v4 release, which the docs note includes potentially breaking changes for existing users. The AI features are explicitly marked as Beta in the v4 documentation. The Bruno team announced a live webinar on August 19 titled "Bruno v4 Live: AI, Scripting, Docs & What's New," signaling active development and a formal rollout of the v4 feature set. The documentation repository on GitHub shows active maintenance with recent pushes as of late July 2026.

## Features
- Inline AI autocomplete in script editors
- AI script generation for requests, folders, and collections
- AI test generation with review-before-accept workflow
- AI documentation generation for endpoints and workflows
- Bring Your Own Key (BYOK) model — no data routed through Bruno servers
- Supports OpenAI (GPT-4o, GPT-4)
- Supports Anthropic (Claude Opus 4.7, Claude Sonnet 4.6, Claude Haiku 4.5)
- Supports custom OpenAI-compatible endpoints including self-hosted models
- Three autocomplete trigger modes: Aggressive, Debounced, Manual
- Tab to accept, Esc to dismiss, ⌘→ to accept one word
- Available in Pre-Request, Post-Response, and Tests script editors
- Requires Bruno v4.0.0 or later

## Integrations
OpenAI, Anthropic, Llama (self-hosted via OpenAI-compatible API), Custom OpenAI-compatible endpoints, Git, GitHub, GitLab, Bruno CLI

## Platforms
WINDOWS, MACOS, LINUX, WEB, API, VSC_EXTENSION, CLI

## Pricing
Freemium — Free tier available with paid upgrades

## Version
4.0.0

## Links
- Website: https://docs.usebruno.com/ai/bruno-ai/introduction
- Documentation: https://docs.usebruno.com/ai/bruno-ai/introduction
- Repository: https://github.com/usebruno/bruno-docs
- EveryDev.ai: https://www.everydev.ai/tools/bruno-ai
