Skip to content

v0.9: All Together Now

Compare
Choose a tag to compare
@jlowin jlowin released this 11 Sep 03:14
· 128 commits to main since this release
e489588

ControlFlow v0.9 is here and it's HUGE:

  • New event-based backend that allows agent actions to be "compiled" on demand for different LLMs, workflow visibility, and more
  • New lightweight DX, including the workhorse cf.run() function
  • New Orchestrator for managing workflow execution
  • New TurnStrategy objects for managing agent collaboration
  • Completely rewritten documentation
  • Custom result validation
  • Full Prefect 3.0 support

What's Changed

New Features 🎉

  • Add new compiler backend by @jlowin in #199
  • Add new compiler backend (#199) by @jlowin in #200
  • Add new compiler backend by @jlowin in #203
  • Add diagnostic CLI by @jlowin in #205
  • Support max iterations by @jlowin in #211
  • support private tasks by @jlowin in #212
  • Continue building out compilation pipeline by @jlowin in #221
  • Update prompt customization by @jlowin in #226
  • Improve basic round robin by @jlowin in #231
  • Add stable ID for task/agent/team by @jlowin in #232
  • Add configurable history visibility by @jlowin in #233
  • Add async run and deprecate run_once by @jlowin in #234
  • Don't create team of one agent by @jlowin in #243
  • Clean up new backend by @jlowin in #246
  • Give end-turn tool to the default team by @jlowin in #247
  • expand support for lists of agents by @jlowin in #248
  • Better support for complex options by @jlowin in #249
  • Add support for Annotated result types on tasks by @jlowin in #262
  • Add most busy turn strategy by @jlowin in #265
  • Add support for custom result validators by @jlowin in #266
  • Allow task decorator to return a value that becomes part of the objective by @jlowin in #267
  • Update decorator to have proper method for returning a task by @jlowin in #268
  • Improve handling of max turns / max turns per call and enforce task.max_turns by @jlowin in #271
  • Update prefect pin for 3.0 🎉 by @jlowin in #273
  • Allow configurable completion agents by @jlowin in #275
  • Add top level run fns and support orchestrators with no agent by @jlowin in #280
  • Improve debugging options by @jlowin in #281
  • Reset task parent tracking when nested flows are created by @jlowin in #286
  • @jlowin Remove infer_parent by improving attribute defaults by @jlowin in #287
  • Update planning module by @jlowin in #285
  • Huge orchestration overhaul by @jlowin in #290
  • Add builtin validators and docs by @jlowin in #294
  • Flow updates: prevent args from becoming part of context by @jlowin in #300
  • Update prefect integration by @jlowin in #301

Fixes 🐞

Breaking Changes 🛫

  • move defaults out of root by @jlowin in #210
  • Change run_once to steps by @jlowin in #214
  • Remove .agents property by @jlowin in #242
  • rename user_access → interactive by @jlowin in #259
  • Remove error property and reuse result by @jlowin in #261
  • Name is not required for agents; instructions can be provided as a positional arg by @jlowin in #270
  • Remove unused settings by @jlowin in #272

Docs 📚

Other Changes 🦾

New Contributors

Full Changelog: v0.8.2...v0.9