Skip to main content

NeuForge Pay for Phidata (neuforge-phidata)

NeuForge Token Metering Wrapper for Phidata Agents to enforce Bounded Overshoot natively.

⚠️ 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_phidata import SecureAgent

# Use SecureAgent instead of Agent, powered by your NeuForge API Key
agent = SecureAgent(
    api_key="nf_live_your_api_key_here",
    instructions=["You are a helpful assistant."]
)

# Runs are metered and halt on budget exhaustion
agent.print_response("Tell me a story.")

Download files

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

Source Distribution

neuforge_phidata-1.0.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

neuforge_phidata-1.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for neuforge_phidata-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a7108da26bbd9efb833e3c8248ecb6038398193b007d7dc3c3d9fc769811ff1f
MD5 2156fe263c5f2b15fc5fab11aacad04e
BLAKE2b-256 c498fd250536c21d9533584ad53d5188ebe651b5669b07138ff2e637ecb99f52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for neuforge_phidata-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa617c22ea6ef89044384588a1690474df744cb170a88ab230c9bbaaac022e5e
MD5 baeb3cbd82aa276436ca95384cee229c
BLAKE2b-256 394346370fb55e78b2b4cf3605d77b7e05b541e85d0650b763a8951fce6426c9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

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