Two bigger Korvins that I shelved before this one

The README of the first Korvin has a table with 24 rows. Each row names a feature, and each row ends with a green tick and the word “Live”.

I was proud of that table. I also never called that Korvin finished, and the same thing happened with the one after it.

Korvin 0.3.0 is the third attempt. It is a small private assistant for one local model, and it is much smaller than both earlier versions. Some readers knew the old plan, so I owe them the reasons.

The first Korvin: voice, Telegram and a dashboard

The first Korvin was a personal agent for a rented server or your own machine. You talked to it through Telegram, by text or by voice. It kept every conversation in a database. It could research the web, scan an address for threats, and send a daily summary.

A web dashboard showed the chat, the memory and the logs. A switch on it changed the model, and another switch stopped the agent. Every model request went through a router, so the model could be local or hosted.

The first Korvin had 24 features marked Live, 179 npm packages in its lock file, and 54 more Python packages for voice
Figure 1. The first Korvin, counted from its own README and package files.

It had about 7,000 lines of JavaScript and Python. The code that I wrote was the small part. The lock file listed 179 npm packages, and the voice part pinned 54 more Python packages.

The second Korvin: Rust, receipts and a gateway

For the second Korvin I threw the code away and started again in Rust. The goal was trust. Every model request went through one door. Every tool sat behind a permission check. A journal showed any later change, and a signed receipt proved that the model had run on your own machine.

It also had code that repaired broken tool calls from small models. An optional desktop window showed the conversation.

The first Korvin had 7,071 lines of code, the second 22,412 lines of Rust, and Korvin 0.3.0 has 2,496 lines of Python
Figure 2. Lines of code in each version. The second Korvin also had 4,264 lines of tests.

That version grew to 22,412 lines of Rust in 33 files. Its tests still passed on the day I set it aside. It never shipped, and one reason sat outside the code. The full receipt check needed a separate gateway program, and I had not published that program.

Why both of them stopped

The decision log of the new Korvin opens with this question. Its first entry says that the scope of both older versions kept growing. These are the reasons behind that sentence.

ReasonIn the older versionsIn Korvin 0.3.0
No definition of finishedA product that competes with the large assistantsThe best agent for one small model, with measurements
Every feature opened a doorTelegram, a dashboard, a tunnel, hosted modelsOne connection, to the model on the same computer
Too much code to read7,071 and 22,412 lines2,496 lines in thirteen files
Packages nobody audits179 npm packages, 418 Rust cratesNone
Ticks in place of numbers24 rows marked Live1,238 of 1,407 eval trials passed
A language that slowed meRustPython, standard library only
Table 1. What stopped the older versions, and what replaced it.

The first reason weighs the most. I wanted an assistant that could stand next to the large ones. The log is blunt about that goal: “We cannot win on features. This goal stopped both older versions.”

The doors come second. A program that talks to Telegram, a dashboard and hosted models cannot promise that nothing leaves your computer. The new scope has one network connection, and a test checks it. The log says why that matters: “A local-only program can make one absolute promise, and a test can prove it.”

The first Korvin had 179 npm packages in its lock file, the second had 418 Rust crates, and Korvin 0.3.0 has none
Figure 3. Outside packages in each lock file. The optional desktop window brought about 400 of the 418 crates.

Then come the packages. I could read my own 7,000 lines, but I could not read 179 packages that other people wrote. Korvin 0.3.0 uses only what ships with Python, and a test fails if that changes.

The ticks bother me most in hindsight. “Live” told a reader that the code ran. It did not say how often the model got the task right. The new Korvin ran 1,407 eval trials before its release and passed 1,238 of them, which is 88%. The 169 failures are published with the passes.

Rust was my choice, and the language did nothing wrong. The log records the result in one line: “Hard to read. Slow to write. The second Korvin used Rust and stalled.” A reader without coding experience can follow Python line by line, and Korvin is for readers who check their tools.

A small model wants less

One more reason only showed up in the measurements. The older versions gave the model many abilities. A 2B model does not use many tools well.

Before the release, I ran four agent tools on the same small model, 110 trials each. The two tools with four tools and a short prompt passed about 90%. The tools that offered 10 and 17 tools passed 65% and 46%. That test does not prove that the tool count alone made the gap. It still points the same way as my own experiment, where a fifth tool brought 4 broken tool calls.

The second Korvin had repair code for broken calls. I never measured that code against the four-tool design, so I cannot say which of the two works better.

What carried over

The ideas survived. The code did not, and the log lists that as a cost: “We do not reuse the code of the older versions.”

Asking before an action was in all three versions, while one network door and a log that shows changes started with the second Korvin
Figure 4. Three ideas across the three versions.

The first Korvin already asked before a risky command. The second added the single door and the journal. Korvin 0.3.0 keeps all three in a smaller form: a permission question, one file that may touch the network, and a sealed log.

What I gave up

The cut cost real abilities. Korvin 0.3.0 has no voice. You cannot reach it from your phone. It has no dashboard and no hosted model. It cannot write, rename or delete your files, and it runs no security scans.

The first Korvin listed 24 features as Live, and the scope of Korvin version 1.0 lists 8
Figure 5. Features on each list.

The log accepts the price in its first entry: “Korvin will have few everyday users, and that is accepted.” If you need voice or phone access, this Korvin is the wrong tool, and I would rather say so here than in a bug report.

If your own project keeps growing

These five steps are what I did differently the third time.

  1. Write down what the project refuses to do, next to what it does.
  2. Set a size cap, and put the cap in a test.
  3. Name one model and one computer, and measure only those.
  4. Measure before you add. A change stays only if it beats a run without it.
  5. Move the old code into one folder with a clear name.

The fifth step sounds small. My old versions sat in four folders with similar names, and I opened the wrong one more than once. They now live in a single folder named Korvin-deprecated, for reference only.

I took the old repositories offline when I released the new one. The code that replaced them is at github.com/nosistech/korvin, and one person can read all of it.

Follow NosisTech on LinkedIn