Repository navigation
v0.18.0
Release notes generated intelligently using Release Notes Scribe
What's Changed
-
Added
plan_project()andPlannedSystemto compile and plan a project without constructing native SDK agents. -
Expanded the system API with agent input/output type lookup, output validation, context resolution, validation evidence, and run/thread cleanup helpers.
-
Breaking API changes:
- Renamed
MaterializationResulttoMaterializedSystemandstructural_output_typestogenerated_types. - Replaced name-based input helpers with
validate_input_for_agent()andserialize_input_for_agent(). Pass the native agent fromsystem.agents; copied agents and agents from another system are rejected. materialize()now requires keyword arguments fortargetandprofile.- Trace sessions now take a materialized system; Google ADK and Strands trace routers use
attach(system). Evaluation, assurance, and trace-conformance APIs now use planned systems instead of separate contract and plan arguments. - Replaced Strands provider
validate_result()withsystem.validate_output_for_agent(agent, result.structured_output). - Removed
report_provider_outcome()andreport_provider_usage()aliases; use the correspondingrecord_*methods. Advanced OpenAI normalization helpers now live incontract4agents.tracing.openai.
- Renamed
-
Fixed project checks incorrectly succeeding for missing paths or files used as project roots. These now report
PARSE002. -
Compiler artifact checks now require an output directory and report
COMPILE003when it is missing. -
Simplified documentation and the first-project tutorial, and clarified CLI help around defining external contracts and building native SDK objects.