Skip to main content

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

coactra-0.7.0.tar.gz (159.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coactra-0.7.0-py3-none-any.whl (123.9 kB view details)

Uploaded Python 3

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

Hashes for coactra-0.7.0.tar.gz
Algorithm Hash digest
SHA256 aee2117905983c0bdcfad6b86a437b252ceb0a59bf929b870f09bb32b982eccc
MD5 c300230a0007c6edbc78169cdcc083b4
BLAKE2b-256 043b2c210b8434caebe5b4ed18d50564007def0ccee796826cbcfb6c2323ee63

See more details on using hashes here.

Provenance

The following attestation bundles were made for coactra-0.7.0.tar.gz:

Publisher: release.yml on DataOpsFusion/coactra

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for coactra-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f206e04a77546d5728560d555b079a2983b17e18264cec7932e4510311ffbd1b
MD5 777ffa0f3af7826d36ceadc7b4e13160
BLAKE2b-256 74309bb48e27897cc8c230654a3c4befd3adebb2a9263b3e7458e6ed0b649d0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for coactra-0.7.0-py3-none-any.whl:

Publisher: release.yml on DataOpsFusion/coactra

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 files

0.6.0

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.1.0

2 files

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