Gweyn Research

The control layer between people and machine intelligence.

We build what people need to live with AI: agents that run on their own machines, the means to control them, and the tools to put them to work.

Research programme Releases

14
open-source projects, 5 with tagged releases
1,719
unit tests on harness, and 183 end-to-end checks, on macOS, Linux and Windows
12 to 160 ms
trigrep searching the Linux kernel, against ripgrep's 1.4 s
8 MB
harness, the whole agent, as one program

AI is arriving in every machine. Who it answers to is still open. We build so the answer is the person who owns it.

Research programme

Each line is a question and what we have built so far to answer it.

released a tagged build source in the repository, built from source

Machine operation

Any computer a person can use, an agent should be able to use.

Most software has no API. We give agents a terminal they can read, a desktop with no monitor, sight that waits for a change instead of streaming screenshots, and hearing.

Delegated authority

An agent's power should be exactly what its owner granted, and checkable afterwards.

Every action through one gate and into one log. Keys the agent uses and never sees. Approval as one tap, and limits on how much and how often.

Local intelligence

Your agent should run on the devices you already own.

We start from hardware already on the market, before designing any of our own. Control stays on the device, and the thinking happens on the nearest machine you trust: this one, another you own, one your household shares, and only then a hosted model.

The physical world

Locks, valves, cars and money, within limits a person set.

Tools that name each device and what may be done to it, ask a person before anything that can't be undone, and read the result back.

Presence

An agent you live with has a face and a voice.

A live 3D head fitted to one photo in a few seconds, on the device, with the 52 standard expression shapes. The photo never leaves the machine.

Model verification

Is the model you are served the model you were promised?

Checks of a served model through its API: whether the interface does what it accepts, and whether its token probabilities match a reference.

Retrieval

Search that answers in milliseconds changes what an agent bothers to look up.

On the Linux kernel, trigrep answers in 12 to 160 ms against ripgrep's 1.4 s, and still sees every edit. harness ranks what it remembers by how often and how recently you bring it up.

Releases

ProjectVersionDateWhat it is
harness0.4.1A personal agent: desktop app, Telegram, one gate and one log
trigrep0.4.0Indexed code search with ripgrep's flags and output
headterm0.4.0A terminal an agent can use
headdesk0.1.0A desktop with no monitor, for agents on Linux
headsight0.2.0Waits for the screen, a window or the camera to change

Nine more projects are in the repository and build from source. Everything is MIT licensed and written in Zig.

What we are building next

Five problems we have not solved yet. None of this is released.

Gweyn Harness

The programme in one product: a personal agent that runs on your own computer. A desktop app for macOS, Windows and Linux, with the same conversations in Telegram.

  1. you, 21:40

    What does tomorrow hold?

  2. Alfie, 21:40

    Dentist at 9:30; leave by 9:05. A parcel from the bookshop arrives before noon. The boiler's service is due this week: shall I book Friday at 10:00?

The desk app's layout, with examples: pick one and answer it. The head is the one every portrait is fitted onto.

What it does

Research
Reads the web, pages behind your logins and your files, and hands parts of a job to helpers that work in parallel.
The day
A morning brief on the topics you follow, today's events, when to leave, a note before a meeting, and an evening line on what tomorrow holds.
The home
With Home Assistant and a car on Smartcar: routines that ask with one tap before a lock or a valve, away mode, the doorbell, and alerts that go on to your household when you don't answer.
Errands
Shopping lists, an order proposed from a shop you set up and bought only when you tap, parcels, and reminders for the boiler's service and the car's insurance.
Standing work
Scheduled tasks, triggers on feeds, pages, folders and MCP servers, and workflows that wait for a time, an event or your approval.
Memory
Remembers what you bring up, keeps summaries by day, week and month, and can search every earlier turn. Quiet hours hold what isn't urgent for a digest.
Household
People you add can ask it too, in their own chat or a group, within what you allow.
Other agents
Uses MCP servers and saved skills, and is an MCP server itself for agents such as Claude Code and Hermes.

One gate, one log

Every action the agent takes, and every action of its helpers, passes one gate and is written to one log you can check. Money tools ask every time.

  • Where it runsOne program, about 8 MB, on your machine. The desk's pages are served on 127.0.0.1 only.
  • ModelsYour own key for Anthropic, OpenAI, OpenRouter or OpenCode Zen, any gateway in their formats, or a local server such as Ollama.
  • KeysKept in the macOS Keychain, the Windows Credential Manager, or a file only you can read.
  • What it isThe agent and each helper are files you can read and change.

Your messages, and what is read to answer them, are sent to the model provider you choose. Voice notes are sent to the transcription provider you set.

Telegram desk triggers agent gate tools action log shell, files, fetch, browse, search MCP servers delegate helpers models memory skills
How a request moves through harness. What helpers do passes the same gate.

The avatar

A live 3D head: a portrait projected onto a rigged head with the 52 standard expression shapes, so it blinks, looks about, breathes, nods and moves its mouth with the voice.

Give the desk a photo and it fits the head in its own window in a few seconds. The photo stays in your data folder.

Personalities

How it talks, its name and its portrait are a file. Three come with it, and you can write your own.

  • AlfieButler, default
  • PlainBrief, the result first
  • FriendCasual and warm

Install

macOS 12 and later, Apple Silicon and Intel. Open the zip and move the app to Applications; it sets harness up on its first start.

Download for macOS

Signed ad hoc, not notarized: on first run, System Settings › Privacy & Security › Open Anyway.

Every file has a .sha256 beside it on the release page.

State of 0.4.1

Early. 1,719 unit tests and an end-to-end script of 183 checks run on macOS, Linux and Windows, against stand-ins for Telegram, the model providers, Home Assistant, Smartcar, mail and calendar. It has had one day's use with a real model, and has not yet run against a real Telegram bot, home, car, shop or mail server.

The README says what is and isn't tested