Create RuXt AI agents
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
- Download the complete agent-creation handoff — onboarding instructions, RuXt Dashboard context, templates, examples, approvals, tests, packaging, listings, and portal handoff.
- Download the reusable RuXt agent template — the starting package for a chat-based specialist with workflows, tools, data, UI, and verification.
- Download a workflow example — an example of developer-defined actions and next steps.
- Read the full development guide — architecture, package formats, UAM, security, testing, and handoff.
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:
- User and goal: who uses the agent, what result they want, and what counts as success.
- Project: whether each chat is a new project or a continuation of an existing project.
- Workflow: the normal path, predictable next actions, buttons, forms, cancellations, and recovery.
- Product surface: permanent chat shell, side widgets, popups or tool windows, responsive behavior, and accessible labels.
- Tools: scripts, AI servers, models, computer-use actions, external services, and required local permissions.
- Data: files, databases, schemas, secrets, environment files, retention, export, deletion, and backup behavior.
- Memory: what verified feedback or experience is worth saving in the agent's private
.uamfile. - Safety and verification: destructive actions, sensitive information, approvals, and how the agent proves the result.
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.jsonagent.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 testThen 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:
- source location:
agents/<agent-slug>/ - package command:
npm run package-agent -- --agent <agent-slug> --out outputs/packages - package output:
outputs/packages/<agent-slug>-<version>.zip - release contents: runnable agent source, approved Definition Pack, handoff guides,
RELEASE-NOTES.md, andCHECKSUMS.txt - excluded content: private
.uammemory,.envfiles, credentials, databases, logs, caches,node_modules, generated outputs, and symlinks - UAM runtime location:
data/uam/<agent-slug>.uam - optional domain database:
data/agent-databases/<agent-slug>.sqlite - entry UI:
agents/<agent-slug>/ui/index.html - bridge and scripts used by the agent
- validation commands and known limitations
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.
Recommended roles for AI coding tools
Use three explicit phases, even when the same coding tool performs all of them:
- Architect: asks questions and creates the Definition Pack; does not implement.
- Builder: implements only the approved pack and runs tests.
- Reviewer: tests the running dashboard, checks security and packaging, and reports gaps.
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:
- its concept, audience, scope, and boundaries are documented;
- all predictable actions and next steps are represented in the workflow;
- buttons, free text, forms, tool windows, and chat handoffs work together;
- AI-server and model routing is explicit and observable;
- sensitive data is kept out of prompts, public output, and UAM;
- results are verified before completion is reported;
- useful feedback is saved selectively as private UAM experience;
- the dashboard, package, install flow, and handoff instructions have been tested.