corbie

module
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: Apache-2.0

README

Read the manual


Composable machines

Mix predictable workflows with dynamic agents.


A machine is YAML and scripts

The YAML says what runs.

# title.yaml
flow: fetch-title
input: [url]

stages:
  get_title:
    job:
      script: ./fetch-title.js
      input: { url: "${input.url}" }
      allow: [net:example.com]

output: ${stages.get_title.output}

The script does the work, in JavaScript.

// fetch-title.js
const http = require("http");
const html = require("html");

const page = http.get(input.url);
const doc = html.parse(page.body);
const titleElement = doc.find("title");

return {
  url: input.url,
  title: titleElement ? titleElement.text : "No title found"
};

An AI can write it for you

Connect your assistant once.

claude mcp add corbie -- corbie mcp --allow test

Then ask for what you want "using Corbie". It reads the manual, writes the machine and runs it.


Scripts are fenced in

A script reaches only what its machine allows. Anything else is refused, with the line that would allow it.

client/20261012T210153.624Z-d2729e69f1  failed (denied)  flow fetch-title  step 2
  refused: net:example.com:443
  by: the job "get_title" in the definition of "fetch-title"
  fix: add the line net:example.com:443 to the allow list of the job "get_title" in the definition of "fetch-title"

Where it runs

Corbie needs no server and no database. The same machine runs on one computer, on several, or as AWS Lambda functions.


Getting Corbie

Corbie is one file.

curl -Lo corbie https://github.com/zummed/corbie/releases/latest/download/corbie-linux-amd64
chmod +x corbie
mv corbie ~/.local/bin/

Other builds are on the latest release.

The manual is at zummed.github.io/corbie. corbie manual web serves the same pages on your computer.


License

Copyright 2026 Paul Young. Licensed under the Apache License, Version 2.0: see LICENSE and NOTICE.

Contributions submitted to this repository are accepted under the same license (section 5 of the Apache License).

Corbie was written with Claude Code, designed and directed by Paul Young.

Directories

Path Synopsis
Package agent is the machine whose tools a model picks: the model is asked what to do, the tools it picks are run, the results go back to it, and this repeats until it answers without asking for a tool.
Package agent is the machine whose tools a model picks: the model is asked what to do, the tools it picks are run, the results go back to it, and this repeats until it answers without asking for a tool.
Package blob is the values too large to sit inside the entry that mentions them: where they live, how they are protected, and how a reference stands in for one.
Package blob is the values too large to sit inside the entry that mentions them: where they live, how they are protected, and how a reference stands in for one.
Package client starts runs and reads what happened to them.
Package client starts runs and reads what happened to them.
cli
Package cli is Corbie's command line.
Package cli is Corbie's command line.
gateway
Package gateway is the client package over HTTP: a route for each thing the package sends and each thing it reads, and streams for what can be followed.
Package gateway is the client package over HTTP: a route for each thing the package sends and each thing it reads, and streams for what can be followed.
cmd
corbie command
Command corbie is the one binary: what a process does is set by the roles it is started with.
Command corbie is the one binary: what a process does is set by the roles it is started with.
Package controller advances machines.
Package controller advances machines.
Package flow is the machine whose stages run once each, in an order that follows from the data they pass.
Package flow is the machine whose stages run once each, in an order that follows from the data they pass.
Package identity is who the parties are: their keys and cards, how two parties come to trust each other, and how they sign and seal what they write.
Package identity is who the parties are: their keys and cards, how two parties come to trust each other, and how they sign and seal what they write.
Package instance is the two things an instance is in the store: its head, which says where it stands, and its record, which is everything that happened to it; and the messages and receipts that pass between a client and the controller about it.
Package instance is the two things an instance is in the store: its head, which says where it stands, and its record, which is everything that happened to it; and the messages and receipts that pass between a client and the controller about it.
Package machine is what every machine type shares: the definition, values filled in from input, the events a machine receives, the requests it makes, and the contract a type keeps with the controller.
Package machine is what every machine type shares: the definition, values filled in from input, the events a machine receives, the requests it makes, and the contract a type keeps with the controller.
Package manual is the documentation the binary carries: pages of plain text with examples, for a person and for a model that has been asked to write definitions and scripts.
Package manual is the documentation the binary carries: pages of plain text with examples, for a person and for a model that has been asked to write definitions and scripts.
Package permission is how what a job may do is written, layered and checked.
Package permission is how what a job may do is written, layered and checked.
Package plugin is the modules a script calls, the one shape they all have, and the few ways out they all go through.
Package plugin is the modules a script calls, the one shape they all have, and the few ways out they all go through.
blobs
Package blobs is the plugin that makes and reads blobs.
Package blobs is the plugin that makes and reads blobs.
bundled
Package bundled is every plugin that comes with Corbie.
Package bundled is every plugin that comes with Corbie.
compress
Package compress is the plugin for packing and unpacking: gzip, and archives of files.
Package compress is the plugin for packing and unpacking: gzip, and archives of files.
crypto
Package crypto is the plugin for hashes, keyed hashes, random bytes, signing and checking, encryption, and writing bytes as text.
Package crypto is the plugin for hashes, keyed hashes, random bytes, signing and checking, encryption, and writing bytes as text.
env
Package env is the plugin that gives a script the runner's variables.
Package env is the plugin that gives a script the runner's variables.
exec
Package exec is the plugin for starting a program and getting what it printed.
Package exec is the plugin for starting a program and getting what it printed.
fs
Package fs is the plugin for files and directories.
Package fs is the plugin for files and directories.
html
Package html is the plugin for reading a page as a tree.
Package html is the plugin for reading a page as a tree.
http
Package http is the plugin for web requests.
Package http is the plugin for web requests.
llm
Package llm is the plugin that calls a model.
Package llm is the plugin that calls a model.
llm/claudecode
Package claudecode is the model service that is a program: it starts Claude Code on the runner's machine and has it write one reply.
Package claudecode is the model service that is a program: it starts Claude Code on the runner's machine and has it write one reply.
llm/standin
Package standin is a model service for tests: it speaks Anthropic's Messages API, streams each reply as server-sent events, and keeps every call it is sent.
Package standin is a model service for tests: it speaks Anthropic's Messages API, streams each reply as server-sent events, and keeps every call it is sent.
machines
Package machines is the plugin that defines a machine while a job runs.
Package machines is the plugin that defines a machine while a job runs.
mcp
Package mcp is the plugin for an MCP server: its tools, and calls to them, over the web or from a program it starts.
Package mcp is the plugin for an MCP server: its tools, and calls to them, over the web or from a program it starts.
mcp/standin
Package standin is an MCP server for tests: a server of notes, which speaks MCP 2026-07-28 or only an earlier version, over a program's standard streams or over the web.
Package standin is an MCP server for tests: a server of notes, which speaks MCP 2026-07-28 or only an earlier version, over a program's standard streams or over the web.
net
Package net is the plugin for a raw connection, plain or encrypted.
Package net is the plugin for a raw connection, plain or encrypted.
secrets
Package secrets is the plugin that gives a script handles to secrets.
Package secrets is the plugin that gives a script handles to secrets.
ssh
Package ssh is the plugin for running a command on another machine.
Package ssh is the plugin for running a command on another machine.
websocket
Package websocket is the plugin for a connection that carries messages both ways, kept alive while the script works.
Package websocket is the plugin for a connection that carries messages both ways, kept alive while the script works.
xml
Package xml is the plugin for reading a document as a tree, and writing a tree as a document.
Package xml is the plugin for reading a document as a tree, and writing a tree as a document.
Package role is how a controller or a runner goes about its work, wherever it is hosted: in passes.
Package role is how a controller or a runner goes about its work, wherever it is hosted: in passes.
Package runner does the work.
Package runner does the work.
Package secret is how a secret is kept, bound to a destination, handed to a script and kept out of what comes back.
Package secret is how a secret is kept, bound to a destination, handed to a script and kept out of what comes back.
Package statechart is the machine that is always in some state and moves between states when events arrive.
Package statechart is the machine that is always in some state and moves between states when events arrive.
Package store is the one place Corbie keeps anything: values with names, three ways of writing one, and the directory, bucket and memory stores.
Package store is the one place Corbie keeps anything: values with names, three ways of writing one, and the directory, bucket and memory stores.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL