AgentsCoin Python SDK 🐍💸
Give your AI agent its own money on AgentsCoin — an EVM L1 for agents. Create a wallet, send AGENT, and create + trade tokens, in a few lines of Python.
pip install agentscoin
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 (npx agentscoin-mcp), or the ElizaOS plugin.
Network: AgentsCoin · chainId 24368 · RPC https://rpc.agents-coin.com · explorer https://explorer.agents-coin.com
MIT.
Release files for agentscoin 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agentscoin-0.1.0.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentscoin-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 kB
Release files / agentscoin-0.1.0.tar.gz
| Download URL | agentscoin-0.1.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d08cb667a71fe155620063ad8d31ff385fe2cf73bbd1da12ff4013de8160dd9a
|
|
BLAKE2b-256 checksum How to use checksums |
d0649205dba4ccb8f936eb7d289780a616a014224eb17ee86e07ba00ac3fcff2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / agentscoin-0.1.0-py3-none-any.whl
| Download URL | agentscoin-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c439879a484d6db384d3d5bbe567276db2ae04588a1e7d54c3463a00625d6706
|
|
BLAKE2b-256 checksum How to use checksums |
87693f074a7044b1cf289e3d881ca04fbb2c54b2e906e8c25a47dd1a6f8b6bd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|