RuXt DocsAgent packages · UAM
Documentation / Agent development / Create RuXt AI agents

Create RuXt AI agents

← Back to the main guide

A short, practical workflow for turning an agent concept into an approved, tested RuXt package with AI coding tools.

Use this short guide when you have an agent idea and want Codex, Cursor, or another AI coding tool to turn it into a reviewable RuXt agent.

For the governing rule and a complete example, read the RuXt Agent Development Guide first. This page is the short execution checklist.

Downloads

The process in one line

Concept → discovery → Definition Pack → human approval → implementation → dashboard testing → package and handoff.

The coding tool must design the agent before it writes implementation code. You approve the behavior, workflow, UI, tools, data, permissions, and tests before the agent is added to agents/.

1. Open the project

Extract the handoff ZIP, then open the full RuXt-Dashboard folder in your AI coding tool. Keep the handoff folder under agent-developer/handbooks/ so it can be used as project guidance.

The handoff folder alone is documentation and templates. The full RuXt-Dashboard project is required to run the dashboard, connect AI servers, test tools, and install an agent.

2. Start a new agent-design chat

Create a new chat named Create agent — <agent name>. Give the coding tool this first instruction:

Read START-HERE.md and AGENTS.md before doing anything else.

We are starting a new RuXt agent creation project.
Do not write implementation code and do not modify agents/ yet.

Ask me exactly:
“What is your agent concept?”

After I answer, ask discovery questions one group at a time. Then create
a Definition Pack under agent-developer/exports/<agent-slug>/ and wait for
human approval before implementation.

You then describe the idea in plain language. Do not begin with a large technical prompt; the architect phase should discover the real user journey first.

3. Answer discovery questions

The AI coding tool should clarify these groups in order:

4. Review the Definition Pack

The architect should create a reviewable pack before implementation:

agent-developer/exports/<agent-slug>/
├── agent.md
├── discovery.md
├── approved-spec.md
├── workflow.rwxb
├── manifest.json
├── approval.json
├── test-plan.json
└── listing.json

agent.md is short and stable: identity, scope, voice, boundaries, and verification rules. discovery.md records the questions and answers that shaped the concept; approved-spec.md is the human-readable product specification. workflow.rwxb contains developer-authored actions, buttons, forms, prompts, resources, tool windows, state transitions, and allowed next steps. listing.json supplies the catalog metadata used by member and team portals. The UI must not invent workflow behavior that is missing from the workflow file.

The Definition Pack is the approval source of truth. The installed agent may add UI, scripts, schemas, assets, and tools, but the installed workflow.rwxb must stay aligned with the approved pack.

5. Approve before building

You review the Definition Pack as a product specification. Check the user journey, every button, the free-text behavior, sensitive forms, permission boundaries, AI-server routing, error states, output verification, and memory rules.

Approve by setting approval.json to the project's approved state. Without explicit approval, the Builder phase must not modify agents/.

6. Build the agent

After approval, send:

The Definition Pack is approved. Build the agent now.

Use templates/ruxt-agent/ as the reusable structure. Implement only the
approved Definition Pack. Keep agent.md short and put detailed workflow
behavior in workflow.rwxb. Do not create or distribute a user's .uam file.

After implementation, run the required validation and report every changed
file, test result, remaining limitation, and dashboard URL.

The agent normally lives at agents/<agent-slug>/ and may contain its UI, scripts, data schema, tool windows, and developer-owned starter project. RuXt creates the user's private data/uam/<agent-slug>.uam at runtime; it is not part of the download package.

7. Test through RuXt

From the RuXt-Dashboard project root:

./scripts/activate-project.sh
npm run validate-agent-template
npm run test:handoff
npm run test:image-fit
npm test

Then open http://localhost:1234 and test the actual agent. Check new chat, project continuity, free-text requests, workflow buttons, tool-window handoff to chat, AI-server/model selection, live status, task cancellation, error recovery, output verification, and UAM feedback.

Do not call a task complete only because a script ran. The dashboard must show the result and the result must be verified.

8. Package and hand off

The reviewer should record:

The public catalog metadata lives at agents/<agent-slug>/listing.json. After review, upload the ZIP and its matching listing.json to the RuXt member or team portal. The portal generates its catalog entry from the listing; deployment endpoints and credentials are deployment-specific and must never be embedded in the agent package.

Never distribute private UAM files, credentials, deployment secrets, personal files, or local session tokens.

Use three explicit phases, even when the same coding tool performs all of them:

This keeps the agent from becoming a single undocumented prompt and gives you a clear approval point before code and side effects are introduced.

Definition of done

An agent is ready when:

← View the complete development guide