open-multi-agent-kit
v0.95.1
Published
OMK (Open Multi-Agent Kit) coding agent CLI with read, bash, edit, write tools and session management
Downloads
2,772
Readme
OMK
Provider-neutral terminal coding agent with multi-agent orchestration, scoped tools, replayable sessions, and evidence-backed verification.
OMK supports interactive terminal use, non-interactive output, RPC integration, and an embeddable TypeScript SDK. It works with API-key and subscription providers without making one provider the control plane.
Install
Requires Node.js 22.19 or newer.
npm install -g open-multi-agent-kit --ignore-scripts
omk --version
omkRun without a global install:
npx --ignore-scripts open-multi-agent-kitThe published package name remains open-multi-agent-kit; the command is omk.
Quick Start
Start OMK in a project directory:
cd your-project
omkThen:
- Run
/loginto configure an OAuth subscription or API key. - Run
/modelto choose an available model. - Describe the change and the evidence required for completion.
- Review tool calls, diffs, diagnostics, and test results before accepting the work.
OMK stores user configuration under ~/.omk/agent/ and project configuration under .omk/.
Providers & Models
OMK includes provider adapters for Anthropic, OpenAI Codex, Google, OpenCode, Kimi, Qwen, ZAI/GLM, Grok, and other compatible services. Availability depends on the credentials and endpoints configured on the current machine.
/loginadds or selects credentials./logoutremoves credentials for a selected provider./modellists models available to the current credential set.- The optional status rail shows independent provider quota windows when an official API or passive response signal is available.
- Missing quota values are shown as unavailable rather than estimated.
OAuth credentials are stored locally in ~/.omk/agent/auth.json. Multi-account providers keep accounts separate and send requests only through the explicitly selected account.
See Provider setup for provider-specific authentication, quota behavior, and environment variables.
Kimi For Coding
Configure Kimi through /login or the documented Kimi API-key environment variable. Requests use the fixed provider endpoint selected by the provider adapter.
Hugging Face
Set the documented Hugging Face token and select a compatible model. See the provider guide for current model and endpoint requirements.
Interactive Mode
Type / in the editor to open command completion.
| Command | Description |
| --- | --- |
| /login, /logout | Manage OAuth or API-key credentials |
| /model | Select a model |
| /think | Select a thinking level |
| /settings | Change interactive settings |
| /resume | Open a previous session |
| /new | Start a new session |
| /session | Show session path, messages, tokens, and cost |
| /tree | Navigate the current session tree |
| /compact [prompt] | Compact context, optionally with custom instructions |
| /copy | Copy the last assistant message |
| /export [file] | Export the session |
| /reload | Reload project and user resources |
| /hotkeys | Show keyboard shortcuts |
| /star | Open the OMK GitHub repository |
| /quit | Exit OMK |
See Usage and Keybindings for the complete interactive reference.
Sessions
Sessions are append-only JSONL transcripts stored under ~/.omk/agent/sessions/. OMK can resume, branch, export, and repair sessions without sending the transcript to a separate orchestration service.
Do not publish session files until you have reviewed them for source code, credentials, personal information, and private tool output.
Context Compaction
Automatic and manual compaction reduce older context while retaining recent conversation state. Cancellation restores queued user input without committing a partial summary.
See Compaction.
Configuration
Context Files
OMK discovers project instructions such as AGENTS.md from the current directory and parent directories. Use --no-context-files when a clean session must not load project context.
Prompt Caching
Provider prompt caching follows provider capabilities and configured retention. Cache metadata is local and bounded; provider-side retention remains subject to the provider's policy.
Environment Variables
Credential, network, model, and runtime variables are documented in Environment variables. Prefer the documented fixed provider endpoints for authenticated requests.
CLI Reference
omk [options] [prompt]
omk --helpCommon modes:
omk # interactive TUI
omk -p "summarize changes" # print mode
omk --mode json "task" # structured event stream
omk --rpc # JSONL RPC modeOther Options
Use omk --help for the authoritative option list for the installed version. Avoid copying options from an unreleased branch into automation.
RPC Mode
RPC mode reads JSON commands from standard input and emits JSON events to standard output. Use it when another process owns the UI or lifecycle.
See RPC.
SDK and Extensions
The TypeScript SDK exposes session creation, provider configuration, tools, and event streams. Extensions can add commands, tools, UI components, themes, and resource loaders without patching OMK core.
Security and Privacy
- Tool access is explicit and can be scoped by path or runtime policy.
- Default tests scrub provider credentials; live provider tests require
LIVE_E2E=1. - Subscription quota requests use fixed HTTPS provider origins.
- Passive quota observers do not block model streams.
- Logs and issue reports must not contain API keys, OAuth tokens, cookies, or full private transcripts.
Report vulnerabilities privately through the repository's GitHub security contact rather than a public issue.
Development
git clone https://github.com/dmae97/omk.git
cd omk
npm ci --ignore-scripts
npm run build
npm run check
npm testSee Development and CONTRIBUTING.md.
Release notes: v0.95.1.
License
MIT. See LICENSE.
