Skip to content

Custom Agents

Pre-built templates cover common use cases. But the real power of Moe’s is building agents tailored to your specific workflows.

Write a SOUL.md that describes what the agent does, how it communicates, and what its output looks like. Be specific.

# SOUL.md - Invoice Processing Agent
You process incoming invoices. You extract key fields
(vendor, amount, due date, line items), validate against
purchase orders, and flag discrepancies for review.
## Output Format
- Vendor: [name]
- Invoice #: [number]
- Amount: [total]
- Due: [date]
- PO Match: Yes/No
- Discrepancies: [list or "none"]

Install skills from the Moe’s skill registry or write your own:

Terminal window
# Install a community skill
clawhub install pdf-reader --workdir /path/to/agent/workspace
# Or create your own
mkdir skills/invoice-parser
# Write SKILL.md with instructions

Decide what tools the agent needs access to:

  • web_search / web_fetch — for research tasks
  • exec — for running commands (git, scripts, CLI tools)
  • read / write / edit — for file operations
  • browser — for visual verification and screenshots
  • gog — for Gmail, Calendar, Drive access

Choose a model based on the complexity of the task:

Task ComplexityModelMonthly Cost (est.)
Simple routing, checksGemini Flash$5-15
Research, writingClaude Sonnet$20-50
Complex coding, analysisClaude Opus$50-200

Add the agent to your gateway config, bind it to a Telegram bot, and send it a test task.

One powerful custom setup is a coding agent that builds and deploys web apps on demand.

User: "Build a task tracker with due dates and priorities"
Coding Agent (Claude Opus)
→ scaffolds Next.js app
→ implements features
→ commits to user's repo
QA Agent (Gemini Flash)
→ runs build
→ checks for errors
→ takes screenshots
Deploy Agent
→ pushes to Vercel / Cloudflare Pages
→ sets up subdomain (user.moes.ai/apps/tasks)
User: "Your app is live at user.moes.ai/apps/tasks"

Managed by Moe’s:

  • We host the repo, run the builds, manage the deployments
  • Apps deploy to username.moes.ai/apps/app-name
  • Simpler for users, more infrastructure cost for us
  • Requires larger VM instances (builds need RAM)

User-managed:

  • User connects their own GitHub and Vercel accounts
  • Agent pushes to their repo, Vercel auto-deploys
  • User has full control over code and hosting
  • Lower cost for us, more setup for the user

Hybrid:

  • Start with managed hosting for quick demos
  • Migrate to user-managed when they’re ready for production
  • Agent helps with the migration
  • Coding agent needs a beefier VM (4GB+ RAM for builds)
  • GitHub access (deploy key or user’s own account)
  • Deployment platform access (Vercel API token or CLI)
  • QA agent for verification before going live

This is an advanced feature. Start with simpler agents and add coding capabilities as your team gets comfortable with A2A workflows.