A quantum-safe wallet for AI agents
qexit-agent-kit gives an agent the QEXIT checks and its own QEXIT wallet: an MCP server and a TypeScript library. Every send is signed with a fresh one-time key that is never used again, so there is no long-lived key for anyone to steal or break.
Add it to an agent (MCP)
{
"mcpServers": {
"qexit": {
"command": "npx",
"args": ["-y", "qexit-agent-kit"],
"env": {
"QEXIT_PHRASE_FILE": "/path/to/words.txt",
"QEXIT_CARRIER_KEY": "0x…",
"QEXIT_MAX_SEND_ETH": "0.05"
}
}
}
}Check tools, no wallet needed: qexit_check_address (is a wallet's key public; who controls a coin and whether those keys are public) and qexit_takeover_watch. Wallet tools: qexit_wallet, qexit_token_balance, qexit_send_eth, qexit_send_token, qexit_pending, qexit_resend_pending, qexit_add_gas, qexit_open.
Or use the library
import { QexitWallet } from "qexit-agent-kit";
const w = new QexitWallet({ phrase, carrierKey, maxSendEth: "0.05" });
await w.address(); // same on every chain
await w.balances(); // per chain: open?, ETH, gas money, keys spent
await w.sendEth(4663, "0x…", "0.01"); // signed with the next one-time key
await w.sendToken(4663, token, "0x…", "25");What you set
- QEXIT_PHRASE_FILE (or QEXIT_PHRASE): the wallet's 24 words. Make a new phrase for each agent.
- QEXIT_CARRIER_KEY: a normal wallet that delivers each send and pays gas up front. The QEXIT wallet pays it back from its gas money, so keep only a little ETH there. It cannot change a send or move funds.
- QEXIT_MAX_SEND_ETH and QEXIT_ALLOW_TO: optional limits on the largest send and on who the agent may pay.
- QEXIT_STORE: where signed sends are kept (default ~/.qexit). Keep it on a disk that lasts.
Rules the kit keeps for the agent
- A key signs one send, ever. The signed send is saved to disk before it leaves, and only those exact bytes are ever sent again.
- One process per wallet: a lock file stops two agents signing with the same key.
- The wallet is opened on a chain with a plain transaction, so nobody can open it first with different settings.
- No message signing: the wallet only signs its own sends.
Works on Robinhood Chain and Ethereum. The contracts are not audited yet and each wallet holds at most 0.2 ETH. MIT licence.