需先装系统 Tkinter(Ubuntu/Debian 用 sudo apt install python3-tk),否则启动失败;Python 3.13+ 需额外安装 legacy-cgi;Agent 需自备 Gemini 或 Anthropic API,Ollama 扩展已弃用待重写。
biscuit
tomlin7MIT活跃维护一款原生可扩展的 AI 代码编辑器,体积不到 20MB,安装后几秒内即可上手,适合想要轻量 IDE 又需要 AI 辅助写代码的人。
biscuit is a native, extensible, AI code editor. lightweight <20 mb in size. install and start using in seconds.
pip install biscuit-editor
biscuit path/to/srcREADME 未说明显存或 GPU 要求;需系统安装 Tkinter,Python 3.10+(3.13+ 需 legacy-cgi)。
轻量级原生 AI 代码编辑器,体积不到 20MB,几秒装好就能用
一款原生可扩展的 AI 代码编辑器,体积不到 20MB,安装后几秒内即可上手,适合想要轻量 IDE 又需要 AI 辅助写代码的人。
核心能力
- 内置规划型 Agent,支持读写编辑文件、搜索代码库、执行终端命令
- 支持 Gemini 与 Anthropic API,可通过扩展接入更多 LLM 提供方
- 基于 tree-sitter 的语法高亮与符号跳转、引用查找
- 集成 ripgrep 快速搜索,支持正则与批量替换
- 内置 Git 操作与 Python 调试器,可设断点、查看调用栈
容易踩的坑
- v3.6.0Biscuit v3.6.0最新正式版2026-07-29 · 2026-07-29 11:36 UTC
This release is all about making Biscuit faster, more capable, and much more comfortable to use every day. Search has been completely redesigned, the editor gained split views and Vim support, settings are now fully editable through a dedicated interface, and AI workflows have become more transparent with new agent tools.
⚡ Faster syntax highlighting, Vim Mode, Splittable Editor Tabs
- editor now uses a new Tree-sitter highlighting engine, providing faster and more responsive syntax highlighting across large projects.
- tabs can now be split into multiple panes, making it easier to work with several files side-by-side.
- Vim users can now navigate and edit using familiar keybindings with the introduction of Vim Mode.
This video features the split editor feature and the new browser extension
https://github.com/user-attachments/assets/8e559687-2b49-4e95-bdd9-e2db9a9db4ed
🔎 A brand new Search Editor
Search has been rebuilt from the ground up and is now powered by Ripgrep, bringing significantly faster project-wide search with a dedicated search editor experience.
- Small Project (15 MB): ~8 milliseconds
- Large Monorepo (Node.js): ~42 milliseconds
- Single File Search (Large text): ~150 to 250 milliseconds
⚙️ New Settings Editor
Configure Biscuit through a dedicated settings editor/TOML configuration file, making settings easy to edit both inside and outside the IDE.
Thank you to everyone who contributed to making Biscuit better.
What's Changed
- New search editor powered by Ripgrep @tomlin7 in https://github.com/tomlin7/biscuit/pull/610 https://github.com/tomlin7/biscuit/pull/611
- New Settings editor with TOML config file sync by @tomlin7 in https://github.com/tomlin7/biscuit/pull/612
- New faster Tree-sitter highlighting engine by @tomlin7 in https://github.com/tomlin7/biscuit/pull/617
- Better indent guides by @tomlin7 in https://github.com/tomlin7/biscuit/pull/620
- Editor layout redone: splittable editor tabs by @tomlin7 in https://github.com/tomlin7/biscuit/pull/632
- Introduced Vim mode (#405) by @tomlin7 in https://github.com/tomlin7/biscuit/pull/630
- Add MiniMax provider support by @octo-patch in https://github.com/tomlin7/biscuit/pull/642
- Chat: New agent modes by @tomlin7 in https://github.com/tomlin7/biscuit/pull/608
- Chat: Agent traces by @tomlin7 in https://github.com/tomlin7/biscuit/pull/609
New Contributors
- @octo-patch made their first contribution in https://github.com/tomlin7/biscuit/pull/642
Full Changelog: https://github.com/tomlin7/biscuit/compare/v3.2.0...v3.5.0
- v3.3.0Biscuit v3.3.02025-08-14 · 2025-08-14 18:17 UTC
查看更新说明
Install Biscuit in 5 minutes!
Just run:
pip install biscuit-editorNew Extension Marketplace (visit here)
You can now publish your custom Biscuit extensions to our marketplace.
Extension Dev CLI
To create a new Biscuit extension, you can use the Biscuit CLI(Make sure you have it installed).
biscuit ext new <extension name>New Landing Page (visit)
What's Changed
- Fix #450 by @vyshnav-vinod in https://github.com/tomlin7/biscuit/pull/468
- Extension manager rewrite by @tomlin7 in https://github.com/tomlin7/biscuit/pull/467
- chore(deps): bump tkinterweb from 4.0.6 to 4.1.3 by @dependabot[bot] in https://github.com/tomlin7/biscuit/pull/529
- fix: Corrected start_index for indent_guide tagging by @moonlander101 in https://github.com/tomlin7/biscuit/pull/567
Install
Just run:
pip install biscuit-editorFull Changelog: https://github.com/tomlin7/biscuit/compare/v3.0.0...v3.2.0
- v3.0.0Biscuit v3.0.0 - New look & features2024-12-02 · 2024-12-02 19:01 UTC
查看更新说明
This latest
v3.0major release includes many changes, notably a complete redesign of the editor's appearance. Yet, there are many important PRs and feature requests that couldn't make it to this release!Many contributors have added new features to the project during the hacktoberfest season: see the list
Quick Install:
pip install --upgrade biscuit-editorthen just run
biscuit path/to/directoryto launch!For a detailed list of features of Biscuit, go through the feature section.
What's Changed
- Layout redesign, new iconset, new themes by @tomlin7 in https://github.com/tomlin7/biscuit/pull/391
- Extension Search bar implementation by @Kabiirk in https://github.com/tomlin7/biscuit/pull/439
- Extension details pane by @tomlin7 in https://github.com/tomlin7/biscuit/pull/442
- Added editorconfig support by @tomlin7 in https://github.com/tomlin7/biscuit/pull/433
- Improved welcome page by @tomlin7 in https://github.com/tomlin7/biscuit/pull/394
- Text editor Context Menu by @tomlin7 in https://github.com/tomlin7/biscuit/pull/399
- Restoring most recently closed tabs (#400) by @GooglyBlox in https://github.com/tomlin7/biscuit/pull/401
- New command palette design by @tomlin7 in https://github.com/tomlin7/biscuit/pull/446
- Relative line numbering by @nkapila6 in https://github.com/tomlin7/biscuit/pull/420
- Installed extensions filter for the extension center by @saai-syvendra in https://github.com/tomlin7/biscuit/pull/423
- Floating opened editors list by @tomlin7 in https://github.com/tomlin7/biscuit/pull/395
- Submenus support for biscuit menus by @tomlin7 in https://github.com/tomlin7/biscuit/pull/397
- Make command palette scrollable, other UI improvements by @tomlin7 in https://github.com/tomlin7/biscuit/pull/447
- Added CLI path argument (
biscuit <dir>) by @moonlander101 in https://github.com/tomlin7/biscuit/pull/404 - More keybindings by @tomlin7 in https://github.com/tomlin7/biscuit/pull/449
- Recent folders/files: Bump newly opened to top if exists in db by @tomlin7 in https://github.com/tomlin7/biscuit/pull/454
- Biscuit Workspaces by @tomlin7 in https://github.com/tomlin7/biscuit/pull/426
- Extensions user-level storage by @tomlin7 in https://github.com/tomlin7/biscuit/pull/430
- Insert final new line on save if
insert_final_newlineis true by @tomlin7 in https://github.com/tomlin7/biscuit/pull/432
Fixes
- docs: Getting started by @tomlin7 in https://github.com/tomlin7/biscuit/pull/419
- docs: Added Arch Linux commands to contributing guidelines and various minor changes by @shirsakm in https://github.com/tomlin7/biscuit/pull/437
- fix: Update Breadcrumbs on editor switch/editor close by @tomlin7 in https://github.com/tomlin7/biscuit/pull/444
- fix: Fixed app crashes due to hover renderer shrink property by @tomlin7 in https://github.com/tomlin7/biscuit/pull/411
New Contributors
- @GooglyBlox made their first contribution in https://github.com/tomlin7/biscuit/pull/401
- @moonlander101 made their first contribution in https://github.com/tomlin7/biscuit/pull/404
- @nkapila6 made their first contribution in https://github.com/tomlin7/biscuit/pull/420
- @saai-syvendra made their first contribution in https://github.com/tomlin7/biscuit/pull/423
- @shirsakm made their first contribution in https://github.com/tomlin7/biscuit/pull/437
- @Kabiirk made their first contribution in https://github.com/tomlin7/biscuit/pull/439
Full Changelog: https://github.com/tomlin7/biscuit/compare/v2.99.22...v3.0.0
- v2.99.22Biscuit v2.99.22: Debuggers, Improved language features, Generative AI tools, Markdown editor & renderer2024-07-22 · 2024-07-22 08:20 UTC
查看更新说明
[!NOTE] Check out the new docs tomlin7.github.io/biscuit ✨
What's New ✨
- Support for any debugger can now be added via extensions by @tomlin7 in https://github.com/tomlin7/biscuit/pull/373
- Added support for workspace based debug configurations
- View, Modify local variables at runtime
- Assistant chat can now use any LLMs registered via extensions by @tomlin7 in https://github.com/tomlin7/biscuit/pull/358
- Support for using multiple models to generate terminal commands (
#prefixed commands trigger genAI) by @tomlin7 in https://github.com/tomlin7/biscuit/pull/359
https://github.com/user-attachments/assets/649e154a-0114-40e9-886d-6a8175b03ad5
- Fixed issues with ClangD not recognizing opened files after
didChangenotifications by @tomlin7 in https://github.com/tomlin7/biscuit/pull/363 - Control panel for modifying Biscuit itself at runtime by @tomlin7 in https://github.com/tomlin7/biscuit/pull/367
- Code syntax highlighting within markdown editor and renderer by @tomlin7 in https://github.com/tomlin7/biscuit/pull/369
- Added code block syntax highlighting in hover symbol info by @tomlin7 in https://github.com/tomlin7/biscuit/pull/370
- Syntax highlighting for codeblocks in assistant chat view by @tomlin7 in https://github.com/tomlin7/biscuit/pull/371
Full Changelog: https://github.com/tomlin7/biscuit/compare/v2.99.10...v2.99.22
- v2.99.10Biscuit v2.99.10 2024-06-30 · 2024-06-30 05:22 UTC
查看更新说明
<img src=https://github.com/tomlin7/biscuit/assets/70792552/8ce693c3-a45c-4c86-be17-fa614a73d162>
Editor
- Indent guides by @tomlin7 in https://github.com/tomlin7/biscuit/pull/348
- Correcting/Generating terminal commands using generative AI by @tomlin7 in https://github.com/tomlin7/biscuit/pull/346
- Added LSP diagnostics support (warning, error, info, hint) by @tomlin7 in https://github.com/tomlin7/biscuit/pull/352
- Notification actions by @tomlin7 in https://github.com/tomlin7/biscuit/pull/350
- Issue - PR viewer and palette by @tomlin7 in https://github.com/tomlin7/biscuit/pull/337
- Gitignore detection, parsing, commands by @tomlin7 in https://github.com/tomlin7/biscuit/pull/353
<img src=https://github.com/tomlin7/biscuit/assets/70792552/18d5475d-a0d3-40b8-9fc3-023fad7435bc width=300>
Biscuit is now available on pypi, quick install using pip:
pip install biscuit-editorExtensions
- Attach files to assistant chat by @tomlin7 in https://github.com/tomlin7/biscuit/pull/341
- Extension manager rewrite by @tomlin7 in https://github.com/tomlin7/biscuit/pull/355
- fix quoting problem by @cid0rz in https://github.com/tomlin7/biscuit/pull/342
- Various UX improvements by @tomlin7 in https://github.com/tomlin7/biscuit/pull/356
Full Changelog: https://github.com/tomlin7/biscuit/compare/v2.90.0...v2.99.10
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
biscuit is a fast, extensible, native code editor with agents. lightweight <20 mb in size. install and start using in seconds.
- explore popular extensions, visit the new extension marketplace we've been working on
- for developer/user guides & API reference, check documentation, WIP so i recommend checking deepwiki.
- packed with superpowers, list of features
installing
install the latest release by running:
pip install biscuit-editor # using pip
uv tool install biscuit-editor # using uv
[!NOTE] Ensure Tkinter is installed on your system (
sudo apt install python3-tkon Ubuntu/Debian,python3-tkinteron Fedora). Python 3.10+ is supported (withlegacy-cgifor 3.13+).
quickly open up a project using biscuit path/to/src and start editing. see other installation methods if you'd like to (like pyinstaller).
contributing
- please check the docs and contributing guide for a quick tour of the project structure and to set up the environment.
- to make a new extension, read the extension docs :>
- support the work
[!TIP] This project supports both Poetry and uv for dependency management. See the contributing guide for setup instructions.
PROGRESS
agents
- gemini, anthropic API support (
claude-4-5-opus/sonnet/haiku,gemini-2-5-flash/pro) - planning agent with task list
- ReadFileTool
- EditFileTool
- DeleteFileTool
- ListDirTool
- GlobFileSearchTool
- GrepTool
- CodebaseSearchTool
- RunTerminalCmdTool
- TodoWriteTool
- GetWorkspaceInfoTool
- GetActiveEditorTool
- add more LLM providers through biscuit extensions
- attach files for adding context in chat
- LLM provider extension examples (old ones are now deprecated)
- run local LLMs with
ollama extension(deprecated) - ollama extension rewrite
- LLM calls inside biscuit terminals (use
# your promptinside terminal, then accept/decline response)
code intelligence
- fast tree-sitter based parsing and highlights
- code completions within editor (with icons)
- hover for symbol definition/docstring (rendered with highlights + markdown)
- symbol outline sidebar panel for navigating symbols in open editor
- symbol search through command palette
Ctrl + J) - floating peek widget to jump-to-definition/declaration of symbols
- symbol references in open editor
- adding more language servers through biscuit extensions
more language servers are registered through extensions, see the rust, clangd extensions for reference.
source control
- split diff viewer for changes/staged changes
- essential git operations easily accessible (push, pull, commit, stage, unstage, switch branches)
- clone repositories and immediately open in active window, or new window
- view gitHub issues/prs within editor (TODO: disabled rn, will be converted to an extension)
fast search
- ripgrep based fast search, quickly accessible from statusbar
- replace occurrences individually or all at once
- regex support, case sensitive search and more customization
- search within open editors with floating find-replace widget
code debugging
- setting breakpoints across files
- inspection panel for all runtime variables
- modify runtime variables while debugging
- call stack visualization and exception tracing
- full DAP client integration
- built-in python debugger
- add debuggers can be registered through biscuit extensions.
extensions
- install and manage all available extensions though a gui
- extension search within biscuit
- extension bootstrapping cli commands and templates
- extension docs
- extensions marketplace website: visit here
misc
- split markdown editor, plain HTML renderer
- toggle relative line numbering support
- vim mode support
- add formatters through biscuit extensions
- formatter extensions:
black[DEPRECATED],ruff[DEPRECATED],YAPF[DEPRECATED],autopep8[DEPRECATED] for reference. - drag-n-drop to open files or folders in biscuit
- editorconfig support for projects
- sophisticated command palette (full list of static commands in src/biscuit/commands)
license
biscuit uses the MIT License, see LICENSE file.