Changelog
1.0.0a1 is the Python package version for the v1.0.0-alpha.1 private preview tag. The public API is stable enough to build against, but breaking changes are still possible during...
1.0.0a1 — 2026-06-09
Alpha
1.0.0a1 is the Python package version for the v1.0.0-alpha.1 private
preview tag. The public API is stable enough to build against, but breaking
changes are still possible during the alpha cycle.
Added
Package skeleton
- Initial
flowai-harnesspackage skeleton. - Validated spec constructors for tenants, plans, references, and tools.
flowai_harness._internalPyO3 extension module embedded privately in the wheel.
Public API surface
- Ergonomic Python public API for building role agents:
define_coordinator,define_planner,define_executor,define_specialist. layered_prompt(...)with deterministic rendering and a SHA-256 cache key.- Customer-configured glimpses on
define_reference(..., glimpse=...)and the schema-neutralglimpse(...)helper. TaggedUnion(...)for tagged action unions withkinddiscriminator.
Native runtime handle
create_runtime(...)returning a native Rust-backedRuntime.Runtime.query(...)async-iterable event streams.Runtime.respond_to_approval(...)for approval resume.Runtime.run_specialist(...)for direct specialist dispatch through the native handle.Runtime.create_reference(...),Runtime.resolve_reference(...), andRuntime.reference_glimpse(...)for host-created typed references, plusctx.referencesfor pointer-producing Python tools.create_runtime(..., data_environment=...)for attaching Rust-owned catalog and SQLite target database dependencies to built-incatalogtoolkit dispatch.create_runtime(..., services=...)for injecting customer-owned Python services into custom tool callbacks asctx.<service>,ctx["<service>"], andctx.services.TestingConfig({"mock_response": ...})deterministic no-network interpreter for unit tests.
MCP tool serving
flowai_harness.mcphelpers for listing and serving runtime tools over MCP stdio and Streamable HTTP.Runtime.list_mcp_tools(...),Runtime.serve_mcp_stdio(...), andRuntime.serve_mcp_http(...)on the native runtime handle.flowai-harness mcp python MODULE:OBJECT ...for Python-defined callback servers.flowai-harness mcp toolkit ...for Rust-native toolkit-only servers.
Changed
Tenant and prompt layer cleanup
- Replaced project-specific runtime identity with
TenantIdentityanddefine_tenant(...). define_runtime(...)now acceptstenant=...; runtime isolation is keyed byresource_id.layered_prompt(...)uses explicit prompt layers, includingdomain_knowledgeandoperational_rules, independently from runtime tenancy.
Breaking
- The alpha API may still break before
1.0.0is finalized.
Migration
- No migration steps are required for the first pre-release.
