What problem does it solve?
Building AI agents inside a modular business application requires consistent typing, authorization, approval flows, and attachment handling; this Skill guides the creation of safe, scoped AI agents and tools that follow the Open Mercato framework conventions.
Core Features & Use Cases
- Typed Module Agents and Tools: Create
ai-agents.ts and ai-tools.ts definitions with Zod-validated inputs, ACL scoping, loop budgets, and approval-gated mutations via prepareMutation.
- Orchestrator and Subagent Workflows: Define file-oriented agents with bounded outcomes, embedded skills, delegated subagents, and resumable error states.
- Attachments, Artifacts, and Overrides: Handle authorized file uploads, encrypted artifact storage, cleanup policies, and agent extensions or overrides.
- Use Case: A developer needs an AI assistant that scores customer records and drafts follow-up emails; the Skill walks through declaring the agent, gating its mutations behind user approval, and registering it for discovery.
Quick Start
Ask the assistant to create a new AI agent for a module, for example: create an AI agent that summarizes customer records with an approval step before saving notes.