openai_toolflow 0.0.1
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 executionToolCallStep- Individual step definitions with configurationStepConfig- Per-step configuration including retries and auditsAuditFunction- Custom validation with issue reportingToolOutput- Strongly-typed output interfacesStepDefinition- Abstract base for defining step behaviorOpenAIConfig- Configuration management with .env supportTokenUsage- Comprehensive token tracking and reportingIssue- Rich issue reporting with severity and suggestions