README проекта с github.com/iii-hq/iii. Одним файлом markdown: README.md.
More application. Less infrastructure.
Connect any functions, agents, APIs, models, browsers, infrastructure, and machines into one live, composable system.
Website · Docs · Quickstart · Worker registry · Blog · Manifesto
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..
iii organizes software around one primitive, the Function, and two operators:
worker.call(a) runs function a now.worker.observe(a, b) makes function b run when function a runs.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.
| 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. |
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.
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.
| 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 |
| 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 |
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.
engine/ (engine and CLI): Elastic License 2.0All contributions are made under Apache 2.0. See CONTRIBUTING.md for full contribution and licensing details.