Directories
ยถ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ok
command
Command ok is a config- and plugin-driven coding agent CLI.
|
Command ok is a config- and plugin-driven coding agent CLI. |
|
ok-dingtalk-bot
command
ok-dingtalk-bot โ bridges DingTalk (้้) to an OK Agent via the imbot framework.
|
ok-dingtalk-bot โ bridges DingTalk (้้) to an OK Agent via the imbot framework. |
|
ok-discord-bot
command
ok-discord-bot โ Discord bot via imbot framework.
|
ok-discord-bot โ Discord bot via imbot framework. |
|
ok-feishu-bot
command
ok-feishu-bot โ Feishu (Lark) bot via imbot framework.
|
ok-feishu-bot โ Feishu (Lark) bot via imbot framework. |
|
ok-installer
command
Command ok-installer is the Windows one-click installer for OK Universal Agent.
|
Command ok-installer is the Windows one-click installer for OK Universal Agent. |
|
ok-plugin-example
command
Command ok-plugin-example is a reference OK plugin: a minimal MCP stdio server speaking newline-delimited JSON-RPC 2.0 on stdin/stdout.
|
Command ok-plugin-example is a reference OK plugin: a minimal MCP stdio server speaking newline-delimited JSON-RPC 2.0 on stdin/stdout. |
|
ok-slack-bot
command
ok-slack-bot โ bridges Slack to an OK Agent via the imbot framework.
|
ok-slack-bot โ bridges Slack to an OK Agent via the imbot framework. |
|
ok-telegram-bot
command
ok-telegram-bot โ bridges Telegram to an OK Agent via the imbot framework.
|
ok-telegram-bot โ bridges Telegram to an OK Agent via the imbot framework. |
|
ok-verify
command
|
|
|
ok-wechat-bot
command
ok-wechat-bot โ Enterprise WeChat bot via imbot framework.
|
ok-wechat-bot โ Enterprise WeChat bot via imbot framework. |
|
ok-whatsapp-bot
command
ok-whatsapp-bot โ bridges WhatsApp Cloud API to an OK Agent via imbot framework.
|
ok-whatsapp-bot โ bridges WhatsApp Cloud API to an OK Agent via imbot framework. |
|
internal
|
|
|
acp
Package acp implements the Agent Communication Protocol โ a WebSocket-based protocol that lets any client interact with an OK agent.
|
Package acp implements the Agent Communication Protocol โ a WebSocket-based protocol that lets any client interact with an OK agent. |
|
agent
Package agent implements the LLM agent run-loop.
|
Package agent implements the LLM agent run-loop. |
|
agent/computeruse
Package agent provides the ComputerUse orchestrator โ a screenshotโanalyzeโactโverify loop that lets the agent control the desktop GUI.
|
Package agent provides the ComputerUse orchestrator โ a screenshotโanalyzeโactโverify loop that lets the agent control the desktop GUI. |
|
atomizer
Package atomizer provides deterministic helpers for extracting structured content from LLM output.
|
Package atomizer provides deterministic helpers for extracting structured content from LLM output. |
|
bench/swebench
Package swebench was removed โ unused.
|
Package swebench was removed โ unused. |
|
billing
Package billing queries a provider's wallet balance for the status line.
|
Package billing queries a provider's wallet balance for the status line. |
|
boot
Package boot initializes and assembles all components of the OK agent: config, providers, tools, plugins, permissions, hooks, memory, semantic search, and the controller.
|
Package boot initializes and assembles all components of the OK agent: config, providers, tools, plugins, permissions, hooks, memory, semantic search, and the controller. |
|
bridge
Package bridge defines the agent-to-agent protocol that allows OK instances to discover each other and share tasks.
|
Package bridge defines the agent-to-agent protocol that allows OK instances to discover each other and share tasks. |
|
brief
Package brief generates a concise project overview (OK-BRIEF.md) that gives the AI agent immediate context at session start.
|
Package brief generates a concise project overview (OK-BRIEF.md) that gives the AI agent immediate context at session start. |
|
browser
Package browser โ multi-backend browser automation engine.
|
Package browser โ multi-backend browser automation engine. |
|
bus
Package bus is a lightweight publish-subscribe message bus.
|
Package bus is a lightweight publish-subscribe message bus. |
|
cli
Package cli implements ok's command-line entry: subcommand routing, flag parsing, assembly from config, and exit codes.
|
Package cli implements ok's command-line entry: subcommand routing, flag parsing, assembly from config, and exit codes. |
|
codegraph
Package codegraph integrates the CodeGraph code-intelligence engine (https://github.com/colbymchenry/codegraph) as a built-in MCP server.
|
Package codegraph integrates the CodeGraph code-intelligence engine (https://github.com/colbymchenry/codegraph) as a built-in MCP server. |
|
command
Package command loads custom slash commands from Markdown files.
|
Package command loads custom slash commands from Markdown files. |
|
config
Package config โ provider auto-discovery from environment.
|
Package config โ provider auto-discovery from environment. |
|
context7
Package context7 integrates the Context7 MCP server (https://github.com/upstash/context7) as an auto-discovered built-in plugin.
|
Package context7 integrates the Context7 MCP server (https://github.com/upstash/context7) as an auto-discovered built-in plugin. |
|
control
Package control is the transport-agnostic session driver.
|
Package control is the transport-agnostic session driver. |
|
core
Package core defines DST-Lite's core types: ProofChain (a tamper-evident hash chain).
|
Package core defines DST-Lite's core types: ProofChain (a tamper-evident hash chain). |
|
diff
Package diff computes a line-level diff between two versions of a file and renders it as a unified diff, with added/removed line counts.
|
Package diff computes a line-level diff between two versions of a file and renders it as a unified diff, with added/removed line counts. |
|
dstsetup
Package dstsetup wires compile/test regression checks into an Agent.
|
Package dstsetup wires compile/test regression checks into an Agent. |
|
dstvalid
Package dstvalid implements synchronous compile/test regression hooks.
|
Package dstvalid implements synchronous compile/test regression hooks. |
|
enterprise
Package enterprise provides enterprise-grade features for OK: SSO, RBAC, audit exports, session persistence, air-gap mode, and metrics.
|
Package enterprise provides enterprise-grade features for OK: SSO, RBAC, audit exports, session persistence, air-gap mode, and metrics. |
|
env
Package env provides environment awareness for both humans (ok doctor) and the AI agent (system-prompt injection).
|
Package env provides environment awareness for both humans (ok doctor) and the AI agent (system-prompt injection). |
|
event
Package event defines the typed event stream the agent emits as it runs a turn, and the Sink it emits to.
|
Package event defines the typed event stream the agent emits as it runs a turn, and the Sink it emits to. |
|
eventpipe
Package eventpipe implements a Reasonix-inspired event-sourcing pipeline: discriminated-union typed events โ pure-function reducer projections โ composable sink middleware chain โ JSONL event log.
|
Package eventpipe implements a Reasonix-inspired event-sourcing pipeline: discriminated-union typed events โ pure-function reducer projections โ composable sink middleware chain โ JSONL event log. |
|
evolution
Package evolution โ Gap 4: Evolution Control Protocol (ECP).
|
Package evolution โ Gap 4: Evolution Control Protocol (ECP). |
|
fetch
Package fetch was removed โ unused.
|
Package fetch was removed โ unused. |
|
frontmatter
Package frontmatter parses YAML-like frontmatter ("---" ...
|
Package frontmatter parses YAML-like frontmatter ("---" ... |
|
hook
Package hook runs user-configured shell-command hooks around the agent loop: PreToolUse / PostToolUse fire around each tool call, UserPromptSubmit before a turn, Stop after it.
|
Package hook runs user-configured shell-command hooks around the agent loop: PreToolUse / PostToolUse fire around each tool call, UserPromptSubmit before a turn, Stop after it. |
|
i18n
Package i18n holds the CLI's translatable strings and a small detection helper.
|
Package i18n holds the CLI's translatable strings and a small detection helper. |
|
imbot
Package imbot provides a shared IM bot framework for connecting messaging platforms (Telegram, ไผไธๅพฎไฟก, ้ฃไนฆ, Discord, etc.) to an OK Agent via ACP.
|
Package imbot provides a shared IM bot framework for connecting messaging platforms (Telegram, ไผไธๅพฎไฟก, ้ฃไนฆ, Discord, etc.) to an OK Agent via ACP. |
|
jobs
Package jobs is the session-scoped background-job registry behind the agent's background tools (bash run_in_background, task run_in_background) and the bash_output / kill_shell / wait tools.
|
Package jobs is the session-scoped background-job registry behind the agent's background tools (bash run_in_background, task run_in_background) and the bash_output / kill_shell / wait tools. |
|
kernel
Package kernel โ civilization primitives.
|
Package kernel โ civilization primitives. |
|
kernel/adapter
Package adapter provides concrete implementations of the kernel interfaces.
|
Package adapter provides concrete implementations of the kernel interfaces. |
|
log
Package log is a thin wrapper around log/slog that writes structured logs to stderr.
|
Package log is a thin wrapper around log/slog that writes structured logs to stderr. |
|
mcpserver
Package mcpserver exposes OK's tool registry as an MCP server over stdio.
|
Package mcpserver exposes OK's tool registry as an MCP server over stdio. |
|
memory
Package memory implements OK's persistent memory.
|
Package memory implements OK's persistent memory. |
|
metrics
Package metrics is a zero-dependency, lock-free performance counter registry embedded in the agent.
|
Package metrics is a zero-dependency, lock-free performance counter registry embedded in the agent. |
|
permission
Package permission implements a three-layer authorization model:
|
Package permission implements a three-layer authorization model: |
|
plugin
Package plugin is OK's MCP client.
|
Package plugin is OK's MCP client. |
|
plugin/registry
Package reg provides the v4 multi-registry plugin manager.
|
Package reg provides the v4 multi-registry plugin manager. |
|
provider
Package provider defines the model-backend abstraction and a registry mapping a provider "kind" to a factory.
|
Package provider defines the model-backend abstraction and a registry mapping a provider "kind" to a factory. |
|
provider/anthropic
Package anthropic implements the Anthropic Claude Messages API provider.
|
Package anthropic implements the Anthropic Claude Messages API provider. |
|
provider/ollama
Package ollama registers a local-model provider that speaks the Ollama OpenAI-compatible API (http://localhost:11434/v1).
|
Package ollama registers a local-model provider that speaks the Ollama OpenAI-compatible API (http://localhost:11434/v1). |
|
provider/openai
Package openai implements the OpenAI-compatible /chat/completions provider.
|
Package openai implements the OpenAI-compatible /chat/completions provider. |
|
safeclose
Package safeclose provides a helper to safely close resources with error logging.
|
Package safeclose provides a helper to safely close resources with error logging. |
|
sandbox
Package sandbox provides OS-level sandboxing for agent-executed commands.
|
Package sandbox provides OS-level sandboxing for agent-executed commands. |
|
semantic
Package semantic provides local semantic code search using Ollama embeddings.
|
Package semantic provides local semantic code search using Ollama embeddings. |
|
serve
Package serve exposes a control.Controller over HTTP: the typed event stream as Server-Sent Events, and the commands as small JSON POST endpoints.
|
Package serve exposes a control.Controller over HTTP: the typed event stream as Server-Sent Events, and the commands as small JSON POST endpoints. |
|
skill
Package skill loads invokable playbooks ("skills") from Markdown files.
|
Package skill loads invokable playbooks ("skills") from Markdown files. |
|
slashcmd
Package slashcmd is the slash-command dispatcher โ extracted from control.Controller to keep the turn loop lean.
|
Package slashcmd is the slash-command dispatcher โ extracted from control.Controller to keep the turn loop lean. |
|
tool
Package tool defines the Tool abstraction and a Registry.
|
Package tool defines the Tool abstraction and a Registry. |
|
tool/builtin
Package builtin provides the built-in tools for the OK agent.
|
Package builtin provides the built-in tools for the OK agent. |
|
verification
Package verification provides analyzers for the ok-verify vet tool.
|
Package verification provides analyzers for the ok-verify vet tool. |
|
verification/v2
Package v2 โ world-class static analysis platform.
|
Package v2 โ world-class static analysis platform. |
|
voice
Package voice provides speech-to-text and text-to-speech engines.
|
Package voice provides speech-to-text and text-to-speech engines. |
|
winhide
Package winhide provides a cross-platform helper to hide console windows when spawning external commands.
|
Package winhide provides a cross-platform helper to hide console windows when spawning external commands. |
|
plugins
|
|
|
ok-ai-vision
command
@ok/ai-vision โ MCP plugin: Image and video analysis.
|
@ok/ai-vision โ MCP plugin: Image and video analysis. |
|
ok-browser
command
@ok/browser โ MCP plugin: Headless Chrome browser control via DevTools Protocol.
|
@ok/browser โ MCP plugin: Headless Chrome browser control via DevTools Protocol. |
|
ok-computer-use
command
@ok/computer-use โ MCP plugin: Visual desktop automation.
|
@ok/computer-use โ MCP plugin: Visual desktop automation. |
|
ok-database
command
@ok/database โ MCP plugin: SQLite/PostgreSQL/MySQL via CLI.
|
@ok/database โ MCP plugin: SQLite/PostgreSQL/MySQL via CLI. |
|
ok-debug
command
@ok/debug โ MCP plugin: Delve (dlv) Go debugger.
|
@ok/debug โ MCP plugin: Delve (dlv) Go debugger. |
|
ok-deploy
command
@ok/deploy โ MCP plugin: SSH-based deployment.
|
@ok/deploy โ MCP plugin: SSH-based deployment. |
|
ok-desktop
command
@ok/desktop โ MCP plugin: Desktop automation via OS commands (Windows).
|
@ok/desktop โ MCP plugin: Desktop automation via OS commands (Windows). |
|
ok-digest
command
@ok/digest โ MCP plugin: Hashing, encoding, format conversion.
|
@ok/digest โ MCP plugin: Hashing, encoding, format conversion. |
|
ok-git
command
@ok/git โ MCP plugin: Git operations as tools.
|
@ok/git โ MCP plugin: Git operations as tools. |
|
ok-ocr
command
@ok/ocr โ MCP plugin: OCR via Tesseract or LLM fallback.
|
@ok/ocr โ MCP plugin: OCR via Tesseract or LLM fallback. |
|
ok-repo
command
@ok/repo โ MCP plugin: Multi-repository management.
|
@ok/repo โ MCP plugin: Multi-repository management. |
|
ok-search
command
@ok/search โ MCP plugin: Code search across the codebase.
|
@ok/search โ MCP plugin: Code search across the codebase. |
|
ok-translate
command
@ok/translate โ MCP plugin: AI translation via LLM API.
|
@ok/translate โ MCP plugin: AI translation via LLM API. |
|
ok-utils
command
@ok/utils โ MCP plugin: all small utility tools in one binary
|
@ok/utils โ MCP plugin: all small utility tools in one binary |
|
ok-voice
command
@ok/voice โ MCP plugin: Speech and audio interaction via OS commands.
|
@ok/voice โ MCP plugin: Speech and audio interaction via OS commands. |
|
ok-wake-word
command
@ok/wake-word โ MCP plugin: Wake word detection.
|
@ok/wake-word โ MCP plugin: Wake word detection. |
|
ok-web-fetch
command
@ok/web-fetch โ MCP plugin: Fetch URLs and return text content.
|
@ok/web-fetch โ MCP plugin: Fetch URLs and return text content. |
|
ok-workflow
command
@ok/workflow โ MCP plugin: DAG-based multi-step workflow execution.
|
@ok/workflow โ MCP plugin: DAG-based multi-step workflow execution. |
|
registry-server
command
OK v4 Plugin Registry Server Serves plugin metadata for `plugins.ok.sh` and private registries.
|
OK v4 Plugin Registry Server Serves plugin metadata for `plugins.ok.sh` and private registries. |
|
Package verification was the External Auditor โ a dual-channel verification system.
|
Package verification was the External Auditor โ a dual-channel verification system. |
Click to show internal directories.
Click to hide internal directories.