skip to content
donmai
donmai is in 0.x preview. APIs may change between minor releases. See the changelog.
docs · donmai documentation · rev 2026-07-18github.com/RenseiAI/donmai

Shipped agent tools

The af_linear_* MCP tools and code intelligence tools that ship with donmai and are available to agents out of the box.

donmai does not ship a standalone workflow executor with built-in core.* nodes. The workflow contract layer (ActionDefinition, TriggerDefinition, etc.) is defined in @donmai/core, but concrete node implementations live in the closed platform.

What donmai does ship are in-process MCP tools that agents receive when they run via the Claude provider. These are not workflow nodes - they are typed tool calls the agent can make during a session.

Linear tools (@donmai/plugin-linear)

Provided by @donmai/plugin-linear. Agents call these instead of shelling out to donmai linear.

ToolDescription
af_linear_get_issueGet a Linear issue by ID or identifier
af_linear_create_issueCreate a new Linear issue
af_linear_update_issueUpdate an existing issue (title, description, state, labels)
af_linear_create_commentPost a comment on an issue
af_linear_list_commentsList comments on an issue
af_linear_list_issuesList issues with filters (project, status, label, assignee, etc.)
af_linear_add_relationAdd a relation between two issues
af_linear_list_relationsList relations for an issue
af_linear_remove_relationRemove a relation by ID
af_linear_list_sub_issuesList sub-issues of a parent issue
af_linear_list_sub_issue_statusesGet status of each sub-issue
af_linear_update_sub_issueUpdate a sub-issue's state or post a completion comment
af_linear_check_blockedCheck whether an issue has unresolved blocking relations
af_linear_list_backlog_issuesList backlog issues for a project
af_linear_list_unblocked_backlogList backlog issues with no blocking relations
af_linear_create_blockerCreate a blocker issue linked to a source issue
af_linear_check_deploymentCheck whether a PR has been deployed to production

Code intelligence tools

The six code intelligence tools ship inside the donmai binary. They are available to agents as in-process MCP tools when the binary's embedded code-intel runner is active. No npm package is required.

npm plugin channel retired

The @donmai/* npm plugin channel is deprecated; no publish of @donmai/code-intelligence is planned. The legacy package @renseiai/agentfactory-code-intelligence is also deprecated (historical name; kept here only as migration context). The six code ops ship natively in the binary as donmai code subcommands (get-repo-map, search-symbols, search-code, check-duplicate, find-type-usages, validate-cross-deps).
ToolDescription
af_code_get_repo_mapPageRank-ranked map of the most important files
af_code_search_symbolsFind function/class/type definitions by name
af_code_search_codeBM25 keyword search with code-aware tokenization
af_code_check_duplicateExact and near-duplicate detection before writing code
af_code_find_type_usagesFind all switch/case, mapping objects, and usage sites for a type
af_code_validate_cross_depsCheck cross-package import declarations

Adding tools

Custom tools are added via the ToolPlugin interface. See Authoring a plugin for the full createTools() API and a worked example.

doc docs/workflow-nodes/built-insrev 2026-07-18 · built 2026-07-18T15:34Z