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/.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coactra-0.7.0.tar.gz.
File metadata
- Download URL: coactra-0.7.0.tar.gz
- Upload date:
- Size: 159.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aee2117905983c0bdcfad6b86a437b252ceb0a59bf929b870f09bb32b982eccc
|
|
| MD5 |
c300230a0007c6edbc78169cdcc083b4
|
|
| BLAKE2b-256 |
043b2c210b8434caebe5b4ed18d50564007def0ccee796826cbcfb6c2323ee63
|
Provenance
The following attestation bundles were made for coactra-0.7.0.tar.gz:
Publisher:
release.yml on DataOpsFusion/coactra
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coactra-0.7.0.tar.gz -
Subject digest:
aee2117905983c0bdcfad6b86a437b252ceb0a59bf929b870f09bb32b982eccc - Sigstore transparency entry: 2604553958
- Sigstore integration time:
-
Permalink:
DataOpsFusion/coactra@a0908486157f9efa044e2f7836ffe7af18eea36e -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/DataOpsFusion
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a0908486157f9efa044e2f7836ffe7af18eea36e -
Trigger Event:
push
-
Statement type:
File details
Details for the file coactra-0.7.0-py3-none-any.whl.
File metadata
- Download URL: coactra-0.7.0-py3-none-any.whl
- Upload date:
- Size: 123.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f206e04a77546d5728560d555b079a2983b17e18264cec7932e4510311ffbd1b
|
|
| MD5 |
777ffa0f3af7826d36ceadc7b4e13160
|
|
| BLAKE2b-256 |
74309bb48e27897cc8c230654a3c4befd3adebb2a9263b3e7458e6ed0b649d0f
|
Provenance
The following attestation bundles were made for coactra-0.7.0-py3-none-any.whl:
Publisher:
release.yml on DataOpsFusion/coactra
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coactra-0.7.0-py3-none-any.whl -
Subject digest:
f206e04a77546d5728560d555b079a2983b17e18264cec7932e4510311ffbd1b - Sigstore transparency entry: 2604554138
- Sigstore integration time:
-
Permalink:
DataOpsFusion/coactra@a0908486157f9efa044e2f7836ffe7af18eea36e -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/DataOpsFusion
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a0908486157f9efa044e2f7836ffe7af18eea36e -
Trigger Event:
push
-
Statement type: