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 Requiredexception. 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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2cc5a0f4630e5bafcf9750517c0bdbce1906f81676ddd033a1fde06e071ee3e
|
|
| MD5 |
1277b11993c8ab67b12884e21d1888c6
|
|
| BLAKE2b-256 |
99a32446d34471e33f195988068ee4a05885fc04fe3bd49d296c120b649a941d
|
File details
Details for the file neuforge_crewai-1.0.1-py3-none-any.whl.
File metadata
- Download URL: neuforge_crewai-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2aeb584a929083d803711f2dcc3b65c94f158fc5fa18ba4c31e5c54e23cde65
|
|
| MD5 |
862b52b52fb8c145dbee799429db0cb6
|
|
| BLAKE2b-256 |
17753abc59a1c8afc41459fe59f9474766873225a578a34e908a0fa01ec9f619
|