iii README

The project's README from github.com/iii-hq/iii. As one markdown file: README.md.

iii

More application. Less infrastructure.

Connect any functions, agents, APIs, models, browsers, infrastructure, and machines into one live, composable system.

GitHub stars CI Release Contributors License

npm npm downloads PyPI PyPI downloads crates.io docs.rs Go Reference Docker pulls

Discord X

Website · Docs · Quickstart · Worker registry · Blog · Manifesto

Why iii

Every service comes with its own runtime, API, and failure modes. Getting services to work together means endless integration and instrumentation work: error handling, gateways, sync, tracing, and maintenance that never stops.

It's estimated that up to 70% of development time is dedicated to integrations. 40% is the lowest estimate we could find.

iii removes that work with one primitive, the Function. Services, agents, and tools connect to one engine as workers, and everything they can do is a Function that any other worker can call or observe, in any language and on any machine. Workers can then be defined in a Compose file and run on any infrastructure. An entire service stack can be brought up, down, upgraded, or swapped out with ease.

iii is like having an entire app platform at your fingertips without the vendor lock-in. The result is a system that is composable, observable, discoverable, extensible, and reactive. See Built for C.O.D.E.R..

One primitive: the Function

iii organizes software around one primitive, the Function, and two operators:

Workers host functions. Queues, databases, HTTP, streaming, sandboxes, observability, agents, and business logic are all functions. An HTTP request is a call of http::on-request. A database write is a call of database::on-row-changed. A queue message is a call of queue::on-message. To react to any of them, you use the same observe.

import { registerWorker } from 'iii-sdk'

const worker = registerWorker('ws://localhost:49134')

worker.registerFunction('orders::create', async (order: { item: string; total: number }) => {
  return { id: crypto.randomUUID(), ...order }
})

worker.registerFunction('alerts::big-order', async ({ input }: { input: { total: number } }) => {
  console.log(`Big order: ${input.total}`)
})

// When orders::create runs with a total of 500 or more, alerts::big-order runs
const observer = worker.observe(
  { function_id: 'orders::create', filters: { 'input.total': { $gte: 500 } } },
  'alerts::big-order',
)
await observer.ready()

// Run orders::create now and wait for its result
const order = await worker.call({ function_id: 'orders::create', payload: { item: 'widget', total: 750 } })
console.log(order)

The same API is in every SDK. See sdk/README.md.

Built for C.O.D.E.R.

Property What you get
C Composability Functions in different languages and locations work together seamlessly.
O Observability One trace follows every execution step across languages and machines. Export over OTLP.
D Discoverability The engine holds a live registry of every Function. It's always up to date so developers and agents have a clear picture.
E Extensibility Workers can be added and removed at any time with a single command.
R Reactivity Anything can be an observer or observed. Reactivity and events do not need to be pre-planned.

Install

curl -fsSL https://iii.dev/registry/install/iii/latest.sh | sh

On Windows, in PowerShell:

irm https://iii.dev/registry/install/iii/latest.ps1 | iex

The installer asks to set up your first project. Press Enter, then open http://127.0.0.1:3113.

For CI, Docker builds, and scripts, install without the prompt:

curl -fsSL https://iii.dev/registry/install/iii/latest.sh | sh -s -- --non-interactive

The install guide has all installer options.

Quickstart

In one terminal, create and start a project:

iii project init my-app && cd my-app
iii compose --up   # start the engine and the project's workers; keep it running

In a second terminal, add a worker from the registry:

cd my-app
iii call compose::add worker=http

The engine listens on ws://localhost:49134. The console serves at http://127.0.0.1:3113. Continue with the Quickstart.

SDKs

Language Package Install
TypeScript (Node.js) iii-sdk pnpm add iii-sdk
TypeScript (browser) iii-browser-sdk pnpm add iii-browser-sdk
Python iii-sdk pip install iii-sdk
Rust iii-sdk cargo add iii-sdk
Go iii go get github.com/iii-hq/iii/sdk/packages/go/iii

Repository structure

Path Contents
engine/ Rust engine and iii CLI
sdk/ SDKs for TypeScript, Python, Rust, and Go
docs/ Documentation source for iii.dev/docs (Mintlify)
website/ Source for iii.dev
skills/ Agent skills for coding agents
tech-specs/ Technical specifications

Contributing

Contributions are welcome. Read CONTRIBUTING.md for setup, commands, and the contribution license terms.

pnpm install && pnpm build   # JS/TS packages
cargo build --release        # engine and Rust SDK
pnpm test && cargo test      # tests

Report bugs and request features in GitHub issues.

Community

License

All contributions are made under Apache 2.0. See CONTRIBUTING.md for full contribution and licensing details.

iii (iii-hq/iii)

engine
Searching Database…

19K ·GitHub
What is this?iii is a real-time engine for your backend stack: queues, cron, HTTP, state, observability, agents, and sandboxes are collapsed into one live system surface where every service is composable and observable.
So is it a library I import, or something I run?It is a Rust engine you run. Your services connect as workers through SDKs, register with the engine, and immediately join a live catalog that every other worker can see and call.
How do I get it running?Install the iii CLI, declare your project workers in worker-compose.yaml, and start the whole stack with: iii compose --up. Ready-made workers can be browsed at workers.iii.dev.
Which languages can I write workers in?Official SDKs exist for Node.js (iii-sdk via npm/pnpm, requires Node >= 20), Python (pip install iii-sdk), Rust (add to Cargo.toml), and Go (go get github.com/iii-hq/iii).
Who works with it day to day?Platform teams publish workers, application teams register functions and declare triggers, and AI agents use the same catalog and the same function calls — one surface for all three.
Is it fully open source?Not entirely. The engine runtime is Elastic License 2.0 (source-available with restrictions), while all SDKs, the CLI, the console, docs, and the website are Apache 2.0.
What is the core mental model?Three primitives: Worker, Function, Trigger. Workers register functions with stable ids like content::classify, and triggers are declarative — a direct call, HTTP endpoint, cron schedule, queue subscription, state change, or stream event — with iii handling routing, serialization, and delivery.
How do AI agents fit in?Agents use the same catalog as developers: when a task needs a capability the system lacks, an agent can add a worker, discover its functions, call them, and trace what happened. Agent-readable skill docs install with npx skills add iii-hq/iii.
Can services be added while everything is running?Yes — Compose can add workers at runtime, so agents and applications can extend the live system without a restart. Workers can also be declared up front in worker-compose.yaml.
How do I see what the system is doing?The bundled iii-console lets developers and operators inspect workers, functions, triggers, queues, traces, logs, and real-time state. It is a React + Rust app that ships in this repo.
Creator
iii-hq
Size
611.2 MB
Stars
19K
Age
1y
Commits · 90 Days