[ANN] Zemi.jl: a research group's knowledge base, shared by people and agents

Zemi is a knowledge base for a research group, written in Julia. It reads the papers a group works from, makes them searchable by meaning, gives people and AI agents the same project boards to work on, and much more. Over time the site becomes a rich repository for a research group to draw from, and it helps the team to learn, communicate, organize, and innovate.

The name comes from ゼミ (zemi), a Japanese university research seminar.

Demo: Reef Ecology Lab · Guide: Zemi

What it does:

  • Papers: arXiv papers, PDFs and codebases are parsed, summarized section by section, and embedded in several layers. Search combines keywords and meaning.
  • A site: paper pages, topics, a timeline, a landscape of the papers against the group’s focus areas, an arXiv watch, and a daily paper with an analysis.
  • A tutor per paper, pitched to the reader’s background, and Slate notebooks made from papers.
  • Findings that cite their evidence: papers with the quoted passage, records, notebooks, code.
  • Projects: task boards that people and agents share. Agents propose plans; people approve them. Questions go both ways, and what waits on you can reach your phone or computer as a notification.
  • Agents use all of it through MCP or Kaimon: search, read, plan, report, draft findings.
  • Solo or shared: one person on a laptop, or a signed-in group on a server with roles and API tokens. Groups can share what they read as datasets.

Projects provides a lightweight but capable project/task management feature which ties in directly with the knowledge base, allows humans and AI to work on tasks and track the project progress.



Try it (Julia 1.12+; reading papers also needs Ollama, Qdrant and mutool, see requirements):

julia

in the REPL add the app:

]app add Zemi

Then run it

zemi

Or as a library (pkg> add Zemi):

using Zemi
db = kb()
ingest!(db, ["1706.03762"])
search(db, "attention without recurrence")

For the curious, under the hood, some of the open source packages Zemi builds upon, thanks to the various package authors and contributors.

Issues and questions are welcome on GitHub or here.

This is amazing! It’s exactly what I wanted. And I’m thrilled that it’s implemented in Julia.
Slightly unrelated question, but why are your package names always Japanese-inspired? As a Japanese speaker, I’ve always wondered.

I’m elated to hear that, please feel free to reach out if you need any support or run into issues. As is generally the case, I make these posts with a slight bit of hesitation because I can only test so much in my own environments, and generally there are some rough spots to smooth out initially. But get in touch and I will do my best to help or fix any issues promptly.

It’s a good question with an answer that I hope is not too disappointing? I’m not Japanese in any way, but I did notice that some Julia packages such as Makie.jl are inspired by or informed by Japanese culture and history.

It’s actually quite hard to come up with names for packages these days. There are so many of them, and many of the package names one would want to use are taken, have overlaps or conflicts. This is especially true in English. When it comes to choosing a package name, I try to search for something that captures the intent of the project as well as being unique enough it can be searched for and does not get confused. This tends to exclude many names in English.

For some reason, I’ve had luck with names that fit the character of my projects and happen to use the Japanese language or have a connection to that culture. When I saw the way the Kanji (ゼミ) could be mixed into Zemi as we’d write it in the Roman alphabet – Zゼmミ – and the way it fit the theme of the project, well I had to go with it!

(PS – As for Tachikoma.jl, I’m just a big GitS fan :ghost:)

Great stuff again ! I’m wondering, could this be deployed on a self hosted instance with access rights such that it could live a an internal search engine ? That would be so great !

Yes absolutely, it supports a solo deployment mode which you can set up as a research team of one.

… and if you get some collaborators, there is a clear path to share that with them.

Something that may be a nice addition is to support ORCID or HAL ids and references to other open repositories that Arxiv such as HAL.

That’s something that I can look at for sure. Many documents can be incorporated, I just chose arXiv as a first step,

That is very interesting!

I have been building such a thing for me by hand in Obsidian - read the paper, summarize it, keep the main equations.

The look gives me also some Obsidian vibes.

I am going through the documentation but most of the things are new to me (running my own server, own agents and so on), so it might take some time to test it out.

Funny enough, the lab has been basically trying to recreate a worse version of Zemi with obsidian skills. Thanks for making our lives easier once again :slightly_smiling_face:

Added a new convenient way to run if you install Kaimon.jl first, then for a solo/local Zemi instance you can just use

zemi kaimon

and it will add it to Kaimon’s extensions and manage the Zemi process for you.

This looks interesting. How well would it handle a lot of papers (10,000+)?

I’ve got it working with about ~1k just fine. I haven’t tested with 10x that, but I wouldn’t anticipate it would be an issue. Running the embedding and summarization steps over that volume would take some time initially, but it’s incremental and the system can be used in the meantime.

As always, thank you for the great gifts you bring to the community. I believe the support for Zotero should be an easy addition as its API allows interaction with agents.

I already have Zotero support as a matter of fact!

You are way ahead of me!

Hi, it looks great ! So can it make the changes in one or more git repos? and does it have have a way to maintain a repository of data files?

(Currently I maintain a list of ‘project’.md files with tasks in them that the ai can work on and I stick my data in a .gitignored data dir and maintain scripts in git to source and process it. And I was going to write a stipple ui on top of it. So I’m wondering if zemi will be a better fit. I’ll have to try it out :slight_smile: )
thanks

If you’re referencing the project management system, then Zemi itself doesn’t do that, some agentic AI would do that itself, based on the tasks that are described. The agent can connect to the board and work on all those items autonomously, and then update the board as it goes. I use Claude and it can create a background loop task which just listens for any changes on the board, so I can simply add something new, assign it to Claude, and move it to ready and it will start working on it right away. The agent can also create tasks itself which are put into a “proposed” column, then you can just click approve and they get moved into ready status.

If you’re asking about something else with respect to the repos, let me know?

Just a quick note that Zemi.jl continues to be improved, the latest 0.4.0 release adds support for incorporating data from Zotero. Zotero documents are configured and incorporated into a project’s Library.


This version also adds the ability to sync local sets of documents with your solo Zemi instance or a group Zemi site remotely. One example of this would be an Obsidian vault, which stores its documents in a folder structure in Markdown format (along with some YAML config).

These are added to a personal library and are available for your own searches, or shared with a project or published for the group as a whole. The synchronization can be run at any time manually, or you can run a small utility which syncs periodically, or run a command which will launch the sync process as a background daemon automatically for your account.

If you want to restrict what’s synced, you can choose to exclude files or folders, and you can choose to remove or revoke access to your personal library data at any time.



The data from these documents is indexed and incorporated into the knowledge base, you and your agents can use results from your personal library in addition to the group resources.


Release notes here:

Looks great!