Local-first agent framework with brain, memory, A2A, MCP, and skills
Project description
OpenMinion
Local-first runtime for tool-using AI agents.
GitHub · Website · Docs · Quick Start · Focus Shell · X
openminion is the v0.0.1 initial public alpha release of a Python-first, local-first
runtime for tool-using agents.
One shared runtime spans CLI work, Python embedding, HTTP API turns, daemon-backed workflows, tools, sessions, and local integrations, so the system stays inspectable instead of disappearing behind wrappers.
Trust and Brand Safety
- Official GitHub:
https://github.com/openminion - Official website:
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
- Current public package line:
v0.0.1alpha - Best fit today: bounded local workflows, operator-driven runs, tool use on your own machine, and contributors who want a runtime they can inspect
- Main surfaces: CLI, Python API, HTTP API, daemon-backed workflows, tools, providers, sessions, and diagnostics
- Not the claim: OpenMinion is still under active development and should not yet be treated as a finished "give it a complex task and walk away" autonomy system
What OpenMinion provides
openminion currently provides:
- Runtime core: one local runtime with explicit brain, memory, tool, channel, and service ownership boundaries
- User surfaces: focus shell, CLI commands, runtime admin, diagnostics, export, and session-aware operator workflows
- Extension surfaces: package-owned tool hosting, plugin loading, MCP integration, and skill loading
- Integration surfaces: Python/library imports, structured API/runtime entrypoints, configuration profiles, and external service adapters
- Contributor surfaces: examples, scripts, tests, compatibility policy, and repo-local docs for people who want to extend the stack
What OpenMinion does not provide yet
OpenMinion is already useful for bounded local work, but it does not yet claim to be:
- a finished "give it any complex task and walk away" autonomy system
- a hosted control plane or managed cloud service
- a black-box agent wrapper that hides runtime state from the operator
- a token, coin, NFT, airdrop, or investment product of any kind
Quick start
If you only want one successful local run, start here:
export OPENMINION_HOME=.
export OPENMINION_DATA_ROOT="$OPENMINION_HOME/.openminion"
python3.11 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e .
python -m openminion config init
python -m openminion run "hello"
python -m openminion tools list
python -m openminion doctor --check-turn --json
If you want the interactive surface next, launch the default focus shell:
python -m openminion
Contributor setup
- Before making code changes, read CONTRIBUTING.md and CODE_QUALITY.md.
- Keep changes focused, include validation results, and avoid unrelated refactors in the same PR.
- Use Python 3.11+ and a recent
pipwith PEP 660 editable-install support.
Local tooling baseline:
make dev-install
make hooks-install
make lint
Core commands:
make fixmake formatmake lintmake testmake checkmake hooks-run
Validation guidance:
- use task-scoped pytest or integration commands plus repo-wide
ruff check .for normal slice work, - use
make lintbefore feature sign-off, - treat
make checkas an optional broad integration sweep, not the default per-task closeout command during multi-agent work, - see the package-local testing and validation docs for the public validator inventory and which guards are blocking vs advisory.
Temporary artifact rule:
- broad cleanup file lists, ledgers, scan outputs, and scratch JSON/TSV/TXT artifacts belong in the repository scratch area rather than in package source or docs roots,
- durable evidence belongs in maintained project documentation or tracked validation artifacts rather than in package source or package docs roots.
Package layout
src/openminion/
api/ # public API/runtime entrypoints
base/ # foundational contracts and shared primitives
cli/ # CLI entrypoints and interactive UX
modules/ # feature and subsystem owners
services/ # cross-owner runtime orchestration
tools/ # tool runtime host + tool families
docs/
README.md
standalone-claim-alignment.md
certification-readiness-matrix.md
runtime-surfaces.md
examples/
scripts/
tests/
API_COMPATIBILITY.md
RELEASING.md
Tool package note:
src/openminion/tools/now contains both runtime host files and module-like per-tool folders.- Each per-tool folder maps to a previously standalone
openminion-tool-*package. - Canonical tool imports are
openminion.tools.<tool_folder>.
Docs and release
docs/README.mdis the package-local docs entrypoint.docs/certification-readiness-matrix.mdis the current package-local proof snapshot for the0.0.1alpha line.docs/runtime-surfaces.mdmaps the supported CLI, runtime, and Python-library surfaces.API_COMPATIBILITY.mdrecords the supported public import roots and compatibility posture.RELEASING.mdrecords the package-local release checks and publish flow.docs/source-tree-owner-map.mdexplains the source-tree layout for contributors who need to go deeper than the public facade.
Focus shell
The default openminion invocation is the recommended interactive surface:
openminion(no subcommand) on a TTY launches the terminal-flow focus shell — output flows into your terminal's primary buffer (scrollback works likegit log).cat prompt.md | openminionruns a single one-shot turn against stdin and exits.openminion focus --richopens the Textual full-TUI shell (alt-screen, overlays, in-app dashboard side-trip) instead of terminal-flow.- Each agent turn renders with a
⏺marker, a verb-rotating thinking spinner, colored●tool-call markers, and syntax-highlighted code blocks (monokai theme). --plain-spinner(orOPENMINION_FOCUS_PLAIN_SPINNER=1/NO_COLOR=1) drops the verb rotation but keeps the elapsed counter andesc to interrupthint.- Tool blocks longer than 6 lines are truncated to keep the scrollback readable;
/expandre-prints the most recent one in full,/expand 2picks the second-most-recent,/expand 0lists all truncated blocks. - Tool-block verbosity has three levels:
--verbosity quiethides tool blocks (an end-of-turn(N tool calls hidden …)summary still shows the activity, withM failedif any non-zero exits);--verbosity normalis the default (6-line cap +/expand);--verbosity verboseshows full tool bodies up to a 200-line hard cap. Same effect viaOPENMINION_FOCUS_VERBOSITY=quiet|normal|verbose. Live overrides via/quiet,/verbose,/normalslash commands. Failed tool calls show✗ (exit N)in red after the title. Persistent preferences: create<DATA_ROOT>/focus_prefs.toml(typically~/.openminion/focus_prefs.toml) with flat keysverbosity = "quiet"and/orprogress = "off"to set per-user defaults without re-typing slashes or exporting env vars. Precedence: CLI flag → env → preferences file → default. - Edit and Write tool calls render with inline unified-diff coloring (
+lines green,-lines red,@@hunk headers cyan,---/+++file headers bold). The same FTV verbosity ladder applies —quiethides;normaltruncates to 6 lines +/expand;verboseshows up to 200 lines;/expandalways shows the full diff. Detection is conservative: when the body isn't recognizable as a unified diff, the generic tool-block render fires instead. - Live tool-execution narration: while a tool is running, a yellow
●marker prints aRunning Bash(ls -la)narration line; on completion, the final tool block (with output, exit code, and FDR diff coloring for Edit/Write) prints immediately below — no double-render across the live and post-turn paths. Quiet mode suppresses the narration but still counts the call toward the end-of-turn(N tool calls hidden …)summary. - Slash commands available in focus terminal-flow:
/clear,/compact,/cost,/dashboard,/exit,/expand,/help,/init,/mcp,/model,/new,/normal,/quiet,/quit,/readonly,/resume,/sessions,/status,/tools,/verbose. Prefix!runs a shell escape. FPC v2 additions:/initbootstraps anOPENMINION.mdproject memory file (also detectsAGENTS.md/CLAUDE.md);/compactsummarizes older turns to reclaim context (real backend viaSessionContextService);/model <provider>or/model <provider>/<model>switches the active model for the session (restart reverts);/mcplists configured MCP servers + health + tool counts;/readonly on|off|toggleflags the session as read-only (write-tool blocking enforcement is FPC-11b). Pasting an image-file path into the composer auto-converts to[image: <path>]. Custom slash commands can be added as Markdown files in.openminion/commands/*.md(project) or<DATA_ROOT>/commands/*.md(user-global) with$ARGUMENTS/$1..$N/@file/!cmd`` interpolation.
Legacy chat surface
openminion chat is in maintenance mode and soft-deprecated as of
2026-05-10:
openminion chat is the legacy interactive REPL surface. It predates the
focus shell and continues to work for users who depend on it, but it is no
longer the recommended interactive surface. Use openminion (focus
terminal-flow) for new work. The repository chat CLI charter records the full
maintenance-mode declaration, migration path, and removal criteria. A one-line
dim deprecation notice prints on chat launch; suppress it for scripted
invocations with OPENMINION_CHAT_NO_DEPRECATION=1.
Chat-only behavior preserved during the notice period:
chatshows a waiting spinner by default; disable withchat --no-progress.- Suppress INFO logs for cleaner chat UI:
chat --quiet. - Interactive chat prompt and assistant lines are color-coded in TTY, with
[session|agent]context. - Prompt format is
[session|agent] you>. chatautomatically retries transient turn failures once before showing a final error.- Provider/API turn failures are non-fatal in
chat; the REPL stays open and prints[chat] turn failed: .... - Slash commands:
/,/help,/status,/clear,/agent,/session,/tools,/artifacts,/debug,/exit.
Cross-surface UX flags
These apply uniformly to focus, gateway, run, and agent surfaces:
--verbosity {quiet,normal,verbose}— tool-block fidelity.quiethides tool blocks (focus shows an end-of-turn(N tool calls hidden …)summary; gateway/run/agent simply omit them);normalis the default (6-line cap +/expand);verboseshows full tool bodies up to a 200-line cap.--progress {full,minimal,off}— in-flight chrome.fullis the default on TTY (spinner + elapsed + interrupt hint);minimalkeeps the elapsed counter but drops the verb rotation;offsuppresses all chrome.- Auto-detect: when stdin OR stdout is piped (e.g.
cat prompt | openminionoropenminion run "..." | tee out.txt),--progressdefaults tooffautomatically so captured output stays clean. Pass--progress fullto override. - Env:
OPENMINION_VERBOSITY=quiet|normal|verboseandOPENMINION_PROGRESS=full|minimal|offset defaults persistently. - Legacy aliases still work:
--no-progress→--progress off;--plain-spinner→--progress minimal;OPENMINION_FOCUS_VERBOSITYandOPENMINION_FOCUS_PLAIN_SPINNERstill resolve (with deprecation warnings). NO_COLOR=1honors the universal convention by mapping to--progress minimal.- The Textual
--richshell does NOT yet honor the verbosity ladder (deferred to a follow-on round); use the default terminal-flow shell to get the full UX. openminion chatis in maintenance mode and does NOT honor the unified--verbosity/--progressflags. It keeps its own existing--no-progress/--quietflags during the soft-deprecation notice period. The repository chat CLI charter records the current policy.
Shared logging conventions
gateway run --quietsuppresses INFO logs for cleaner output.- Override log level without editing config:
OPENMINION_LOG_LEVEL=WARNING. - Keep logs visually secondary in TTY (dim logs); force with
OPENMINION_LOG_COLOR=1, disable withOPENMINION_LOG_COLOR=0orNO_COLOR=1. - Disable chat colors with
NO_COLOR=1orOPENMINION_COLOR=0; force withOPENMINION_COLOR=1.
Chat vs gateway loop
gateway runis a runtime/operator path with explicit channel/target/once/idempotency controls.- Use
openminion(focus shell) for conversational UX; usegateway runfor operational testing and deterministic runtime controls. - For any UI integration or plugin, use gateway ingress (
/v1/turn*orGatewayService.run_once) rather than direct agent-service calls. The repository UI gateway contract documents that boundary. openminion chatremains supported during the soft-deprecation notice period for users who depend on its specific affordances; new users should pick focus or gateway instead.
Costs and warranty
OpenMinion is provided on an "as is" basis, without warranties or guarantees of
performance, reliability, availability, fitness for a particular purpose, or
cost outcomes. To the extent allowed by law, the project and contributors are
not liable for damages, losses, outages, billing costs, or other consequences
arising from use or malfunction of the software. See LICENSE for the full
legal terms and limitations.
OpenMinion can be configured to call third-party providers that may charge usage fees. You are solely responsible for any provider, API, cloud, infrastructure, or similar charges incurred through your configuration or use of the software.
Configuration and deeper docs
The package supports multiple runtime backends, profile-based configuration, built-in tools, plugins, skills, storage, and HTTP/runtime integration. Those details are intentionally kept out of the front page so this README stays a generic public entrypoint.
Use these docs when you want to go deeper:
docs/getting-started.md— package bootstrap and contributor flowdocs/testing-and-validation.md— smoke checks and release-facing validation commandsdocs/runtime-surfaces.md— CLI, runtime, and library surface mapdocs/source-tree-owner-map.md— source layout guide for contributorsexamples/README.md— runnable examples and starter templatesAPI_COMPATIBILITY.md— public import and compatibility postureRELEASING.md— package release checklist
License and brand-use boundary
- Source code license:
Apache-2.0 - Brand/trademark grant:
none
The software license grants rights to use, modify, and redistribute the code. It does not grant rights to use the OpenMinion name, logos, branding, website identity, or social identity except for truthful attribution. Forks, clones, and derivative distributions must not present themselves as the official OpenMinion project or imply affiliation, endorsement, or maintenance by OpenMinion contributors unless that is actually true.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openminion-0.0.1.tar.gz.
File metadata
- Download URL: openminion-0.0.1.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f44765cb2896f799389d0ace542e5e2cee992737fb3c376e5d113ffb41b6acba
|
|
| MD5 |
200328ba28a7745dec317903ccc38b2b
|
|
| BLAKE2b-256 |
49719e0f928066f99a401b648003a8e580fd2e7ab6cf8dd80d2202a886e0e3cc
|
File details
Details for the file openminion-0.0.1-py3-none-any.whl.
File metadata
- Download URL: openminion-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da07bee6a5efeb3cd24b8ee1740e1ddc1b5147a8451760d35b54497548ba558e
|
|
| MD5 |
61e0139703d47582264d91be004f4c2b
|
|
| BLAKE2b-256 |
8dc4848617e2546210ec2d6f9345a8969e0ec47ea197ea230e340daf49f969b2
|