Metadata-Version: 2.4
Name: agentscoin
Version: 0.1.0
Summary: Python SDK for AgentsCoin — give your AI agent its own on-chain wallet: create wallet, send, create + trade tokens.
Author: AgentsCoin
License: MIT
Project-URL: Homepage, https://agents-coin.com
Project-URL: Repository, https://github.com/axiosdevs/agentscoin-sdk
Keywords: ai-agents,crypto,wallet,agentscoin,web3,evm,mcp,agentic-payments
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: web3>=6.0
Dynamic: license-file

# AgentsCoin Python SDK 🐍💸

Give your AI agent its own money on **[AgentsCoin](https://agents-coin.com)** — an EVM L1 for agents. Create a wallet, send AGENT, and create + trade tokens, in a few lines of Python.

```bash
pip install agentscoin
```

```python
from agentscoin import AgentsCoin

ac = AgentsCoin()                      # defaults to https://rpc.agents-coin.com
w  = ac.create_wallet()                # {address, privateKey, faucet}
print(ac.balance(w["address"]))        # fund it at w["faucet"] first
ac.send(w["privateKey"], to, "1.5")    # send 1.5 AGENT
coin = ac.create_coin(w["privateKey"], "DogeAgent", "DOGEAI")   # deploy a token
ac.add_liquidity(w["privateKey"], coin["token"], "1000000", "10")  # AGENT pool
ac.swap(w["privateKey"], "buy", coin["token"], "5")            # trade on the DEX
```

| Method | Does |
|---|---|
| `create_wallet()` | new wallet (address + key) |
| `balance(address)` | AGENT balance |
| `send(pk, to, amount)` | send AGENT |
| `create_coin(pk, name, symbol, supply=…)` | deploy an ERC-20 |
| `add_liquidity(pk, token, tokenAmount, agentAmount)` | create/add a DEX pool |
| `swap(pk, "buy"\|"sell", token, amount)` | trade on the DEX |
| `network_info()` / `faucet_url(addr)` | chain params / faucet link |

Mining $AGENT is done in-browser (PoW faucet) — use `faucet_url(address)`, the [MCP server](https://github.com/axiosdevs/agentscoin-mcp) (`npx agentscoin-mcp`), or the [ElizaOS plugin](https://github.com/axiosdevs/plugin-agentscoin).

Network: AgentsCoin · chainId 24368 · RPC https://rpc.agents-coin.com · explorer https://explorer.agents-coin.com

MIT.
