Workflow Reference

55+ automated workflows that make your agent smarter every day.

On this page

The Three Tiers

AIBrain workflows are organized into three tiers that work together as a system:

Tier 1 Utility Workflows — RSS feeds, weather, GitHub digests, uptime monitoring, expense tracking. Useful table-stakes automation that makes AIBrain feel alive on day one.

Tier 2 Agent Improvement — These run silently in the background and make everything better over time. Skill sharpening, correction learning, memory hygiene, self-model refresh, principle validation, task retrospectives, and session continuity.

Tier 3 Personal Intelligence — The features that are impossible without persistent memory. Decision journals, contradiction detection, burnout detection, idea incubation, weekly wins, and deadline prediction. These are the "how did it know that?" moments.

Tier 2 powers Tier 3. The Contradiction Detector can only find contradictions if Memory Hygiene keeps the brain clean, Correction Learner captures your feedback, and User Model tracks your preferences. Without the background work, the intelligence features fail.

Quick Start

# Enable the recommended starter set
$ aibrain workflows enable --recommended

# Sync to your OS scheduler
$ aibrain workflows sync

# Preview what would be created (optional)
$ aibrain workflows sync --dry-run

The recommended set enables 7 agent improvement workflows, 5 personal intelligence workflows, and 2 utility workflows (daily planner + weekly review).

Productivity

WorkflowScheduleDescription
daily_planner7am dailyTask plan from calendar, emails, priorities
habit_tracker9pm dailyEvening habit check-in and streak tracking
file_declutterWeeklyClean up Downloads and Desktop
calendar_managerHourlyCalendar sync and management
bookmark_organizerWeeklyOrganize and categorize bookmarks
email_to_taskOn triggerConvert emails to actionable tasks
meeting_notesOn triggerCapture and summarize meeting notes
smart_file_organizerWeeklyIntelligent file organization by type/project

Research & Intelligence

WorkflowScheduleDescription
arxiv_trackerDailyTrack new papers matching your interests
rss_digestDailySummarize articles from RSS feeds
daily_researchDailyResearch summaries from multiple sources
price_watcherHourlyCrypto/stock price alerts on significant moves
security_advisoriesDailyCISA KEV, NVD, GitHub advisory monitoring
newsletter_digestDailyEmail newsletter aggregation
social_listenerDailyBrand/topic monitoring from social media
weather_briefingDailyWeather briefing for your location

Communication

WorkflowScheduleDescription
email_triage2x dailyCheck all accounts, categorize messages
email_auto_replyOn triggerDraft and send replies
telegram_checkEvery 10mTelegram message monitoring
morning_check_email_summarize7amMorning email summary
report_generatorOn demandGenerate reports on any topic

Developer & DevOps

WorkflowScheduleDescription
github_digestDailySummarize GitHub activity across repos
git_monitorEvery 4hWatch for repo changes
uptime_monitorEvery 30mService availability monitoring
dependency_auditorWeeklyAudit dependencies for CVEs
service_monitorEvery 2hMonitor service health
heartbeatEvery 30mSystem health check (disk, memory, services)

Self-Learning

These are the Tier 2 and Tier 3 workflows that make AIBrain fundamentally different. They run in the background and compound over time.

WorkflowScheduleDescription
correction_learnerEvery 4hConvert your feedback into permanent skill principles
memory_hygieneWeeklyDeduplicate, decay stale data, keep the brain fast
self_model_refreshWeeklyRebuild the agent's understanding of its own strengths
principle_validatorWeeklyTest stored principles against actual outcomes
memory_consolidationWeeklyMerge redundant memories into principles
contradiction_detectorWeeklyFind and resolve conflicting memories
learning_extractorEvery 4hExtract learnings from recent experiences
evolution_experiment2x/weekRun self-improvement experiments
evolution_auto_loopEvery 12hFull cycle: insights, hypotheses, experiments
knowledge_graph_builderEvery 6hBuild entity/relationship graph from memories
cross_domain_questionsWeeklyFind connections across different domains
risk_analystDaily 8pmRetrospective risk scan of recent actions

System

WorkflowScheduleDescription
db_backup2x dailyDatabase backup to timestamped copy
weekly_reportFriday 6pmFull weekly review
cron_healthDailyMonitor workflow execution health
session_continuityEvery 2hVerify key memories survived compaction
WorkflowScheduleDescription
job_search_applyWeekdaysAutomated job search and application
interview_prepOn demandInterview preparation with STAR stories
job_response_checkerDailyMonitor responses to applications

Start with these 5

  1. correction_learner — the single most important workflow. Every correction becomes a permanent improvement.
  2. memory_hygiene — keeps the brain fast and clean as it grows.
  3. self_model_refresh — the agent knows what it's good at and where it struggles.
  4. decision_journal — start tracking decisions now. In 3 months you'll have judgment quality data.
  5. weekly_wins — surfaces accomplishments you already forgot about.

After 2 weeks, add

After 1 month, add

Scheduling & Cron

Workflows run on your OS scheduler. No daemon, no Docker, no always-running process.

# Create native scheduled tasks from enabled workflows
$ aibrain workflows sync

# Preview changes without applying
$ aibrain workflows sync --dry-run

This creates:

You can also define schedules manually in scheduled_jobs.json:

{
  "weather_briefing": {
    "enabled": true,
    "cron": "30 6 * * *",
    "script": "workflows/weather_briefing.py"
  },
  "memory_consolidation": {
    "enabled": true,
    "cron": "0 3 * * 0",
    "script": "workflows/memory_consolidation.py"
  }
}

All Tier 1 utility workflows use free APIs (Open-Meteo, CoinGecko, ArXiv, Hacker News, Reddit). No paid API keys required.

Dependencies

When you enable a Tier 3 workflow, its Tier 2 dependencies auto-enable:

$ aibrain workflows enable contradiction_detector

Enabled: contradiction_detector
Auto-enabled dependencies:
  correction_learner
  memory_hygiene
  user_model

If you disable a Tier 2 workflow that Tier 3 workflows depend on, you'll see a warning. The dependent workflows will still run but may produce less accurate results.

# View the full dependency map
$ aibrain workflows deps

# View dependencies for a specific workflow
$ aibrain workflows deps contradiction_detector

Custom Workflows

Create custom workflows by subclassing SkillWorkflow or UserWorkflow:

# my_workflow.py
from aibrain.workflows import UserWorkflow

class MyCustomWorkflow(UserWorkflow):
    name = "my_custom_workflow"
    schedule = "0 9 * * *"  # 9am daily
    description = "My custom daily workflow"

    def run(self, brain):
        # Read from the brain
        memories = brain.search("project status")

        # Do your work
        summary = self.process(memories)

        # Write back to the brain
        brain.store(
            content=summary,
            memory_type="project",
            importance=7
        )

You can also create workflows from the dashboard using the Visual Workflow Builder (drag-and-drop node editor) or via chat with the /create command.

All Commands

CommandDescription
aibrain workflows listShow all workflows + status
aibrain workflows list --enabledShow only enabled workflows
aibrain workflows list <category>Filter by category
aibrain workflows enable <name>Enable (+ auto-enable dependencies)
aibrain workflows enable --recommendedEnable the starter set
aibrain workflows disable <name>Disable a workflow
aibrain workflows syncCreate OS scheduled tasks
aibrain workflows sync --dry-runPreview changes
aibrain workflows run <name>Run immediately
aibrain workflows depsShow full dependency map
aibrain workflows deps <name>Show dependency tree for one workflow

FAQ

Do workflows use API credits or make network calls?
No. All Tier 2 and Tier 3 workflows operate on local SQLite data only. Some Tier 1 utility workflows (RSS, GitHub, weather) make HTTP requests but these are optional and clearly marked.

Will workflows slow down my system?
No. Each workflow runs for a few seconds at most, on its own schedule. There's no always-running daemon. Your OS scheduler triggers them like any other cron job.

Can I create custom workflows?
Yes. Subclass SkillWorkflow or UserWorkflow, implement run(), and register it. Or use the Visual Workflow Builder in the dashboard.

What happens if I disable a dependency?
Dependent Tier 3 workflows will still run but may produce less accurate results. You'll see a warning when disabling a dependency.

Does this work air-gapped?
Yes. All Tier 2 and Tier 3 workflows are fully air-gap safe. Zero network required.

Previous
← User Guide
Start here
Getting Started →