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.0a2

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.0a2
File Size Uploaded
airawatos_aos-0.1.0a2.tar.gz 46.0 kB Details

Built distribution (wheel)

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

Total release size: 101.3 kB

Release files / airawatos_aos-0.1.0a2.tar.gz

Download URL airawatos_aos-0.1.0a2.tar.gz
Size 46.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e482e1f618b254cd39938b08c3fd2f6e9bad69b5f32f8b73cbbc2dcab828173c
BLAKE2b-256 checksum
How to use checksums
21017cc6cd902fdf65e8c852f8c877cf1a3bed19b49872b2d919c1c3c7eb11ea
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.0a2-py3-none-any.whl

Download URL airawatos_aos-0.1.0a2-py3-none-any.whl
Size 55.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8dcbcfec71882321eafc71e1634f6e957e37b7b53d11e88d57515de32075834e
BLAKE2b-256 checksum
How to use checksums
abe00f06352f72f0c3dc815d58531ac7c06774ba77b6040a913e85899db9b15a
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