Repository navigation
v1.2 Update: The beaver has landed.
v1.2 Update: The beaver has landed. 🦫
BE-Code stays offline-first, and 1.2 opens it up to people without a local GPU. Your main model can now be an online one, while a small local model handles the housekeeping. Nothing leaves your machine until you have said yes to it.
Online main models
- Presets.
be-code setupnow offers "use an online provider", with presets for OpenRouter (the headline), OpenAI, Groq, DeepSeek, Mistral, Gemini and Anthropic. It also works with no local server at all. - Keys. API keys are only read from environment variables and are never written to config.
- Model details. Each model's context window and prices come from the provider's model list.
- Rejected keys and rate limits. A rejected key is reported clearly by name and never retried. Rate limits honour
Retry-After. - Local helper.
local_helperruns compaction summaries, the resume briefing,/init, commit messages and review on your local model. These chores stay local and free. - Outages. If the online provider goes down, BE-Code offers to switch the session to your local model.
Consent before anything leaves
- Per project. Each project is asked once before its code goes to an online model. The answer is remembered per project and provider, and
/online forgetwithdraws it.-yapproves for that run only. - Per site. Page text from the browser,
web_fetchandweb_searchreaches an online model only after you answer for that site.- Your own Chrome asks on every page.
- Pages already in the conversation are asked about site by site when a session goes online.
- No "always".
online_project,share_page,spend_capandswitch_to_localhave no "always" option, and-ynever answers them, exceptonline_projectfor a single run.
Spend
- Estimated spend shows in the status line and
/stats. max_spend_usdasks before the request that would go past it.
Also in 1.2
- Scheduled events. A running session can wake the model later: one-off follow-ups, or recurring upkeep under an allowance you approve up front. A fired event never takes the session's shortcuts. Tools with no gate of their own ask first.
- Your own Chrome. The browser tool can attach to the Chrome you already use (Chrome 144+, remote debugging on). It works only in its own tabs or ones you hand over, and every action outside your allow list asks.
- Budget fix. A
max_tokensas large as the context window no longer swallows the whole budget, which showed up as the 999% context wheel and the apparent freeze.
The full list is in CHANGELOG.md.
Install
curl -fsSL https://raw.githubusercontent.com/BE-AI-Research/be-code-redux/main/install.sh | shBinaries are provided for linux/amd64, linux/arm64, darwin/arm64 and windows/amd64, along with the VS Code extension (be-code-vscode-1.1.1.vsix). Checksums are in SHA256SUMS.