CLI tool
CodebuffAI/codebuff avatar
CodebuffAI/codebuff

Freebuff: A Free Terminal AI Agent with a Built-in Model Catalog

Generate code from the terminal. **Loaded**, Built-in web research, browser use, and more.

12,110 stars1,295 forksTypeScriptApache-2.0

At a glance

What is it?
Freebuff is a TypeScript monorepo that brings AI coding agents to the terminal, desktop, web, and GitHub. It is free, ad-supported, and built on the Codebuff framework, but its session limits and data-use policies deserve scrutiny.
Who is it for?
Adopt Freebuff if you are an individual developer or small team wanting a no-cost AI coding assistant with a choice of models and no API key setup. Avoid it if you handle sensitive code, because the privacy policy permits analysis of prompts and messages for ad personalization, and data may be used for training when a model or feature says so.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 15, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

What Freebuff Solves and Who It Is For

Freebuff targets developers who want AI assistance for coding, building, and research without paying a subscription or managing API keys. The README positions it as five free products: a desktop app for parallel local agents, a CLI for terminal-based code generation, a web app for full-stack builds, a cloud service that runs agents on any GitHub repository, and a chat interface for research. The core problem it addresses is the friction of setting up and paying for multiple AI tools. It is for individual developers, hobbyists, and teams that prioritize cost savings and are comfortable with session limits. The project is built on Codebuff, an open multi-agent framework, so it also serves developers who want to create custom agents or embed AI into their own applications via the @codebuff/sdk.

The Multi-Agent Architecture Behind the Terminal

Freebuff does not send every task through a single model and prompt. The README describes a system of specialized agents that divide work. File-finding agents map relevant parts of a project before editing. Implementation and review agents make changes, run commands, and inspect results. Research agents investigate documentation and use a real browser to test applications. This division of labor is visible in the product structure: the desktop app isolates concurrent agents in separate workspaces, while the web and cloud products provide sandboxes, previews, and deployment workflows. The architecture is a deliberate departure from a monolithic prompt approach, and it explains why Freebuff can claim to handle tasks like web research and browser use. The framework underneath, Codebuff, is open source and provides the orchestration, tools, and SDK, which means the agent behavior is not a black box.

Getting Started: Install, Run, and Configure

The quick start is straightforward. Install the CLI globally with npm: npm install -g freebuff. Then navigate to any project directory and run the command freebuff. You describe what you want, and Freebuff finds relevant files, makes changes, and runs the checks that matter for your project. The README does not list configuration keys beyond the environment setup for contributors. For local development, you need Docker and a .env.local file, then you run bun install and bun up. The CLI is started separately with bun start-cli. The model picker is a key configuration point. You choose from a curated catalog that includes GPT-5.6 Luna, DeepSeek V4 Flash, MiMo 2.5, Solar Pro 4, and GLM 5.3 Flash. Each model has different access levels and limits, such as GLM 5.3 Flash being capped at two sessions a day. There is no mention of a config file for setting a default model, so the picker appears to be interactive.

The Model Catalog and Its Session Economics

The model selection is a central feature, and it carries real constraints. Most models draw on your normal daily sessions rather than a separate limit. MiMo 2.5 is the exception: it stays unmetered and costs no session at all. GLM 5.3 Flash is capped at two sessions a day while the team measures its cost. Solar Pro 4 is a limited-time trial with 524K context but text only. DeepSeek V4 Pro was retired and replaced by GLM 5.3 Flash as the deep-reasoning pick. Models may serve from a quantized Q8_0 build, which means output quality can vary from the full-precision version. The README also mentions Gemini 3.1 Flash Lite powers specialist tasks like file finding and research, so it is not in the main picker. This catalog is not static; the release notes show a rapid beta cycle with multiple staging releases per day, so model availability and limits can change without warning. The session-based economy is a trade-off: you get free access, but you must plan around daily caps.

Free Access, Text Ads, and Regional Limits

Freebuff is available in every country, but access is tiered. Supported regions receive full access. Other regions and VPN users receive limited access, currently MiMo 2.5 with three one-hour sessions per day, earnable up to seven. The free model is supported by text ads. The README states that Freebuff shows applicable session limits and any model-specific data-use notice before you start. This is a significant caveat for users who rely on VPNs for privacy or who live in unsupported regions. The regional difference means the tool is not uniformly free in practice. The ad-supported model also affects the user experience: you are the product in the sense that prompts and messages, including pasted content, may be analyzed to personalize ads. Separate uploads and connected repositories are not provided to advertising providers, according to the README, but that distinction is easy to miss when you paste code into a chat.

Data Use, Privacy, and the Fine Print

The privacy section is the most important part of the README for engineers evaluating this tool. It states that prompts, messages, code, files, and repository data are used to provide the service. It also says Freebuff or the provider may keep submissions to develop, train, test, evaluate, and improve AI models, but only when a model or feature says data may be used for AI training. The ad personalization clause is broader: Freebuff may analyze prompts and messages, including pasted content, to personalize ads, using Freebuff systems and service providers. This is a clear warning for anyone working on proprietary code. The README does not specify retention periods; it points to the Privacy Policy for details. For a tool that runs in your terminal and has access to your project files, this is a material risk. The data-use notice is generated, which suggests it is updated automatically, but the core trade-off is explicit: free access in exchange for ad analysis of your prompts.

Maintenance, Licensing, and the Codebuff Dependency

The repository is a TypeScript monorepo built with Bun. The license is Apache-2.0, which is permissive for both commercial and personal use. The project is not archived, and the last push was October 21, 2025, with multiple beta releases that day. The release naming, v1.0.420-beta.185, indicates an active but unstable development cycle. The README says Freebuff is built on Codebuff, the open multi-agent framework, and points to the @codebuff/sdk on npm for custom agents. This means adopting Freebuff also ties you to Codebuff's evolution. For maintenance, the contributing guide requires Docker and a .env.local, but there is no mention of a migration path or upgrade notes for users. The rapid release cadence suggests you should expect frequent updates, and the staging label on releases implies some versions are not production-ready. If you need a stable tool for a critical workflow, this beta pace is a limitation.

Editorial conclusion

Adopt Freebuff if you are an individual developer or small team wanting a no-cost AI coding assistant with a choice of models and no API key setup. Avoid it if you handle sensitive code, because the privacy policy permits analysis of prompts and messages for ad personalization, and data may be used for training when a model or feature says so. Before using it, verify your region's access tier, check the daily session caps for your chosen model, and review the full Privacy Policy at freebuff.com/privacy-policy to confirm whether your repository data is treated as separate from ad targeting. The project's rapid beta release cadence and staging releases mean you should expect frequent changes and occasional breakage.

Official sources

  1. Official documentation
  2. Official README
  3. Project repository
  4. Release notes
Community notes

Community notes