> Markdown version of https://www.imranjan.cn/projects/p-open-source for AI agents and other programs. It carries the same public information as the web page. Built 2026-11-30.

October 2026 to now

# Open-source tools

Four open-source tools for working with AI agents

Four tools I built for my own daily work with coding agents and then released. Slipwing lets an agent work in desktop apps and Chrome in the background, Likeness builds 3D scenes in Blender, NimDaydu captions English calls in English and Chinese on my own laptop, and CC Reader finds old Claude Code conversations. This page covers why I built each one and how I solved the hardest problems in it.

Tags: Open Source, Agent Tools, Desktop Automation, Local Models

![Open-source tools](https://www.imranjan.cn/images/projects/open-source-2026/cover.en.animated.webp)

### Project resources

All four repositories are on GitHub.

[Slipwing](https://github.com/narmi924/slipwing)
[Likeness](https://github.com/narmi924/likeness)
[NimDaydu](https://github.com/narmi924/NimDaydu)
[CC Reader](https://github.com/narmi924/cc-reader)

## Why these tools

All four came out of my own daily work with Claude Code and Codex. I’m happy to share my laptop with an agent, and I’m keeping the mouse.

Slipwing lets an agent work in desktop apps and the browser in the background. Likeness lets it take a 3D scene in Blender from one prompt to a finished film. NimDaydu puts English and Chinese captions on English calls, on my own laptop. CC Reader finds the sentence I exchanged with Claude Code weeks ago.

Each repository is public and its README covers installing and using it. This page covers why I built each tool and how I solved the hardest problems in it, then the fixes of mine that were merged into agent-browser. I built all four together with Claude Code and Codex.

![](https://www.imranjan.cn/images/projects/open-source-2026/slipwing-icon.png)

## Slipwing

Lets an agent work in Windows desktop apps and Chrome in the background, and leaves you the mouse and the window you are using.

[GitHub repository](https://github.com/narmi924/slipwing)

Slipwing’s intro film: one message asks for four things, and it does each of them in the browser, a video editor, Blender and a document

### Why I built it

I run coding agents on the Windows PC I work on, and I wanted them to run errands in my browser and desktop apps. Most computer-use tools take the mouse or pull the target window to the front, so I had to stop whenever the agent moved.

Vercel’s open-source agent-desktop and agent-browser could already read controls and press buttons in the background. I built on them, added what was missing, and called it Slipwing.

The side-by-side comparison with similar tools is in [this section of the README](https://github.com/narmi924/slipwing#why-slipwing)

### The hard parts

##### Keeping the window I’m typing in at the front

**Problem:** When the agent sets a value in a background window, Windows sometimes brings that window to the front, and my typing lands in the wrong place.

**Fix:** Two layers. The UI Automation client is created with automatic focus turned off. Before each action Slipwing records the foreground window, and if the target’s program holds the foreground afterwards it puts the earlier window back, trying up to 3 times. If Windows refuses, the whole script stops and no more input is sent. In the test a note in front receives one character every 150 ms. Over three runs it missed none: 58 of 58, 55 of 55, 51 of 51.

##### Windows with no controls to read

**Problem:** Some apps draw their own interface. There are no controls to read, so there is no button to press.

**Fix:** Slipwing captures the window and reads it with Windows’ built-in text recognition four times, at different scales and tones, then merges the results into text with positions. The click goes as window messages to the child window under that position, without moving the cursor or activating the window. Afterwards it compares the windows, the controls and the text in the picture. If nothing changed, it stops and reports, and does not click a second time.

##### A click in a background tab took 5 seconds

**Problem:** Chrome acknowledges a mouse move only after it renders a frame. A background tab renders none, so the move before each click took about 5 seconds to return.

**Fix:** The move now waits at most 15 ms before the press is sent, and the press delivers the queued move with it. A click in a background tab went from about 5 s to 75 ms.

0.71 sto fill and submit a six-field web form

75 msfor a click in a background tab

360 → 189 sfor eight repeated tasks once saved as routines

![Slipwing architecture](https://www.imranjan.cn/images/projects/open-source-2026/slipwing-architecture.en.png)

Your agent calls the slipwing command. Web steps go to agent-browser and Chrome, desktop steps go to agent-desktop and Windows apps; the real mouse and keyboard are used only after you agree

![](https://www.imranjan.cn/images/projects/open-source-2026/likeness-icon.png)

## Likeness

A skill for Claude Code and Codex. The agent builds any 3D scene in Blender and delivers a still, a turntable, a walk-through film, a web page you scroll through, or a GLB model.

[GitHub repository](https://github.com/narmi924/likeness)
[Demo page](https://narmi924.github.io/likeness/)

The plan is drawn on the real map first. After the OK it becomes a page: scroll down to walk forward, here through the city gate of Machu Picchu

### Why I built it

The 3D home page of this site began as a real-time scene. On my laptop’s integrated graphics it ran at 29 to 36 fps and looked flat. I rebuilt it as a film rendered ahead in Blender that the page plays as you scroll.

Likeness keeps the method and the tools from that work, so an agent can take the next scene from a brief to a finished result.

The side-by-side comparison with similar tools is in [this section of the README](https://github.com/narmi924/likeness#why)

### The hard parts

##### Scrolling through a film smoothly

**Problem:** Seeking a video element to the scroll position waits for the decoder on every jump, so scrolling back and forth stutters.

**Fix:** The film is cut into one-second pieces at several sizes from 540p to 1440p. The page fetches only the pieces around the walker, decodes them frame by frame with WebCodecs and draws them on a WebGL canvas, so forward and backward are both continuous frames. The route stores the camera of every frame, which lets labels, clickable spots, rain and snow line up with the picture.

##### Stopping the agent from building the wrong thing

**Problem:** Left to model straight away, an agent often builds a large area before finding that the camera never sees it, or that it does not match the real place.

**Fix:** Decide how it will be seen first, then build. For a real place the agent pulls elevation and OpenStreetMap outlines, draws a map in metres, and marks the route and every camera stop on it. It models nothing until I approve. After that it renders and looks at a picture after every change, and asks a second agent to judge only the pictures.

##### A long film is too much for one laptop

**Problem:** A film has over a thousand frames, and one laptop takes a long time to render them.

**Fix:** likeness fleet rents single-GPU machines on RunPod within the regions and budget I allow. It checks each machine by rendering a few frames twice, hands out one-second pieces, moves work from busy machines to idle ones, and closes each machine when its work is home. A separate process watches the time and money limits and closes everything when one is reached. The 1440 frames of the Machu Picchu film cost 1.89 USD on three RTX 4090s.

60 fpsscrolling on an ordinary laptop

1440 frames, 1.89 USDMachu Picchu on three rented RTX 4090s

3 h 38 minone session from an empty folder to the page

![The same lakeside shot by five models](https://www.imranjan.cn/images/projects/open-source-2026/likeness-models.jpg)

Five models used Likeness to film the same walk along a lakeside path. These are their final shots: GPT-6.2 Astra, GPT-6.2 Sol, Claude Fable 5.2, Claude Opus 5.5 and Claude Sonnet 5.5

![](https://www.imranjan.cn/images/projects/open-source-2026/nimdaydu-icon.png)

## NimDaydu

A Chrome extension and a local service. English calls and videos in Chrome get live English and Chinese captions, with recognition and translation both running on your own computer.

[GitHub repository](https://github.com/narmi924/NimDaydu)

A public meeting recording plays in a web page, and the floating captions show English first, then Chinese. The picture is a Jitsi Meet screenshot by Sphere231 (CC0) and the audio is from the public AMI meeting corpus

### Why I built it

It started with English voice calls on Discord. I wanted to follow the original speech, glance at Chinese when I missed something, and find a line again after the call.

Chrome’s built-in live captions transcribe locally, but translating them sends the captions to Google. NimDaydu keeps the reviewed English, its Chinese and a searchable transcript on the laptop, with no account and no API key.

The side-by-side comparison with similar tools is in [this section of the README](https://github.com/narmi924/NimDaydu#why-nimdaydu)

### The hard parts

##### Fast enough to follow, accurate enough to trust

**Problem:** A model that writes as it listens is fast and makes more mistakes. An accurate one waits for the speaker to finish. With only one of them the captions are either late or wrong.

**Fix:** Two models share the work. Audio reaches the local service in 80 ms chunks and Moonshine drafts the line as it listens. Behind it, Parakeet cuts the original audio at pauses into regions of at most 5.6 s, listens again with 5 s of earlier and 1 s of later context, and its result becomes the final text. The final line keeps the draft’s id, so the caption is replaced in place and no extra row appears. On 40 LibriSpeech clips the word error rate fell from 4.20% to 2.40%.

##### Chinese that arrives seconds late

**Problem:** Translation used to start only after the English was final, so the Chinese appeared when the speaker was already on the next sentence.

**Fix:** While the translation model is idle, it translates the line that has just been spoken and shows it in lighter text. If the final English matches that line, the Chinese is reused without another model call, and only a changed line is translated again. In a 90-second read-speech clip with 28 caption lines, 20 had an early translation and 19 of those were reused as final.

3local models: Moonshine, Parakeet and Hy-MT2

4.20% → 2.40%word error rate once the review pass is added

0.71 smedian from a complete English line to its final Chinese

![NimDaydu sequence diagram](https://www.imranjan.cn/images/projects/open-source-2026/nimdaydu-sequence.en.png)

One sentence from sound to caption: live English first, an early Chinese translation in lighter text while the model is idle, then the final text after Parakeet’s review

![](https://www.imranjan.cn/images/projects/open-source-2026/cc-reader-icon.png)

## CC Reader

Search and read your Claude Code history on your own machine. Find a conversation from the few words you remember and hand the exact message, with its source, to your next agent.

[GitHub repository](https://github.com/narmi924/cc-reader)

Search for Parakeet, open the original exchange, and paste its reference into a new prompt

### Why I built it

I use Claude Code in the terminal and in VS Code, and my history has grown to about 4.5 GB across 37 projects. Weeks later I often remember a model name, even half a sentence Claude wrote, but not which session it came from.

I used to open my whole .claude directory in VS Code and search the JSONL files, or ask Codex to look. Even with the right word on screen I still had a question: was this an option we had considered, or what we actually decided?

The side-by-side comparison with similar tools is in [this section of the README](https://github.com/narmi924/cc-reader#why-i-built-this)

### The hard parts

##### Searching 4.5 GB quickly

**Problem:** Most of a transcript is tool calls and their output, so searching the files returns mostly tool output. The transcripts also grow every day and cannot be read from the start each time.

**Fix:** A SQLite index holds only what Claude and I said, each message with its byte offset and line number in the original file. Transcripts are only appended to, so each search reads just the new part: if the 128 bytes before the last position still match, reading continues from there. The first index of 4.5 GB takes about 20 seconds and a search takes about 0.1 seconds.

##### Handing over the source with the quote

**Problem:** Finding the sentence is not enough. I need to read the question and the answer together, and the next agent needs to know where to look.

**Fix:** Opening a result goes back to the original transcript by byte offset, pairs the question with the last answer of that turn, and folds the tool calls in between. Each result has a Copy reference button that gives the transcript path, line number, speaker and the message itself, so an agent with file access can go straight to that line.

4.5 GBof transcripts from 37 projects

about 20 sfor the first index

about 0.1 sper search

![CC Reader architecture](https://www.imranjan.cn/images/projects/open-source-2026/cc-reader-architecture.en.png)

Local JSONL transcripts feed a SQLite message index for search. The reader goes back to the original transcript for context and serves the result only to the local browser

## Fixes merged into agent-browser

The web side of Slipwing is built on vercel-labs/agent-browser, and I sent the problems I ran into back upstream. These four are merged. I opened a pull request or described the approach in an issue, the maintainers reworked it into a pull request of their own, and the last three list me as co-author.

##### Restored sign-ins no longer leak tokens across sites

Saved storage used to be written back by page JavaScript, so a page’s own script could see every token, and a redirect wrote one site’s tokens into another. It is now written through Chrome’s DOMStorage domain, only while the page is on the saved origin; an origin that redirects or fails to load is skipped and reported. My earlier #1573 and #1574 addressed the same code.

[#2212](https://github.com/vercel-labs/agent-browser/pull/2212)

##### errors --clear clears

The command returned the captured page errors without clearing them. It now clears the log and says so. Based on my #1654.

[#2253](https://github.com/vercel-labs/agent-browser/pull/2253)

##### A failed HAR export can be retried

A failed export used to drop the captured requests, so a retry saved an empty file. The capture is now kept until an export succeeds. Based on my #1590.

[#2271](https://github.com/vercel-labs/agent-browser/pull/2271)

##### The package installs on Node 22

The published package required Node 24 and pnpm 11, so installing on Node 22 LTS warned and failed under engine-strict. The floor is now Node 22 and the pnpm requirement is gone. The approach came from my comment on #1548.

[#2404](https://github.com/vercel-labs/agent-browser/pull/2404)

## Other pages

- [Home](https://www.imranjan.cn/index.md)
- [About me](https://www.imranjan.cn/about.md)
- [Projects](https://www.imranjan.cn/projects.md)
- [Photography](https://www.imranjan.cn/gallery.md)
- [LCIMS Cloud](https://www.imranjan.cn/projects/p-lcims.md)
- [imranjan.cn](https://www.imranjan.cn/projects/p-portfolio.md)
- [Gatehouse](https://www.imranjan.cn/projects/p-gatehouse.md)
- [PlusOne](https://www.imranjan.cn/projects/p-plusone.md)
- [Gantry](https://www.imranjan.cn/projects/p-gantry.md)
- [BYOF Agent](https://www.imranjan.cn/projects/p-byof-agent.md)
- [Shopping Copilot by KI](https://www.imranjan.cn/projects/p-shopping-copilot.md)
- [Look2Act](https://www.imranjan.cn/projects/p-look2act.md)
- [AccessAudit - On-Chain Access Approval & Audit System](https://www.imranjan.cn/projects/p-accessaudit.md)
- [Eye Touch - Real-time Eye Tracking and Gaze Control System](https://www.imranjan.cn/projects/p-eyetouch.md)
- [China Collegiate Computer Competition—Mobile Application Innovation Contest](https://www.imranjan.cn/projects/p-yigui.md)
- [Nilufar Restaurant Expense Management System](https://www.imranjan.cn/projects/p-nilufar.md)
- [Voice-Interactive LED Light Panel](https://www.imranjan.cn/projects/p-led.md)
- ["Mengsheng Cup" Electronic Design Competition](https://www.imranjan.cn/projects/p-msb.md)
- [NUS SOC SWS 2024](https://www.imranjan.cn/projects/p-nus.md)

中文版本：https://www.imranjan.cn/zh/projects/p-open-source.md
