Skip to content
This-Is-NPCPublic

About

A highly configurable, event-driven harness

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

omunculus

Omunculus is a local harness that orchestrates tool-using language models. A project is one omunculus.toml and one SQLite store: you send a message, a run opens, the model calls tools inside a Bubblewrap sandbox until it ends, every step is recorded as an event, and the store applies what those tools emit — works handed down to other agents, questions to you, grants. It runs from the command line, or behind an optional HTTP server that the console, the chat, the mailbox and the studio apps open on.

There are no pictures of it working yet; the screens say why and walk every screen in words.

Install

On Arch Linux (x86_64), from the latest release:

curl -fsSL https://raw.githubusercontent.com/This-Is-NPC/omunculus/master/install.sh | bash
omunculus setup

You get:

  • the omunculus package: the server, the command line, the builtin tools and the system pack, with a systemd user service;
  • the omunculus-apps package: the console, the chat, the mailbox and the studio, with a launcher each (APPS=0 skips it);
  • no domain packs: you import the ones you want.

Update with omunculus update; remove with sudo pacman -R omunculus omunculus-apps, which keeps your configuration and projects. How to install, update and remove omunculus has the steps.

Start here

How to start a project takes an empty folder to a first message answered, without a network. The map of the documentation lists every page by the question it answers.

Four presets come with it: default (a concierge, a worker and a reviewer, with the system team), codex-like, pi-like and standard (a concierge, a coordinator and an investigator, an implementer and a reviewer; only the implementer writes, and the concierge must tell you what a work produced before it closes the work). omunculus preset <name> applies one.

To use a project from a window, open omunculus-chat: your projects in a sidebar by what they need, and a chat with each (the chat). A project opens on its primary chat; another chat is an explicit switch or a new one. The header shows what the project's agents ask each other only when EXCHANGES is on, and TREE, FILES and COST cover every conversation you may read, not only the chat on screen. The standard preset is the one that matches it; how to talk to a project from the chat app takes it to a first message.

The big ideas

A project is a file and a store. All configuration is the TOML: agents, models, logins, workflows, workspaces, ceilings. Nothing in the store is configuration, and nothing the file holds has a default in code. The TOML.

A send is a cycle of runs. A message opens a run; what the run's tools emit asks for more runs, which open concurrently up to [execution] max_concurrent; a command returns when every run it opened has finished. The cycle.

Conversations remember. Older events fold into immutable summaries that a run whose session starts over gets under ## Conversation summaries; an agent searches them with history_search, expands a range with zoom, and asks for more with nap. Memory entries are separate, and recall reads only those. Memory.

Agents hand work down. Agents sit at depths. One at depth 0 talks with you and hands works to the agents below it, or through the stages of a workflow; a work that breaks goes back up. Possibilities.

A ceiling decides what a run may call. Each layer — policy, workspace, depth, stage, agent — narrows the tools a run has; what is left out is blocked, or asked for through a request. The ceiling.

Questions are requests. An agent asks a question, or for a permission, through a request to whoever gave it its work or to an account the TOML names; the answer resumes it. Requests.

Everything else is a tool. Searching, filtering, assembling the prompt and answering requests are tools, folders with a manifest, replaceable by name. Tools.

Teams come as packs. A pack is a folder of agents, workflows, tools and workspace files, imported at a depth on your models. Packs.

The apps are clients of the server. The server serves each project on a local socket, and on TCP with signed tokens, under a versioned /v1 contract that the apps and any other client share. Read marks are per principal on the server, and a client may read a project's works, artifacts, runs, requests and usage in one call. The server, clients.

The interface

The command line is omunculus <command> [--key value]; every command is in the command line.

The console, the window on the server's projects, takes these keys everywhere; each screen's own are in the screens:

Keys What they do
1 · 2 · … the page of that number
Ctrl+Tab · Ctrl+Shift+Tab the next or the previous page
Ctrl+P the projects
Esc let go of what the page holds, then back
? · F1 every key, by where it works

What it does not do

  • It hosts no model: it calls a provider's API, a program or an Elixir module (the compatible providers).
  • The server has no chat page of its own; the apps and other clients are its interface.
  • It does not protect you from your own tools and hooks: it guarantees the workflow sequence, the ceiling per stage and the store rules.
  • It installs neither Bubblewrap nor the runtimes commands use.
  • It does not migrate a store made by an older schema: it refuses to open it, and the store must be made again.

Known limitations

  • Linux only, with Bubblewrap: commands run in its namespaces.
  • A root in [execution] runtimes exposes every binary it holds; it is no per-binary allowlist (the TOML).
  • A project's socket path must fit in 107 bytes, or the server does not start (how to run the server).
  • A provider's rate limits and limits on requests in flight bound how many runs can call it at once.

What is broken

One defect is known; what does not work says what to do meanwhile: the console does not show an agent's reply as it arrives.

Contributors start at the design.

Requirements

  • Linux, with Bubblewrap 0.8 or newer (bwrap) able to create user, mount, PID, IPC, UTS and network namespaces, and flock.
  • mise, which installs the pinned Elixir 1.17, OTP 27 and Deno 2.9.
  • git, only with [store] changes, which records the files each model call changed.
  • For the apps: Quickshell, curl with WebSocket support and a Wayland session.

License

Omunculus is available under the MIT License.

About

A highly configurable, event-driven harness

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages