Plugins
@buildautomaton/plugins is the catalog of open source components agents compose, modify, and customize. The runtime only indexes them. Each plugin owns a service id: stores, sessions, harnesses, tools, or HTTP.
import { createRuntime } from '@buildautomaton/runtime';
import { coreSet } from '@buildautomaton/plugins';
const runtime = await createRuntime({
cwd: process.cwd(),
plugins: coreSet({ options: { cwd: process.cwd() } }),
});
await runtime.start();
coreSet() is the default local bundle: file store, SQLite, five harnesses, disk sessions, minion tools, and HTTP (or stdio / remote). Add more plugins beside it.
Built-in plugins also export from @buildautomaton/plugins/plugins. Cloudflare hosts should import @buildautomaton/plugins/worker. See Worker host.
Catalog
| Area | Plugins |
|---|---|
| Stores | File, SQLite, Cloudflare SQL, R2 |
| Sessions | Disk, SQL, Stream, Memory |
| Agents | Harnesses, Minion tools |
| Transports | HTTP, Fetch, Stdio, Remote |
| Host | App, Worker host |
| Your own | Custom plugins |
A package can ship runtime plugins, UI plugins for @buildautomaton/ui-runtime, or both. Buildautomaton is the dual example.