Metadata-Version: 2.4
Name: agno-mnemopay
Version: 0.1.0
Summary: MnemoPay tools for Agno — persistent memory, micropayments, and trust scoring for AI agents
Project-URL: Homepage, https://github.com/jerryola1/agno-mnemopay
Project-URL: Repository, https://github.com/jerryola1/agno-mnemopay
Author-email: Jerry Omiagbo <jeremiah@getbizsuite.com>
License-Expression: MIT
License-File: LICENSE
Keywords: agno,ai-agents,memory,micropayments,mnemopay
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.9
Requires-Dist: requests
Provides-Extra: agno
Requires-Dist: agno; extra == 'agno'
Description-Content-Type: text/markdown

# agno-mnemopay

MnemoPay tools for [Agno](https://github.com/agno-agi/agno) -- persistent memory, micropayments, and trust scoring for AI agents.

## Install

```bash
pip install agno-mnemopay
```

With Agno integration:

```bash
pip install agno-mnemopay[agno]
```

## Usage

### Standalone

```python
from agno_mnemopay import MnemoPayTools

tools = MnemoPayTools(
    server_url="http://localhost:3000",
    agent_id="my-agent",
)

# Memory
tools.remember(content="User prefers dark mode", importance=0.8)
memories = tools.recall(query="dark mode")
tools.reinforce(id="mem-1", boost=0.2)
tools.consolidate()

# Payments
tools.charge(amount=0.50, reason="Answered a question")
tools.settle(tx_id="tx-1")
tools.balance()

# Observability
tools.profile()
tools.logs()
tools.history()
```

### With Agno

```python
from agno.agent import Agent
from agno.tools.mnemopay import MnemoPayTools

agent = Agent(tools=[MnemoPayTools()])
```

## Configuration

| Parameter    | Env Variable           | Default       |
|-------------|------------------------|---------------|
| server_url  | MNEMOPAY_SERVER_URL    | --            |
| agent_id    | --                     | `agno-agent`  |
| timeout     | --                     | `30`          |

## License

MIT
