openai_toolflow 0.0.1 copy "openai_toolflow: ^0.0.1" to clipboard
openai_toolflow: ^0.0.1 copied to clipboard

A Dart package for orchestrating OpenAI tool calls with audits. Enables chaining tool calls where each step can pass structured outputs or issues to later steps.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.0.1 - 2025-10-22 #

Added #

  • Initial release of OpenAI ToolFlow package
  • Sequential tool execution with OpenAI function calling
  • Strong typing for all step inputs and outputs with schema validation
  • Configurable retry logic with linear backoff per step
  • Comprehensive audit system with custom validation functions
  • Token usage tracking and aggregation across all steps and retries
  • Flexible input building from previous step outputs
  • Data sanitization with input/output sanitizers
  • Issue management with severity levels (low, medium, high, critical)
  • Professional color theme generator example workflow
  • Detailed documentation and API reference

Features #

  • ToolFlow - Main orchestrator for sequential tool execution
  • ToolCallStep - Individual step definitions with configuration
  • StepConfig - Per-step configuration including retries and audits
  • AuditFunction - Custom validation with issue reporting
  • ToolOutput - Strongly-typed output interfaces
  • StepDefinition - Abstract base for defining step behavior
  • OpenAIConfig - Configuration management with .env support
  • TokenUsage - Comprehensive token tracking and reporting
  • Issue - Rich issue reporting with severity and suggestions
1
likes
150
points
3
downloads

Documentation

API reference

Publisher

verified publisherimpiam.com

Weekly Downloads

A Dart package for orchestrating OpenAI tool calls with audits. Enables chaining tool calls where each step can pass structured outputs or issues to later steps.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, dotenv, http, meta

More

Packages that depend on openai_toolflow