Skip to main content

crowe-agent-core

The Crowe Agent Kernel — one provider-agnostic, capability-gated agent loop that every Crowe surface mounts (foundry CLI, crowelm-dp, Cortex, cla, the Terminal). It replaces the sprawl of divergent per-provider loops with a single kernel + thin transport adapters.

Canonical architecture doc: crowe-agent-team/docs/superpowers/specs/2026-07-02-crowe-agent-kernel-architecture.md

The shape

Kernel.run(role, messages) -> async stream of normalized Events
        │
        ├─ TransportAdapter   (per-provider; the ONLY thing that varies)
        ├─ ToolRegistry       (federates Python/Go/MCP tools)
        ├─ HookChain          (pre_turn / pre_tool_use / post_tool_use / stop)
        │     └─ CapabilityGate   (CCCP guardedCall(); human/agent actor split)
        └─ Role               (roles/<name>.role.json — a clone is data)
  • One loop, many transports. Providers implement TransportAdapter.stream() and nothing else. DeepParallel is an adapter (one turn = one cluster synthesis), not its own loop.
  • Every dispatch is gated. Tool calls pass the capability choke point before running. The gate is a hook; add cost caps / human-confirm as more hooks.
  • Agents are data. A role file selects prompt, backend, tool allowlist, and gate policy. A subagent is a kernel instance with a different role.

Status

Scaffold. The kernel loop, adapter contract, tool registry, hook/capability seam, and role loader are implemented and tested with a deterministic ScriptedAdapter. Real adapters (openai_compat, anthropic, deepparallel) and the CMP event mapping are the next phase — see the build sequence in the arch doc.

Develop

uv venv --python 3.11 .venv
uv pip install --python .venv/bin/python -e ".[test]"
.venv/bin/python -m pytest -q

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crowe_agent_core-0.1.0.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

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

crowe_agent_core-0.1.0-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file crowe_agent_core-0.1.0.tar.gz.

File metadata

  • Download URL: crowe_agent_core-0.1.0.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for crowe_agent_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3c459646adaab6addec53c720bbea9b73758b98f3031650aba88494e831987e6
MD5 abdeecfeb84465c20ff43fc8d3cef6b0
BLAKE2b-256 856a8ff0258aa4a72b5914671acd6c69a222d1719487ba1cdabaa2bacb4a3d1b

See more details on using hashes here.

File details

Details for the file crowe_agent_core-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for crowe_agent_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eece83786779cb8ba8815cf7060e03a28ca1b3d55cc957c69fe26229fbed22fa
MD5 35b2a01d29225d3553a0ce12127bb1f0
BLAKE2b-256 0af7a0b4cf04efd45d9a1ee56a4f3ad5b8ce3b480cfcb0a0b36be1644cf7bec1

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

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