Rensei docs

Agent Cards

agent cards / run-card.

rensei agent includes two platform-specific extensions for working with AgentCards: agent cards to browse the catalog and agent run-card to dispatch a session using a specific card definition. These commands complement the OSS rensei agent surface (documented at donmai.dev/docs/cli/agent).


Commands

agent cards list

List AgentCards visible to the active project. Cards are shown from all scopes: system, org-global, and project-scoped.

rensei agent cards list [--scope <tier>] [--work-type <type>] [--json]
FlagDescription
--scopeFilter by scope tier: system, org, project, or workflow
--work-typeFilter by workType: research, backlog-writing, development, coordination, qa, acceptance, or other
--jsonEmit the full card catalog as a JSON array
rensei agent cards list
rensei agent cards list --json
rensei agent cards list --scope org
rensei agent cards list --work-type development

Example output:

ID                   NAME                       WORK TYPE     SCOPE    TRUST
card_abc123          TypeScript Backend          development   org      verified
card_def456          Security Reviewer           code-review   org      verified
card_ghi789          Fintech QA                  qa            project  verified
card_jkl012          BFSI Research Assistant     research      project  community
card_mno345          Personal Dev Config         development   project  unverified

agent cards show

Show full detail for a single AgentCard.

rensei agent cards show <id> [--json]

The <id> argument accepts the platform-generated ID (ag_…) or the stable metadata ID (e.g. research-agent).

rensei agent cards show card_ghi789
rensei agent cards show research-agent --json

Scopes from highest to lowest priority in resolution order: user > project > org > system.

JSON output (one element):

{
  "id": "card_ghi789",
  "name": "Fintech QA",
  "scope": "project",
  "projectId": "proj_xyz",
  "version": "0.9.1",
  "workTypes": ["qa"],
  "description": "End-to-end QA agent with Playwright and Jest toolchains",
  "authModes": ["host-session", "metered"],
  "capabilities": ["playwright", "jest", "typescript"],
  "extends": "card_abc123",
  "updatedAt": "2026-05-28T09:30:00Z"
}

agent run-card

Dispatch a new agent session using the definition from a specific AgentCard. The card's system prompt, model profile, tool allowlist, Handlebars partial stack, and capability constraints are applied automatically - you do not need to configure them manually.

rensei agent run-card <card-id> [--inputs key=value ...] [--json]
ArgumentDescription
<card-id>AgentCard ID from agent cards list or marketplace browse
FlagDescription
--inputs key=valueInput key=value pairs forwarded to the agent's input schema. May be repeated.
--jsonEmit JSON dispatch confirmation instead of human-readable output
# Dispatch a card against the active project
rensei agent run-card card_ghi789

# Dispatch with input parameters
rensei agent run-card dev-agent --inputs repo=github.com/acme/web branch=main

# Machine-readable output
rensei agent run-card research-agent --json

After dispatch, the command prints a confirmation and exits. Use rensei agent status <session-id> or the session detail UI to monitor progress.

✓ Dispatched agent "Fintech QA"

  Agent ID:    card_ghi789
  Metadata ID: fintech-qa
  Work type:   qa
  Scope:       project
  Runtimes:    claude-sonnet, playwright

AgentCard scope model

AgentCards follow a 4-scope resolution model. When a card uses extends, the platform merges the parent definition with the child's overrides.

user (personal overrides)
  └── project (project-specific configuration)
        └── org (org defaults and shared configurations)
              └── marketplace (published community cards)

Cards at a narrower scope can override any field from a broader-scope card. The capabilities, authModes, and tool allowlist are merged (union), while systemPrompt, modelProfile, and maxCost are overridden.


Authoring AgentCards

AgentCards are defined in YAML and managed via the platform API or the web UI. Here is a minimal example:

# agent-card.yaml
name: Fintech QA
description: End-to-end QA agent for payment processing APIs
version: 0.9.1
scope: project
workTypes:
  - qa
authModes:
  - host-session
  - metered
extends: card_abc123   # inherits TypeScript Backend base

systemPrompt: |
  You are a QA specialist for a PCI-DSS payment processing service.
  Always test for edge cases in monetary calculations.
  Never write tests that store real card numbers.

modelProfile: claude-sonnet-4-5-thinking
capabilities:
  - playwright
  - jest
  - typescript

toolAllowlist:
  - bash
  - computer
  - edit_file
  - browser

maxCost:
  perSession: 5.00
  currency: USD

For the full AgentCard schema, partial inheritance, and versioning model, see Agent cards overview and Agent card partials.


Difference from rensei agent (OSS)

The base rensei agent command group (list, status, stop, chat, reconnect, run) is inherited from the OSS donmai CLI. The agent cards and agent run-card subcommands are platform-specific additions:

CommandOriginDescription
rensei agent listOSSList running sessions
rensei agent statusOSSGet session status
rensei agent stopOSSStop a running session
rensei agent chatOSSInteractive chat with a session
rensei agent reconnectOSSReconnect to a running session
rensei agent runOSSRun an agent with inline config
rensei agent cards listPlatformList AgentCard catalog
rensei agent cards showPlatformShow full detail for a card
rensei agent run-cardPlatformDispatch using an AgentCard definition

For the OSS command reference, see donmai.dev/docs/cli/agent.


On this page