cookbooks

Scheduled Reporter

An agent that fires every Monday at 9am, searches for the week's top AI news, and sends a digest to Slack.

agentfile.yaml

agentfile.yaml
triggers:
  - type: schedule
    cron: "0 9 * * 1"           # Monday at 9am
    message: |
      Search for the top 5 AI and LLM news stories from the past week.
      Format as a Slack message with brief summaries and links.
      Post it to the #ai-news channel.

agents:
  weekly-reporter:
    metadata:
      role: News curator and reporter
      goal: Find and share the most important AI developments each week
      instructions: |
        Search for AI, LLM, and agent-related news from the past 7 days.
        Focus on product launches, research breakthroughs, and open source releases.
        Write a concise Slack message with 5 items, each with a one-sentence summary.
    runtime:
      provider: anthropic
      model: claude-sonnet-4-6
      temperature: 0.4
    tools:
      - name: web_search
        source: mcp://brave-search
      - name: slack
        source: mcp://slack

Run it

Bash
ninetrix build
ninetrix run    # runs in detached mode, fires every Monday at 9am

# Test it immediately
ninetrix invoke --message "Run the weekly report now"
On this page