Skip to content

Autonomous Agents

Choose a tag to compare

@jackmusick jackmusick released this 06 Mar 19:23
· 643 commits to main since this release

Autonomous Agents

The headline feature of this release. Agents can now subscribe to platform events and execute workflows autonomously with budget
controls and full history tracking.

  • Agent runs & event-driven execution — agents trigger workflow runs in response to platform events, with per-run tracking
    (agent_run_id) threaded through AI usage and execution history
  • Agent subscriptions in manifests — agents with event subscriptions round-trip through git sync; manifest validation enforces
    correct target_type for agent targets
  • MCP workflow tool execution — fixed access control and stale kwargs issues when executing workflows as MCP tools
  • Budget fields — agent budget configuration serializes correctly through manifest round-trips

Git Sync Overhaul

Major rework of the CLI and sync pipeline for reliability, performance, and better UX.

  • bifrost sync replaced with bifrost git subcommands — bifrost git commit / bifrost git push replace the old monolithic sync
    command
  • Streaming progress — git sync now shows real-time progress phases in both the CLI terminal and the web editor
  • Performance optimizations — prefetch cache, manifest hashing, and bulk DB operations significantly reduce sync time
  • Delete confirmation & push fixes — safer entity deletion with user confirmation; fixed push reliability issues
  • Portable workflow refs — workflows referenced by forms, agents, and event subscriptions now use portable ref strings instead of
    raw UUIDs, enabling cross-environment sync
  • Dependency counts — entity management UI shows how many other entities depend on each workflow/form/agent
  • Git-enabled workspace warnings — CLI warns when push/watch is used in a workspace that has git sync configured (preventing
    conflicts)

CLI Improvements

  • Silent mode by default — CLI now defaults to direct execution with pipeable JSON output, making it script-friendly
  • Hardcoded path removal — replaced all hardcoded apps/, forms/, agents/ path assumptions with Application.repo_prefix and dynamic
    resolution
  • Deduplicated filter logic — CLI filter helpers consolidated, repo_prefix threaded through consistently

Configuration & SDK

  • Config resolution fixed — CLI config endpoints now use ConfigResolver with DB fallback instead of Redis-only reads;
    integration-scoped configs correctly excluded from config.get()/config.list()
  • Write-through cache for config.set() — config writes now update both Redis and DB atomically
  • SDK OAuth token refresh endpoint — new endpoint for refreshing OAuth tokens from within workflows
  • Secret config support — SDK properly handles secret-type configuration values
  • Provider org scope override guard — prevents accidental cross-org scope leaks

LLM & AI

  • Reasoning model compatibility — LLM config layer handles reasoning models (e.g., o1, o3) that don't support system prompts or
    temperature
  • Chat title fix — resolved issue with AI chat title generation
  • Agent context management — improved how agent context is passed through execution chains

Frontend

  • Execution context UI — execution detail view shows richer context (source, trigger, agent info)
  • Entity management UI improvements — better source control panel, disabled combobox state when all entities are assigned
  • Input mapping form for event subscriptions — new form component for mapping event payload fields to workflow inputs
  • File upload progress — upload progress now correctly wired to UI indicators
  • Execution logs panel — improved layout and usability
  • lazyWithReload — resilient code-split imports that auto-retry on chunk load failures (handles deployments mid-session)
  • Tailwind support — added to app rendering pipeline
  • ROI tracking UI — provider org support with ROI tracking display
  • Org-scoped resource management — event source org assignment UI

Performance

  • Execution performance fix — reordered virtual import hook so it runs last (avoiding overhead on stdlib/pip imports); added
    module caching to prevent redundant S3 reads
  • Git sync optimization — prefetch cache and manifest content hashing skip unchanged entities during sync

Database & Infrastructure

  • ondelete cascades — added SET NULL on executions.api_key_id FK; added cascades for workflow deletion by path presence
  • Eager loading fix — schedule_source relationship eagerly loaded in event repository queries to prevent N+1
  • Org-scoped resources — simplified sync flow with org-level scoping for tables and apps

Testing & CI

  • Comprehensive agent test coverage — new tests for agent run consumer error handling, event processor agent routing, AI usage
    agent_run_id tracking, manifest round-trips for agent budget/subscription fields, and event subscription validation
  • Test infrastructure fixes — workflow update test uses PATCH instead of re-registration, reindex test explicitly sets
    category=None, retry delivery test race condition resolved
  • test.sh improvements — now shows pass/fail/skip counts in summary; CI coverage flag fixed
  • ~18k lines of new code including significant test coverage expansion