A local-first, AI-assisted workspace for turning fleeting thoughts, conversations, links, and assets into reusable knowledge
pip install zettelekasten==0.0.1 Copy PIP instructions
Zett is a private workspace where you think out loud with an AI assistant and keep what matters. Catch a fleeting thought in one line before it slips away, bring in the sources around it, and work it into something durable — a card, an article, a slide deck, or a paper — organized, searchable, and stored on your own machine.
No account, no cloud workspace, no telemetry. Zett runs as a single local application that listens on 127.0.0.1 and keeps every database and file under one directory. It talks to the model provider you configure, and to a chat platform only when you connect one.
Zett ships as one Python package — the application, the zett command, and the compiled interface — so this is the whole install:
uv tool install zettelekasten # or: pipx install zettelekasten zett start # serves 127.0.0.1:6280 in the background The distribution is zettelekasten; the command it installs is zett. It is published to PyPI together with the agim and zett-weixin packages it depends on, so one install is enough. To work from a checkout instead:
git clone https://github.com/Chang-LeHung/zettelekasten cd zettelekasten make install # builds the interface and installs the `zett` command zett start # serves 127.0.0.1:6280 in the background Either way, open http://127.0.0.1:6280, add a model provider in Settings, and start a conversation. zett start returns once the server answers and leaves it running without the terminal, zett status reports it, and zett stop shuts it down; zett start --foreground stays attached instead.
Everything is under ~/.zettelekasten/ — the databases, attachments, artifact projects, user skills, and rotating logs. Set ZETT_STORAGE_ROOT to move it. Deleting a conversation removes its messages, files, and artifacts with it.
The project site is published at https://chang-lehung.github.io/zettelekasten/, with the full documentation under https://chang-lehung.github.io/zettelekasten/docs/:
The repository also carries two packages that are released on their own: agim, the stateless chat SDK, and zett-weixin, the WeChat channel plugin built on it. The agent runtime Zett runs on lives in its own repository, zett-agent.
zett3rd/ keeps integrations that live beside Zett without being part of its build — nothing there is imported by the backend or the interface, so a broken one can never fail Zett itself. It currently holds a Zettelekasten Chrome extension (Vue 3 + TypeScript, built with Vite) that embeds a separate conversation in each webpage, reads that page, and saves useful results into your library.
Zett discovers installed packages through entry points, so an extension is a normal distribution rather than a patch:
Install one into the same environment as Zett and restart; the plugin guide walks through a complete example, including what the host guarantees and which boundaries stay closed.
This project is available under the MIT License.
ai knowledge-management local-first note-taking zettelkasten
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




