An operator execution layer for reliable automation systems.
operator-runtime is still in active development.
operator-runtime is the operator layer. It is not a browser runtime.
The operator layer is responsible for:
- receiving a task or goal
- selecting a capability
- passing context and runtime into an engine
- applying capability-level and run-level verification
- returning a result and execution trace
goal: the task description for the runcapability: the bounded task domaincontext: structured execution inputruntime: execution resources and stateengine: the executorverify: deterministic acceptance logictrace: the record of what happened
Mental model:
Operator
↓
Engine
↓
Runtime
↓
Environment
↓
Verification
↓
Result + Trace
Important distinctions:
- capabilities are operator-level task domains
- runtime methods are not capabilities
- context is not prompt text
- runtime holds resources
- engine performs execution
- verification defines deterministic acceptance boundaries
npm install
npm run build:sdk
npm run check
npm run example:sequenceoperator-runtime can also run a real Claude-backed extraction example on top of a Playwright browser runtime.
This is not deterministic automation. It is:
- deterministic operator orchestration
- Claude-backed extraction
- deterministic verification
Run it with:
ANTHROPIC_API_KEY=... ANTHROPIC_MODEL=claude-3-haiku-20240307 npm run example:claude-hnIf you need to point Playwright at a specific local browser:
OPERATOR_RUNTIME_BROWSER_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" ANTHROPIC_API_KEY=... ANTHROPIC_MODEL=claude-3-haiku-20240307 npm run example:claude-hnThe docs content lives in docs/ and the Docusaurus site config lives in website/.
Live docs:
https://operatorstack.github.io/operator-runtime/
Run the docs locally:
npm startThis serves the docs at:
http://127.0.0.1:3001/operator-runtime/
Build the docs site:
npm run docs:buildDeploy the docs with GitHub Pages:
- In GitHub, open
Settings -> Pages. - Set the source to
GitHub Actions. - Push the branch to GitHub and merge it into
main. - The
Deploy docsworkflow will publishwebsite/buildto Pages.
Serve the built docs locally:
npm run docs:serveIf the dev server gets into a bad generated-cache state, reset it with:
npm run docs:clear