Coactra
Policy-aware composition for AI agents.
pip install "coactra[agent]"
import asyncio
from pydantic_ai.models.test import TestModel
from coactra import Team
async def main() -> None:
team = Team.local(model=TestModel())
agent = await team.add_agent(name="helper")
try:
print(await agent.run("Say hello"))
finally:
await agent.aclose()
asyncio.run(main())
Team is the application assembly root. It owns policy, scope, model routes,
skills, and registered agents. Optional integrations remain replaceable:
pip install "coactra[agent-gateway,oauth]"
pip install "coactra[mem0]"
pip install "coactra[graphiti]"
Use root imports for application code. Deep imports under coactra.agent,
coactra.memory, coactra.workspace, and coactra.team.directory are backend
or runtime seams and may change during alpha.
Important behavior:
- tool, model, and peer actions are policy-aware;
- tenant scope crosses every state boundary;
- memory is optional, bounded, low-authority context;
- memory and thread persistence are explicit host actions;
- local command execution is disabled by default.
The repository's source and tests are authoritative. Runnable acceptance
examples live in examples/acceptance/.
Metadata
Release files for coactra 0.7.0
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 |
|---|---|---|---|---|
| coactra-0.7.0.tar.gz | 159.7 kB | With provenance | Details for coactra-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| coactra-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for coactra-0.7.0-py3-none-any.whl |
Total release size: 283.6 kB
Release files / coactra-0.7.0.tar.gz
| Download URL | coactra-0.7.0.tar.gz |
|---|---|
| Size | 159.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aee2117905983c0bdcfad6b86a437b252ceb0a59bf929b870f09bb32b982eccc
|
|
BLAKE2b-256 checksum How to use checksums |
043b2c210b8434caebe5b4ed18d50564007def0ccee796826cbcfb6c2323ee63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logRelease files / coactra-0.7.0-py3-none-any.whl
| Download URL | coactra-0.7.0-py3-none-any.whl |
|---|---|
| Size | 123.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f206e04a77546d5728560d555b079a2983b17e18264cec7932e4510311ffbd1b
|
|
BLAKE2b-256 checksum How to use checksums |
74309bb48e27897cc8c230654a3c4befd3adebb2a9263b3e7458e6ed0b649d0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logSecurity for coactra 0.7.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for coactra-0.7.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.
Transparency logA 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.