Skip to main content

NeuForge Pay for AutoGen (neuforge-autogen)

Token metering middleware for AutoGen agents to strictly enforce budgets.

⚠️ Pricing & Metering Disclosure This SDK requires an active API key from neuforge.app. You can sign up to start a 3-day free trial. 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_autogen import TokenMeterMiddleware
import autogen_agentchat

# Middleware enforces budget against the NeuForge Cloud backend
meter = TokenMeterMiddleware(api_key="nf_live_your_api_key_here")

# The agent's token usage is tracked automatically.

Metadata

Release files for neuforge-autogen 1.0.1

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

Source distribution (sdist)

Source distribution for neuforge-autogen 1.0.1
File Size Uploaded Provenance Actions
neuforge_autogen-1.0.1.tar.gz 2.2 kB Without provenance Details for neuforge_autogen-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for neuforge-autogen 1.0.1
File Interpreter ABI Platform Actions
neuforge_autogen-1.0.1-py3-none-any.whl Python 3 none any Details for neuforge_autogen-1.0.1-py3-none-any.whl

Total release size: 5.1 kB

Release files / neuforge_autogen-1.0.1.tar.gz

Download URL neuforge_autogen-1.0.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d762942a334f21f4a27c5954c9f12cce36634b89c893f1eadbb70dab3d7dd7f0
BLAKE2b-256 checksum
How to use checksums
bbe78b9814dad065cc5480846705db0957dd914570a2d009c2050a9b53d69796
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / neuforge_autogen-1.0.1-py3-none-any.whl

Download URL neuforge_autogen-1.0.1-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b004ccab97c631af6357f7f561ae53fae636a9a403b3d4e30b5bf6d6e93e760
BLAKE2b-256 checksum
How to use checksums
1f0d0003791884830022cf639d7283c697ad40d155c2a2f22a6e4160cc514c09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for neuforge-autogen 1.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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