Skip to main content

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. permit asks 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.4

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

Source distribution (sdist)

Source distribution for abintegro 0.1.4
File Size Uploaded Provenance Actions
abintegro-0.1.4.tar.gz 209.2 kB Without provenance Details for abintegro-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for abintegro 0.1.4
File Interpreter ABI Platform Actions
abintegro-0.1.4-py3-none-any.whl Python 3 none any Details for abintegro-0.1.4-py3-none-any.whl

Total release size: 442.1 kB

Release files / abintegro-0.1.4.tar.gz

Download URL abintegro-0.1.4.tar.gz
Size 209.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4dcf216af2ffd66896eddccf667608c8b5a468e11ffe4a96d5b70e6e22b5b10d
BLAKE2b-256 checksum
How to use checksums
c38cf3843d1c65e6948d1ffd597728509a8b712d1f59f4f285fba90c24060754
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.4-py3-none-any.whl

Download URL abintegro-0.1.4-py3-none-any.whl
Size 232.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e13c22ee62c76dba554ff610cd262ff258b8e9ca708f72b0932a89d379a4056
BLAKE2b-256 checksum
How to use checksums
fd261ed9b72f1638ec85ee2a05c5a54dc30c67822e2e586abb7c6f63cec54725
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.4

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.

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