Skip to main content

NeuForge Pay for CrewAI (neuforge-crewai)

A CrewAI wrapper that enforces the NeuForge x402 Token Metering protocol across all agents in a crew.

⚠️ Pricing & Metering Disclosure This SDK requires an active API key from neuforge.app. It acts as a cloud-metered gateway that tracks your LLM token usage and synchronizes it synchronously with the NeuForge backend via HTTP.

Important: If your NeuForge account balance drops below zero or your budget is exceeded, this SDK will intentionally halt your execution by throwing an HTTP 402 Payment Required exception. You must manage your billing on neuforge.app to ensure uninterrupted service.

Usage

from neuforge_crewai import secure_crew
from crewai import Crew, Agent, Task

# Create your agents and crew normally
my_crew = Crew(agents=[...], tasks=[...])

# Wrap your crew with your NeuForge API Key
secured_crew = secure_crew(my_crew, api_key="nf_live_your_api_key_here")

# Execution is metered and synced with the cloud.
# If your budget is exceeded, the crew halts natively!
result = secured_crew.kickoff()

Download files

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

Source Distribution

neuforge_crewai-1.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

neuforge_crewai-1.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file neuforge_crewai-1.0.1.tar.gz.

File metadata

  • Download URL: neuforge_crewai-1.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.3

File hashes

Hashes for neuforge_crewai-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a2cc5a0f4630e5bafcf9750517c0bdbce1906f81676ddd033a1fde06e071ee3e
MD5 1277b11993c8ab67b12884e21d1888c6
BLAKE2b-256 99a32446d34471e33f195988068ee4a05885fc04fe3bd49d296c120b649a941d

See more details on using hashes here.

File details

Details for the file neuforge_crewai-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for neuforge_crewai-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2aeb584a929083d803711f2dcc3b65c94f158fc5fa18ba4c31e5c54e23cde65
MD5 862b52b52fb8c145dbee799429db0cb6
BLAKE2b-256 17753abc59a1c8afc41459fe59f9474766873225a578a34e908a0fa01ec9f619

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0.0

2 files

0.1.0

2 files

Supported by

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