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

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.7
File Size Uploaded Provenance Actions
abintegro-0.1.7.tar.gz 214.0 kB Without provenance Details for abintegro-0.1.7.tar.gz

Built distribution (wheel)

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

Total release size: 451.9 kB

Release files / abintegro-0.1.7.tar.gz

Download URL abintegro-0.1.7.tar.gz
Size 214.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0dddb203b36b1f5d6d6f567235cb61224b92a6b5e95656976102b345fdc76428
BLAKE2b-256 checksum
How to use checksums
4eadc687ceed5312e32bdf1ae26d005e57ffdfbd38fdfdd11f92556ca3449159
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.7-py3-none-any.whl

Download URL abintegro-0.1.7-py3-none-any.whl
Size 237.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d88d4c67b7cd7612b415452d0abed4f5ebff3bac275d142c3e037f2163bc2f30
BLAKE2b-256 checksum
How to use checksums
b3f552b55d4fd2fd2db494ee3f4a5dba2dc590696e6c6079b8a00e3e57465048
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.7

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