Skip to main content

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

python -m pip install gatecore-crewai

Read the ten-minute public guide.

Supports Python 3.10-3.13. Python 3.14 is not yet supported, pending upstream crewai.

Configuration

Discovery is keyless. discover_listings and get_listing are public reads on the GateCore MCP endpoint: they need no key and no account, only the endpoint URL:

GATECORE_MCP_URL=https://mcp.gatecoreai.com/mcp

Procurement needs a GateCore MCP access key (gcmk_...). procure, list_procurements, and submit_lead are rejected without one, because agent identity and tenant scope come from the credential. This adapter's gatecore_procure tool is the one that needs it:

GATECORE_MCP_KEY=gcmk_...

A key that is set but malformed fails at toolkit construction; a key that is absent is only an error when a tool that needs one is called.

execute_procured and aexecute_procured validate these variables lazily on first use:

GATECORE_GATEWAY_URL=https://api.gatecoreai.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.

Quick start

Discovery is copy-paste complete and needs no key:

import os

os.environ["GATECORE_MCP_URL"] = "https://mcp.gatecoreai.com/mcp"

from gatecore_crewai import GateCoreToolkit

tools = GateCoreToolkit().get_tools()
for tool in tools:
    print(tool.name, "-", tool.description.splitlines()[0])

listings = tools[0].run(query="data")  # keyless
print(listings[0]["listing_id"])

Procurement is the step that needs a key. A free Developer key (1,000 governed transactions a month, no card) is minted at app.gatecoreai.com/developer/portal; set it as GATECORE_MCP_KEY before calling gatecore_procure.

Procurement runs over GATECORE_MCP_URL and GATECORE_MCP_KEY alone. Executing a procured capability through the signed gateway uses execute_procured and the gateway variables above:

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.

Metadata

Release files for gatecore-crewai 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gatecore-crewai 0.1.4
File Size Uploaded
gatecore_crewai-0.1.4.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gatecore-crewai 0.1.4
File Interpreter ABI Platform
gatecore_crewai-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 30.0 kB

Release files / gatecore_crewai-0.1.4.tar.gz

Download URL gatecore_crewai-0.1.4.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3fb43750812e81ba79e1dbe5aade5e823d5dee6def8c114970de7b20c88e312e
BLAKE2b-256 checksum
How to use checksums
d519bbcc658997212e166764b5c35a849947988bd3c5fa19c54c90eeee67c3f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / gatecore_crewai-0.1.4-py3-none-any.whl

Download URL gatecore_crewai-0.1.4-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8743b35c44b26b413dff92b26c2d4b442d00e75d1790c04a605bdd1858b3ca3
BLAKE2b-256 checksum
How to use checksums
51e5f8488a446beef63449a3ddc689dd83de3881f7adf47861d3576f1dfa1e33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release 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