lemony-ai/cascadeflow
Cascading runtime for AI agents. Optimize cost, latency, quality, and policy decisions inside the agent loop.
12 Releases
Latest: 2mo ago
Release 1.2.0v1.2.0Latest
📋 Changes
- feat(n8n): wire up PreRouter for complexity-based routing (#172) (c2f60a0)
- fix(n8n): remove obsolete eslint-disable for no-var-requires (47e251b)
- feat(harness): add trace export and offline cascade simulation (2ebab43)
- fix(harness): wire query into instrumentation records for session.save -> simulate compatibility (54f65fc)
- fix(harness): add query parameter to Anthropic stream wrapper (ad34841)
- chore(n8n): bump to v1.3.0, move @langchain/core to peerDependencies (53b433f)
- style: apply Black formatting to simulate.py and trace_simulation.py (ee7ca55)
- feat(openclaw): add opt-in harness mode flags and docs (#173) (d6d6cf8)
- + 5 more
v1.1.0
📦 Highlights
- 10x faster import: ~20ms via PEP 562 lazy loading (down from ~1900ms)
- Proxy security: CORS opt-in, 10MB body limit, Bearer auth with constant-time comparison
- Thread safety: Locking for SDK patch/unpatch, run counters, and record()
- Performance: Pre-compiled regex in ComplexityDetector (~4x faster)
- DX improvements: Actionable ImportError for missing integrations, removed deprecated CascadeAgent params, langchain optional extra
💥 Breaking Changes
- `CascadeAgent` no longer accepts deprecated `config`, `tiers`, `workflows`, `enable_caching`, `cache_size`, `enable_callbacks` params
- Proxy CORS default changed from `*` to `None` (opt-in via `cors_allow_origin`)
- `rich` moved to optional extra (`pip install cascadeflow[rich]`)
📦 npm Packages
- `@cascadeflow/core` 1.1.0
- `@cascadeflow/ml` 1.1.0
- `@cascadeflow/langchain` 1.1.0
- `@cascadeflow/vercel-ai` 1.1.0
- `@cascadeflow/paygentic` 1.1.0
- `@cascadeflow/n8n-nodes-cascadeflow` 1.2.0
📋 Full Changelog
- https://github.com/lemony-ai/cascadeflow/compare/v1.0.0...v1.1.0
v1.0.0
📋 What's Changed
- feat(n8n): tool call validation, domain verifiers, agent domain routing by @saschabuehrle in https://github.com/lemony-ai/cascadeflow/pull/125
- fix(n8n): eager model resolution for visual flow highlighting by @saschabuehrle in https://github.com/lemony-ai/cascadeflow/pull/127
- fix(n8n): single getInputConnectionData call for correct model resolution by @saschabuehrle in https://github.com/lemony-ai/cascadeflow/pull/129
- fix(n8n): shorten domain labels, single domain verifier toggle by @saschabuehrle in https://github.com/lemony-ai/cascadeflow/pull/130
- fix(n8n): move domain verifiers toggle to visible position by @saschabuehrle in https://github.com/lemony-ai/cascadeflow/pull/131
- fix(n8n): section dividers, tool call validation default on by @saschabuehrle in https://github.com/lemony-ai/cascadeflow/pull/132
- fix(n8n): rename to Domain Cascading, clarify verifier fallback by @saschabuehrle in https://github.com/lemony-ai/cascadeflow/pull/133
- feat(n8n): convert CascadeFlowAgent to standalone execute() node by @saschabuehrle in https://github.com/lemony-ai/cascadeflow/pull/134
- + 19 more
Release 0.7.1v0.7.1
📋 Changes
- fix: add drafter+verifier Anthropic models to all presets (242866d)
- fix: use Sonnet 4.5 as verifier in anthropic-only config (9cc5f9d)
- Restore anthropic-only preset to Opus-first verifier defaults (3989b7c)
- bump all packages to v0.7.1 (#124) (97b234b)
Release 0.7.0v0.7.0
📋 Changes
- docs: update README with 15 domains and add Banking77 benchmark (8e17e44)
- fix: correct version to 0.6.5 and update Banking77 benchmark (ca26798)
- fix: resolve Ruff lint errors in banking77_benchmark.py (223e777)
- docs: consistent cascadeflow naming + domain routing image (#94) (c6554a2)
- feat: Full Integration - Vercel AI SDK, n8n, Proxy, All Providers (#95) (a923702)
- fix: resolve proxy import conflict for CI (bd26bc1)
- fix: Black formatting + Python 3.9 compatibility (6bc7512)
- fix: correct AI SDK package names + regenerate pnpm-lock (0ac09c4)
- + 58 more
Release 0.6.5v0.6.5
📋 Changes
- fix: add --no-scripts flag to n8n package publish (dd1154f)
- Migrate npm publishing to OIDC trusted publishing (#77) (2c01fe0)
- Fix documentation and examples for v0.7 (#78) (fbaa106)
- Fix TypeScript API naming in root README (2d348b2)
- Fix reasoning-models.ts example: Update model names and add error handling (#79) (804cb3c)
- Benchmark: Provider Comparison (OpenAI vs Anthropic) (#81) (06e31ec)
- Add HumanEval code generation benchmark (#82) (a51e75f)
- Add benchmark infrastructure for performance validation (#80) (1fe1543)
- + 45 more
Release 0.6.0v0.6.0
📋 Changes
- revert: restore original logo sizes (cae1720)
- fix: use absolute URLs for README logo to ensure GitHub rendering (db8ed61)
- feat: smart max_tokens defaults and n8n port mapping improvements (1c89dc8)
- fix: simplify logo to single img tag for better device compatibility (28bf4a3)
- revert: restore picture element for theme-aware logo display (0f28921)
- fix: use responsive logo with relative paths and percentage width (8dd6645)
- fix: apply responsive logo styling across all READMEs (eeba099)
- fix: swap n8n port mapping and improve model debugging (52f71c4)
- + 24 more
Release 0.5.0v0.5.0
📋 Changes
- feat: enable npm provenance and add @cascadeflow/ml to publish workflow (b744fd3)
- fix: update @cascadeflow/ml dependency and TestPyPI permissions (495e4ec)
- chore: update pnpm lockfile for @cascadeflow/ml@0.4.0 (deaf408)
- fix: build @cascadeflow/ml before core (dependency order) (2df439e)
- fix: skip prepublishOnly script for n8n package (already built) (6c7be62)
- fix: make publish workflow not fail on already-published packages (58da107)
- fix: replace pepy.tech downloads badge with shields.io PyPI badge (f53f2bb)
- feat: add PePy total downloads badge (24842b5)
- + 8 more
Release 0.4.0v0.4.0
📋 Changes
- fix(core): update dependency from workspace to npm version (3cc2df7)
- ci: fix test dependencies (3473546)
- ci: fix test workflow (1423984)
- ci: fix ruff linting errors (c095c6e)
- ci: fix critical ruff linting errors (fd0036a)
- Update TypeScript examples for newer models (#53) (5df2339)
- ci: disable strict mypy checking temporarily (8715662)
- ci: disable additional mypy error codes (c2da6ea)
- + 14 more
Release 0.3.0v0.3.0
📋 Changes
- chore: remove redundant .env.template file (7418c19)
- chore: bump version to 0.3.0 for public launch (cb6d206)
Release 0.2.1v0.2.1
📋 Changes
- chore: update all URLs after repository rename to lowercase (235f043)
- chore: remove duplicate org README from cascadeflow repo (acdf26b)
- chore: remove development-only files and backups for public release (35a73f4)
- fix: add rich as required dependency (0ea4143)
- fix: include all subpackages in Python distribution (f3f0c0b)
- fix: add rich to requirements.txt to match pyproject.toml core dependencies (d568864)
- chore: update CODEOWNERS and CONTRIBUTING.md for strict PR workflow (#37) (271843e)
- test: verify branch protection blocks direct push (9f3cb90)
- + 52 more
Release 0.2.0v0.2.0
📋 Changes
- chore: clean up GitHub Actions workflows (3f1e4be)
- fix: correct dark/light mode logo switching (1aef54e)
- fix: correct Tests badge URL for GitHub Actions (6f5b6e0)
- docs: remove redundant horizontal dividers from README (f3a03af)
- docs: restore thick horizontal dividers throughout README (23769cc)
- docs: add comprehensive launch checklist and repository audit (0b5876a)
- docs: improve README grammar and structure (e1fea68)
- chore: remove .idea directory from version control (e1e5836)
- + 104 more
