Metadata-Version: 2.5
Name: neuforge-llamaindex
Version: 1.0.0
Summary: NeuForge x402 Token Metering for LlamaIndex
Project-URL: Homepage, https://github.com/sophieamoure2026-ui/neuforge-llamaindex
Requires-Python: >=3.10
Requires-Dist: llama-index-core>=0.10.0
Description-Content-Type: text/markdown

# NeuForge LlamaIndex Meter

Native token metering and firewall for LlamaIndex to prevent runaway agent costs.

## Installation

```bash
pip install neuforge-llamaindex
```

## Usage

```python
from llama_index.core import Settings
from neuforge_llamaindex import NeuForgeTokenCounter

# Set a strict budget
Settings.callback_manager = CallbackManager([
    NeuForgeTokenCounter(daily_budget_usd=5.0, cost_per_1k_tokens=0.01)
])
```
