gatecore-crewai
gatecore-crewai provides three CrewAI tools for GateCore marketplace discovery and
procurement, plus helpers that execute a procured capability through GateCore's signed gateway.
The adapter contains transport and configuration only; GateCore services enforce identity,
policy, trust, pricing, funding, delegation, and settlement.
The MCP tools support public full-mode GateCore endpoints only. read mode passes the server's
fail-closed procurement error through unchanged. off mode is unsupported because it does not
replace the adapter's legacy placeholder identity with the MCP credential identity.
This package intentionally duplicates the small adapter configuration, execution, and transport modules. A shared adapter-core package is a future decision that waits until a third framework adapter establishes the common surface.
Install from the GateCore monorepo
python -m pip install -e ./libs/sdk -e ./libs/adapters/gatecore-crewai
Install from PyPI (effective on publish)
Effective once gatecore-sdk and this package have a real PyPI release — see
.github/workflows/publish-pypi.yml. Until then, use the monorepo install above.
python -m pip install gatecore-crewai
Configuration
Discovery and procurement require:
GATECORE_MCP_URL=https://mcp.example.com/mcp
GATECORE_MCP_KEY=gcmk_...
execute_procured and aexecute_procured validate these variables lazily on first use:
GATECORE_GATEWAY_URL=https://api.example.com
GATECORE_BEARER_TOKEN=...
GATECORE_AGENT_ID=agent:example
GATECORE_ACCESS_GRANT_ID=grant:example
GATECORE_KEY_ID=key:example
GATECORE_PRIVATE_KEY_PATH=/secure/path/agent-key.pem
Set exactly one of GATECORE_PRIVATE_KEY_PATH or GATECORE_PRIVATE_KEY_PEM.
Usage
from gatecore_crewai import GateCoreToolkit, execute_procured
tools = GateCoreToolkit().get_tools()
procure_result = tools[2].run(listing_id="listing:example")
decision = execute_procured(procure_result, {"query": "example"})
CrewAI tools are sync-native. Their synchronous implementation uses asyncio.run() for the MCP
transport and therefore must not be called from a thread that already owns a running event loop;
use arun() in async applications.
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 gatecore_crewai-0.1.0.tar.gz.
File metadata
- Download URL: gatecore_crewai-0.1.0.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a0323c076fefbc751caefb86bb84c2858fdadf1678f48bef53d955c7ee4cd50
|
|
| MD5 |
b7eb8307e90ed78dc3fdd71780acd601
|
|
| BLAKE2b-256 |
25683f55d088ff3b39e7dac9171db9356f8d6d5e2b664927e5f61be0e1851103
|
Provenance
The following attestation bundles were made for gatecore_crewai-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on GateCoreAI-com/GateCoreAI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gatecore_crewai-0.1.0.tar.gz -
Subject digest:
3a0323c076fefbc751caefb86bb84c2858fdadf1678f48bef53d955c7ee4cd50 - Sigstore transparency entry: 2439257049
- Sigstore integration time:
-
Permalink:
GateCoreAI-com/GateCoreAI@a2b9480385b03a4e11378fc3b6c6392dc7455a0b -
Branch / Tag:
refs/heads/MainV2 - Owner: https://github.com/GateCoreAI-com
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@a2b9480385b03a4e11378fc3b6c6392dc7455a0b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file gatecore_crewai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gatecore_crewai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.7 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 |
b6347af619072ac0e073baaff9822cd939cbf7102ca1b5e720bb3360c83d6b8b
|
|
| MD5 |
42020d9ef75a43f841e2b8fa5edb5a24
|
|
| BLAKE2b-256 |
968b178efb11e848102ba900dc5b95ab4d7cdc5be78c800a04570bdb4e429d96
|
Provenance
The following attestation bundles were made for gatecore_crewai-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on GateCoreAI-com/GateCoreAI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gatecore_crewai-0.1.0-py3-none-any.whl -
Subject digest:
b6347af619072ac0e073baaff9822cd939cbf7102ca1b5e720bb3360c83d6b8b - Sigstore transparency entry: 2439257064
- Sigstore integration time:
-
Permalink:
GateCoreAI-com/GateCoreAI@a2b9480385b03a4e11378fc3b6c6392dc7455a0b -
Branch / Tag:
refs/heads/MainV2 - Owner: https://github.com/GateCoreAI-com
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@a2b9480385b03a4e11378fc3b6c6392dc7455a0b -
Trigger Event:
workflow_dispatch
-
Statement type: