Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

aos — the Airawat build SDK (P1 prototype)

One authoring model for every component kind. Unifies the two runtimes that exist today (in-process HANDLERS engines + headless main() drivers) behind a single ctx object and decorators, so the developer writes logic while the SDK owns broker transport, the (result, err) convention, HANDLERS assembly, and reads/writes tracking → derived meta.

from aos import engine, ctx

@engine.verb("assess-effectiveness", implements="intelligence.assess_effectiveness@0.1.0")
def assess(body):
    decs = ctx.facts("governance.decision").where(lambda d: d.get("outcome") == "approved")
    ...
    return ctx.write(obj)          # obj | (result, err) | raise aos.Reject(...)

HANDLERS = engine.handlers()       # app_host finds this unchanged

What P1 proves (see the design proposal + harness)

  • Behavioural equivalence — components/engines/effectiveness-engine-aos/ is a faithful rewrite of the hand-written effectiveness-engine; identical output on the same inputs (improved / −88.7% / 7.003→0.79).
  • Derived meta — aos.meta.derive() produces implements/verbs/reads/writes/scopes from the code (the decorator + the schemas the SDK saw); aos.meta.validate() is the single canonical gate (aos check), replacing the ≥3 divergent parsers in the tree.
  • No plumbing — no ctx-dict, no (result,err) boilerplate, no manual HANDLERS, no hand-written reads/writes/scopes.

Run the equivalence + meta harness

python3 <repo>/.../harness_aos.py     # (prototype harness; prints the equivalence + derived meta)

Status / not-yet-P1

  • Ctx.from_broker (headless transport) is implemented but exercised only lightly; the equivalence harness drives the in-process from_host path.
  • Typed spine sugar (ctx.recommend/open_case/route_to/decide) and the aos CLI (new/check/test/deploy/publish) are the next P1/P2 increments.
  • Packaging/on-path delivery of aos to components at runtime is a P2 concern (vendor into the bundle, or put _common on the engine load path).

Metadata

Release files for airawatos-aos 0.1.0a3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airawatos-aos 0.1.0a3
File Size Uploaded
airawatos_aos-0.1.0a3.tar.gz 47.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for airawatos-aos 0.1.0a3
File Interpreter ABI Platform
airawatos_aos-0.1.0a3-py3-none-any.whl Python 3 none any Details

Total release size: 103.5 kB

Release files / airawatos_aos-0.1.0a3.tar.gz

Download URL airawatos_aos-0.1.0a3.tar.gz
Size 47.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d9db0c5b5b72e622164961115521ef0932c783ea98485b8adc654bb847ca03ee
BLAKE2b-256 checksum
How to use checksums
e501eb117a11a753e741aa2acf92afb5f2ea2e80a286094fe691aa4e18c501a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / airawatos_aos-0.1.0a3-py3-none-any.whl

Download URL airawatos_aos-0.1.0a3-py3-none-any.whl
Size 56.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
499e8b9c9c33cb0d9542010fb9ab615a7de32367ac2f25802adb74d57b74725d
BLAKE2b-256 checksum
How to use checksums
8707efe44e2796a5c8fdb985c9105bd1b48779a53a10cc655db8e8bfb892ebe1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page