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 (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

gatecore_crewai-0.1.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

gatecore_crewai-0.1.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

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

Hashes for gatecore_crewai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3a0323c076fefbc751caefb86bb84c2858fdadf1678f48bef53d955c7ee4cd50
MD5 b7eb8307e90ed78dc3fdd71780acd601
BLAKE2b-256 25683f55d088ff3b39e7dac9171db9356f8d6d5e2b664927e5f61be0e1851103

See more details on using hashes here.

Provenance

The following attestation bundles were made for gatecore_crewai-0.1.0.tar.gz:

Publisher: publish-pypi.yml on GateCoreAI-com/GateCoreAI

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

File details

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

File metadata

File hashes

Hashes for gatecore_crewai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6347af619072ac0e073baaff9822cd939cbf7102ca1b5e720bb3360c83d6b8b
MD5 42020d9ef75a43f841e2b8fa5edb5a24
BLAKE2b-256 968b178efb11e848102ba900dc5b95ab4d7cdc5be78c800a04570bdb4e429d96

See more details on using hashes here.

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

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page