Keyoku

MCP Tools

Keyoku exposes 31 tools over MCP. Your coding agent calls them directly — you mostly just ask for things in plain language and the agent picks the right tool.

Activity & observation

The trace that everything else is mined from.

ToolDescription
activity_recordRecord an activity event manually (type: manual)
activity_listList recent events from ~/.keyoku/activity.jsonl
observation_listList observations the harness has collected

Patterns & workflows

Mine repeated sequences and turn them into templates.

ToolDescription
workflow_suggestMine the trace for repeated 2–6 step patterns and propose drafts
pattern_listList detected patterns
workflow_listList workflows
workflow_approveSave a draft as a template (slug, name, description, steps)
workflow_template_listList saved workflow templates
workflow_template_deleteDelete a workflow template

Execution

Run templates and resume paused steps.

ToolDescription
workflow_executeRun a template; state persists step-by-step to ~/.keyoku/executions.json
execution_completeResume a paused step with { id, step_index, result } — in-order completion enforced
execution_listShow execution history

Goals

Convergence mode: machine-checkable definitions of done.

ToolDescription
goal_createCreate a goal with criteria (command / http / mcp probes + assertions)
goal_listList goals
goal_getFetch a single goal
goal_updateUpdate a goal
goal_deleteDelete a goal
goal_assessRe-check a goal's criteria and report which pass
goal_recordRecord progress against a goal

Harness

Learning and status for the harness itself.

ToolDescription
harness_learnMine patterns from traces toward goal convergence
harness_statusReport the harness's current status

Connectors

External MCP servers and OpenAPI-backed services.

ToolDescription
connector_addRegister a connector — stdio, HTTP, or synthesized from an OpenAPI spec
connector_listList registered connectors
connector_removeRemove a connector
connector_toolsList the tools a connector exposes
connector_callCall a connector tool, gated by its autonomy level
connector_set_autonomySet a connector's autonomy: observe, suggest, approve, or autonomous

Approvals & audit

The human decision queue and the append-only record.

ToolDescription
approval_listList pending approval requests
approval_approveApprove a queued request
approval_denyDeny a queued request
audit_listRead the append-only audit trail

Related

  • Workflows — step types and execution semantics
  • Connectors — autonomy levels and the approval queue
  • CLI — the command-line counterparts