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

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

Built distribution (wheel)

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

Total release size: 98.2 kB

Release files / airawatos_aos-0.1.0a1.tar.gz

Download URL airawatos_aos-0.1.0a1.tar.gz
Size 44.3 kB
Tags Source
SHA-256 checksum
How to use checksums
122e385256d9a97b6e465ff38d80a25cd7924eb7c58c97c0e51b46ae47b5b31f
BLAKE2b-256 checksum
How to use checksums
0599f02984e513023133c1e989e21298adfd02d20d861a59e125d78b5e2c9068
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.0a1-py3-none-any.whl

Download URL airawatos_aos-0.1.0a1-py3-none-any.whl
Size 53.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd3779203ebc2836531e784c0f214b8841e930b69d918ee4bee1191ce2a057b0
BLAKE2b-256 checksum
How to use checksums
be072f4af4ef86dd1cc54c5375ebade920b00bc8fb21ed494c658d4ff7b8c4a4
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