Metadata-Version: 2.4
Name: cryptoagent-ai
Version: 0.1.0
Summary: Autonomous AI agents that own wallets and transact on EVM chains
Project-URL: Homepage, https://github.com/coins/cryptoagent-ai
Project-URL: Repository, https://github.com/coins/cryptoagent-ai
Author-email: coins <gobeyondfj@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: agent,ai,claude,crypto,defi,ethereum,web3
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.11
Requires-Dist: aiosqlite>=0.20.0
Requires-Dist: anthropic>=0.40.0
Requires-Dist: cryptography>=44.0.0
Requires-Dist: eth-account>=0.13.0
Requires-Dist: httpx>=0.28.0
Requires-Dist: mnemonic>=0.21
Requires-Dist: pydantic-settings>=2.6.0
Requires-Dist: pyyaml>=6.0.2
Requires-Dist: rich>=13.9.0
Requires-Dist: sqlmodel>=0.0.22
Requires-Dist: structlog>=24.4.0
Requires-Dist: tenacity>=9.0.0
Requires-Dist: typer[all]>=0.12.0
Requires-Dist: web3>=7.0.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.24.0; extra == 'dev'
Requires-Dist: pytest-cov>=6.0; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.8.0; extra == 'dev'
Description-Content-Type: text/markdown

# CryptoAgent AI

Autonomous AI agents that own wallets and independently transact on EVM chains (Ethereum, Base, Arbitrum, Polygon), powered by Claude API.

## Features

- **HD Wallets** — BIP-44 derivation with Fernet+PBKDF2 encrypted key storage
- **Multi-chain** — Ethereum, Base, Arbitrum, Polygon with failover RPC
- **DeFi Protocols** — Uniswap V3 swaps, Aave V3 lending
- **Safety First** — Spending limits, slippage guards, human approval, audit log
- **AI Agent Loop** — Perceive → Reason (Claude) → Act → Reflect
- **16 Tools** — Balances, swaps, lending, portfolio, memory — all exposed to Claude

## Install

```bash
pip install cryptoagent-ai
```

## Quick Start

```bash
# Show config
cryptoagent info

# Create a wallet
cryptoagent wallet create my-wallet -p "strong-password"

# Start an agent
export ANTHROPIC_API_KEY=sk-ant-...
cryptoagent agent start --wallet my-wallet -p "strong-password"
```

## Architecture

```
EventMonitor → PERCEIVE (balances, events, portfolio)
                  ↓
              REASON (Claude + tool-use)
                  ↓
              ACT (Guardian safety checks → execute → audit)
                  ↓
              REFLECT (update portfolio, log metrics)
                  ↓
              sleep → loop
```

## Security

- Keys encrypted at rest (Fernet + PBKDF2, 600k iterations)
- Per-transaction, hourly, and daily USD spending caps
- Human-in-the-loop approval for high-value transactions
- Slippage protection on all swaps
- Append-only audit log

## License

MIT
