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.

v3.6.0发布于 2026-07-29 11:36 UTC266star34fork同步于 2026-11-10 12:03 UTC

怎么上手

由 README 提炼,执行前请确认
pip install biscuit-editor
biscuit path/to/src
硬件要求按 README 说明

README 未说明显存或 GPU 要求;需系统安装 Tkinter,Python 3.10+(3.13+ 需 legacy-cgi)。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

轻量级原生 AI 代码编辑器,体积不到 20MB,几秒装好就能用

一款原生可扩展的 AI 代码编辑器,体积不到 20MB,安装后几秒内即可上手,适合想要轻量 IDE 又需要 AI 辅助写代码的人。

核心能力

  • 内置规划型 Agent,支持读写编辑文件、搜索代码库、执行终端命令
  • 支持 Gemini 与 Anthropic API,可通过扩展接入更多 LLM 提供方
  • 基于 tree-sitter 的语法高亮与符号跳转、引用查找
  • 集成 ripgrep 快速搜索,支持正则与批量替换
  • 内置 Git 操作与 Python 调试器,可设断点、查看调用栈

容易踩的坑

需先装系统 Tkinter(Ubuntu/Debian 用 sudo apt install python3-tk),否则启动失败;Python 3.13+ 需额外安装 legacy-cgi;Agent 需自备 Gemini 或 Anthropic API,Ollama 扩展已弃用待重写。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v3.6.0
  1. 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 Contributors

    Full Changelog: https://github.com/tomlin7/biscuit/compare/v3.2.0...v3.5.0

  2. v3.3.0Biscuit v3.3.02025-08-14 · 2025-08-14 18:17 UTC
    查看更新说明

    Install Biscuit in 5 minutes!

    Just run:

    pip install biscuit-editor
    

    New 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>
    

    Read more...

    New Landing Page (visit)

    What's Changed

    Install

    Just run:

    pip install biscuit-editor
    

    Full Changelog: https://github.com/tomlin7/biscuit/compare/v3.0.0...v3.2.0

  3. v3.0.0Biscuit v3.0.0 - New look & features2024-12-02 · 2024-12-02 19:01 UTC
    查看更新说明

    image

    This latest v3.0 major 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

    image

    Quick Install:

    pip install --upgrade biscuit-editor
    

    then just run biscuit path/to/directory to launch!

    For a detailed list of features of Biscuit, go through the feature section.

    What's Changed

    Fixes

    New Contributors

    Full Changelog: https://github.com/tomlin7/biscuit/compare/v2.99.22...v3.0.0

  4. 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 ✨

    image

    What's New ✨

    image

    • View, Modify local variables at runtime

    image image

    https://github.com/user-attachments/assets/649e154a-0114-40e9-886d-6a8175b03ad5

    image

    image

    image

    image

    Full Changelog: https://github.com/tomlin7/biscuit/compare/v2.99.10...v2.99.22

  5. 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

    Screenshot 2024-06-26 204612

    <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-editor
    

    Extensions

    python_PraxsB2XZK-ezgif com-video-to-gif-converter

    Full Changelog: https://github.com/tomlin7/biscuit/compare/v2.90.0...v2.99.10

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    GitHub PyPI - Version PyPI - Downloads GitHub commit activity GitHub last commit GitLab Issues Ask DeepWiki codecov

    biscuit is a fast, extensible, native code editor with agents. lightweight <20 mb in size. install and start using in seconds.

    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-tk on Ubuntu/Debian, python3-tkinter on Fedora). Python 3.10+ is supported (with legacy-cgi for 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

    [!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 prompt inside 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.