OpenMinion
Python-first, local-first runtime for tool-using AI agents.
GitHub · PyPI · Website · Docs · X
OpenMinion is the public preview of a runtime for running inspectable agents on your own machine. One shared runtime spans CLI, Python API, HTTP API, and daemon-backed workflows, with durable sessions, structured tools, and inspectable run state built in. Long-running autonomy, live provider resilience, and memory/context usefulness claims remain proof-gated during the alpha period.
Read This First
- Read At a Glance to confirm the current product boundary.
- Follow Install and Quick Start for one local run.
- Use Runtime Surfaces to choose CLI, Python, HTTP, or daemon-backed operation.
- Read Development before changing the runtime.
- Use the documentation site for the full operator and contributor manual.
Trust and Brand Safety
- Official GitHub: https://github.com/OpenMinion/openminion
- Official website and docs: https://www.openminion.com
- Official X account: https://x.com/OpenMinion
OpenMinion has no official token, coin, NFT, airdrop, staking program, treasury product, or investment offering. Any claim otherwise is unauthorized and should be treated as a scam.
At a Glance
| Package | openminion |
| Current line | Public preview; v0.1.0 is reserved for a later broadly usable milestone |
| Python | 3.11+ |
| Best fit | Bounded local workflows, tool use, integrations, and operator-driven agents |
| Main surfaces | CLI, Python API, local HTTP API, and daemon-backed execution |
| State model | Local sessions, conversations, threads, runs, artifacts, and memory records |
| Not the claim | Finished walk-away autonomy or a managed cloud control plane |
OpenMinion is usable for focused local work today, but it remains under active development. Complex end-to-end prompts and long unsupervised tasks are still improving. Current 2-hour autonomy certification support is validation-only; full 8-hour and 24-hour real elapsed certification pilots still require an approved run window, provider/model access, workspace, and budgets.
Common Commands
openminion config init
openminion setup --list-providers
openminion run "hello"
openminion
openminion tools list
openminion doctor --check-turn --json
# Optional: install "openminion[acp]" before using a local ACP client.
openminion acp
Useful operator surfaces:
openminion agent ls
openminion agent status --agent-id default
openminion agent logs
openminion agent inspect --agent-id default --json
Install
Install the current package as an isolated command-line app:
pipx install openminion
or, with uv:
uv tool install openminion
Installing into an existing Python environment is also supported:
python3.11 -m pip install openminion
For a source checkout:
git clone https://github.com/OpenMinion/openminion.git
cd openminion
python3.11 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .
On Windows PowerShell, activate the same environment with:
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install -e .
For isolated local data during development:
export OPENMINION_HOME="$PWD"
export OPENMINION_DATA_ROOT="$OPENMINION_HOME/.openminion"
Quick Start
For a real model-backed session, start with the bare command:
openminion --version
openminion --dir "$PWD"
Setup asks for a provider, model, and credential. For built-in providers, OpenMinion selects the API adapter automatically. For example, MiniMax remains the provider when it uses an OpenAI-compatible API. Press Enter at the hosted provider check to send one recommended test request before Focus opens; the request may consume a small amount of quota.
An explicit --dir trusts that workspace for the current process. A bare
launch also trusts an ordinary Git worktree; another implicit directory starts
Read only. Launching from your home directory or a filesystem root requires an
explicit --dir PATH. Add another existing directory for the current process
with repeatable --add-dir PATH options:
openminion --dir "$PWD" --add-dir ../shared
Structured file tools remain confined to the workspace, explicitly added
directories, and configured policy roots. Host commands remain disabled when
no sandbox is configured. --allow-unsandboxed-exec is an explicit opt-in:
commands then use the OpenMinion process's OS permissions and are not confined
to workspace roots; command policy and approvals still apply. A native local
sandbox and approval-free command parity are not provided yet.
When setup finishes and the interactive CLI opens, ask: List this workspace using the file tools. The default config is saved at
~/.openminion/agents.json, so the next bare launch reuses it.
For a credential-free product tour, create an explicit echo/demo config:
openminion config init --provider echo
openminion run "hello"
openminion status readiness
Demo mode exercises configuration, storage, sessions, and CLI plumbing, but it
does not call a model or prove provider-backed task quality. Readiness reports
label this state demo, not ready.
Open the interactive CLI:
openminion --dir "$PWD"
Run two configured agents in one Focus room with explicit runtime roots:
runtime_root="$PWD/.openminion-room"
config_path="$HOME/.openminion/agents.json"
room_output="$(openminion \
--home-root "$runtime_root/home" \
--data-root "$runtime_root/data" \
--config "$config_path" \
room create \
--name "Review room" \
--human owner-local \
--agent writer \
--agent reviewer \
--channel console \
--target focus)"
room_id="$(printf '%s\n' "$room_output" | sed -n 's/^room=//p')"
openminion \
--home-root "$runtime_root/home" \
--data-root "$runtime_root/data" \
--config "$config_path" \
--agent writer \
--session "$room_id" \
--dir "$PWD"
Inside Focus, use /participants to inspect the room, /routing broadcast or
/routing sequential to change its mode, and address one agent with
@reviewer. Room mutations require the local owner; participants can post and
observers cannot.
Embed the same runtime from Python:
from openminion import APIRuntime
runtime = APIRuntime.from_config_path(None)
try:
result = runtime.run_turn(
payload={"message": "Say hello in one short sentence."}
)
print(result)
finally:
runtime.close()
See examples/starter/quickstart.py for the
complete runnable example and
docs/getting-started.md for contributor bootstrap.
What OpenMinion Provides
- one orchestration model across CLI, Python, HTTP, and daemon-backed paths
- provider abstraction for local and hosted model backends
- structured tools with model-facing contracts and policy-gated execution
- durable local session, run, artifact, memory-record, and conversation state
- interactive and one-shot local workflows
- diagnostics, status, logs, inspection, and OpenTelemetry-ready traces
- extension surfaces for tools, providers, skills, memory, and integrations
What OpenMinion Does Not Provide
- finished “give it any complex task and walk away” autonomy
- a hosted control plane or managed cloud agent service
- provider-backed certification proof without configured provider credentials and an approved run window
- a black-box prompt wrapper that hides runtime state
- automatic permission to perform unsafe or privileged actions
- any cryptocurrency or investment product
Runtime Surfaces
| Surface | Use it when |
|---|---|
openminion run |
You want one bounded local request |
openminion |
You want an interactive focus session |
APIRuntime and Agent |
You want to embed the runtime in Python |
| Local HTTP API | You want another process to submit turns or tool requests |
openminiond |
You want daemon-backed local execution |
| Operator CLIs | You need focused session, memory, policy, runtime, or artifact control |
The root package exports the supported Python facade: APIRuntime, Agent,
AgentOutputValidationError, AgentRunResult, Handoff, MemoryBundle,
OpenMinionConfig, subagent, tool, and __version__. See
API_COMPATIBILITY.md before depending on deeper
package internals.
Repository Map
src/openminion/
api/ Public Python and HTTP runtime entrypoints
base/ Foundational contracts and shared primitives
cli/ CLI entrypoints and terminal UX
modules/ Feature and subsystem owners
services/ Cross-owner runtime orchestration
tools/ Tool host and tool families
docs/ Package-local public documentation
examples/ Runnable usage examples
scripts/ Validation and operator utilities
tests/ Package and integration proof
For owner-by-owner detail, read
docs/source-tree-owner-map.md.
Development
Before contributing, read CONTRIBUTING.md and CODE_QUALITY.md.
make dev-install
make hooks-install
make lint
Use focused tests while iterating. Run make lint before feature sign-off;
reserve make check for an intentional broader integration sweep.
Docs and Release
docs/README.md: package documentation mapdocs/runtime-surfaces.md: supported runtime and library surfacesdocs/system-operations.md: local operation and diagnosticsdocs/security-scanning.md: bounded local Semgrep and Trivy auditsdocs/testing-and-validation.md: validation inventorydocs/certification-readiness-matrix.md: current proof coverageAPI_COMPATIBILITY.md: public import and command compatibilityRELEASING.md: release checks and publish flow
Model-provider charges, hosted services, and third-party infrastructure are separate from the Apache-2.0 licensed runtime. Review provider terms and costs before enabling paid backends.
License and Brand-use Boundary
- Source code license: Apache-2.0
- Brand/trademark grant: none
The license grants rights to use, modify, and redistribute the code. It does not grant rights to present a fork, clone, token, website, or social account as the official OpenMinion project or imply affiliation or endorsement.
Metadata
Release files for openminion 0.0.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| openminion-0.0.20.tar.gz | 3.3 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openminion-0.0.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 MB
Release files / openminion-0.0.20.tar.gz
| Download URL | openminion-0.0.20.tar.gz |
|---|---|
| Size | 3.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f779dd57ae3fd18f3af81ba48a0f98f07141b4d9070cac4aee56cead87a8c269
|
|
BLAKE2b-256 checksum How to use checksums |
29e0f5e35d54e2bb85edfa35db431cb3009f07a33fb61fc1cc15890052a84018
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency logRelease files / openminion-0.0.20-py3-none-any.whl
| Download URL | openminion-0.0.20-py3-none-any.whl |
|---|---|
| Size | 4.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a305a2a89f7fd4c8e43c1eba3268e435c57ab5c02b5042a0d33ea87e180262e7
|
|
BLAKE2b-256 checksum How to use checksums |
5e1b9dbdd72266c972038889c7be10cf41faf81792307a2df184d1a6ee853eb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency logSecurity for openminion 0.0.20
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for openminion-0.0.20.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.