Marketing Agents

Pattern

Marketing agent with skills + readFile

Chat UI wired to a ToolLoopAgent that loads filesystem skills and exposes readFile on the skill sandbox—demo includes ad-creative, copywriting, and paid-ads skill packs for campaign workflows.

IntermediateApr 2026View the full pattern on desktop
Marketing agent with skills + readFile preview

Problems solved

  • Load filesystem skill packs into a ToolLoopAgent
  • Read skill reference docs through a sandboxed readFile tool
  • Run marketing workflows with ad-creative, copywriting, and paid-ads skills
  • Stream the skill-driven agent through an AI Elements chat UI

Use cases

  • Marketing ops copilots
  • Skill-pack-driven campaign agents
  • Sandbox reference lookup from chat
  • Teaching skill + readFile agent wiring

AI SDK APIs

ToolLoopAgentcreateAgentUIStreamResponsegatewaystepCountIs

Tags

aiagentsbash-toolskillsmarketingai-sdk

Requirements

Node.js
24+
Memory
512MB
Other
  • Vercel AI Gateway or Anthropic API access
  • bash-tool runtime

Environment variables

External services

anthropic

Ready to use?

View the full interactive pattern with live preview and copy the source code.

View the pattern on desktop

Related patterns