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.1.tar.gz (30.1 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.1-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crowe_agent_core-0.1.1.tar.gz
  • Upload date:
  • Size: 30.1 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.1.tar.gz
Algorithm Hash digest
SHA256 e74d9115f214218bd2fb5de711b45c967df20668c0c2243728ae34c77ce13dd3
MD5 d6ee4389d643cf364cdc16feee8744cf
BLAKE2b-256 5dfb7ca70e62c26bfec51bbb2140e8e474bf2d1c633374f2af1d2386055ffbf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for crowe_agent_core-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c09c625b0b3526066b02a5f449591d9d05b6700d93754a05a78a50394e15055e
MD5 904ce01506b3ca90d711318f8a77f9fd
BLAKE2b-256 585cb263712e3f3eb8c62e3b9ad2113bde3beb5e1ec76e28d864a8551b2a4a57

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

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