abintegro
The runner SDK of ABIntegro: deterministic business automation, built with AI and secured by code.
A runner is a small repository of connectors (typed clients for the systems a business uses) and tasks (plain async Python that reads from one system and writes to another). This package is everything else: the task model, policies and guardrails enforced outside the task's code, credentials the task never sees, proposals for a person to approve, state, a durable queue, an append-only audit log, embedded AI calls with a fixed output shape, and the HTTP service a runner deploys as.
pip install abintegro
Python 3.13 or later.
A task
from abintegro import ctx, parameter, permit, task
from connectors import school, zoom
from connectors.zoom.client import UserCreate
@task(id="enrollment_to_zoom", title="Zoom Licences for New Enrolments")
async def enrollment_to_zoom() -> None:
"""Give every new student a licensed Zoom account."""
for e in await school.enrollments.since(ctx.state.get("cursor")):
spec = UserCreate(email=e.email, licences=[parameter("zoom_licence")])
if permit("users.create_with_licences"):
await zoom.users.create_with_licences(spec)
else:
ctx.suggest("zoom.users.create_with_licences", spec, key=str(e.id))
ctx.state["cursor"] = e.created_at
- No credentials in code. A connector call is authenticated by the SDK from the tenant's secret; the task holds a client, never a key.
- Writes are permitted or proposed.
permitasks the policy the business set; anything not permitted becomes a suggestion in the Inbox, with a before/after preview, for one person to accept or reject. - Deterministic and convergent. One connector call is one business action that is safe to repeat; re-running a task repairs a partial failure. There are no steps to resume.
- Guardrails outside the code. Write, operation and token caps, execution windows, allowed domains and accounts, and "never delete" are checked by the SDK on every call, whatever the task does.
- Every action is audited. Reads, writes, proposals, decisions and AI calls are recorded in an append-only log.
ctx.ai, ctx.decide, ctx.report, ctx.metric and ctx.lookup add embedded AI with a fixed
output schema, yes/no and multiple-choice decisions, reports, dashboard figures and shared lookup
tables. The abintegro_ai package beside it holds the AI providers (Vertex AI, Gemini,
Anthropic, OpenAI and Langdock) behind one interface.
The command line
Run from a runner repository, next to its connectors/ and tasks/:
abintegro tasks # what is registered, and its trigger
abintegro run <task_id> # execute one task now
abintegro tick # one drain: schedules, webhook events, the queue
abintegro suggestions # proposed writes waiting on a person
abintegro accept <suggestion_id> # or reject
abintegro manifest build # derive each task's declared operations
abintegro serve # the runner's HTTP service
A runner reads ABINTEGRO_TENANT and ABINTEGRO_GCP_PROJECT (or GOOGLE_CLOUD_PROJECT) to know
which tenant it is; it has no default. --fixtures replay runs every connector against its
recorded fixtures, with no network.
Licence
Apache-2.0. A runner built on this SDK, its connectors and its tasks belong to whoever wrote them and carry no copyleft obligation.
Metadata
Release files for abintegro 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| abintegro-0.1.8.tar.gz | 214.6 kB | Without provenance | Details for abintegro-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| abintegro-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for abintegro-0.1.8-py3-none-any.whl |
Total release size: 453.1 kB
Release files / abintegro-0.1.8.tar.gz
| Download URL | abintegro-0.1.8.tar.gz |
|---|---|
| Size | 214.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4908984c2dffe1cb651ee9aa5bbc40a47288e4cded9cd50db9824df6677f9176
|
|
BLAKE2b-256 checksum How to use checksums |
1763f38cdfbddd2a611eea45cd1b33137c54c68633d08e1f9497a45f1108fc93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / abintegro-0.1.8-py3-none-any.whl
| Download URL | abintegro-0.1.8-py3-none-any.whl |
|---|---|
| Size | 238.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fcaa1b4981dfc4e8b45e8159ee6fd04ac38c739b1401f576d46e09b81103cd16
|
|
BLAKE2b-256 checksum How to use checksums |
59e0824b6afbc5c9ff5e06a9182aff9cac31c0c5c0a0c31cc14e993a14e627bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for abintegro 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.