CornerStone MCP x402 skill for agents: tools to predict tickers, backtest strategies, link bank accounts, and query agent/borrower scores. Agents pay via Aptos/EVM (x402). Handles 402 → pay → retry. Publishable in marketplaces for autonomous download and
npm install cornerstone-autonomous-agentPublished as cornerstone-autonomous-agent on npm; source: FinTechTonic/autonomous-agent.
A skill that gives agents a set of x402-paid MCP tools: predict tickers, backtest strategies, link bank accounts, and query agent/borrower scores. Agents using this skill pay with Aptos or EVM via the x402 facilitator. Designed for marketplaces where agents can autonomously download and use the skill; also usable from Cursor, OpenClaw/Moltbot, and headless runners.
Agents need tools, not a full backend. This skill provides run_prediction, run_backtest, link_bank_account, and score tools (get_agent_reputation_score, get_borrower_score, by-email variants). Agents using it talk to an x402 MCP server, pay with their own Aptos and EVM wallets (verify → settle), and get results after minimal setup—whitelist the agent’s addresses, fund wallets, then the agent can call the tools. The server offers both Aptos and EVM payment options; the skill handles 402 → pay → retry so the agent just calls the tool.
``bash`
npm install cornerstone-autonomous-agent
Copy the package’s .env.example into your project and set X402_FACILITATOR_URL, HUGGINGFACE_API_KEY, LLM_MODEL, and wallet paths. See Config.
`bash`
git clone https://github.com/FinTechTonic/autonomous-agent.git && cd autonomous-agent
npm install
OpenClaw / Moltbot: See adapters/openclaw/SKILL.md or use your platform’s skill install (e.g. ClawHub).
Important: Another npm package is named autonomous. To run this package without installing, always use the full name: npx cornerstone-autonomous-agent. After you npm install cornerstone-autonomous-agent, the short binary autonomous in that project runs this CLI.
`bashRun without installing (use full package name so the other "autonomous" package isn’t used)
npx cornerstone-autonomous-agent setup:aptos
npx cornerstone-autonomous-agent setup
npx cornerstone-autonomous-agent addresses
npx cornerstone-autonomous-agent attest:aptos
npx cornerstone-autonomous-agent "Run a 30-day prediction for AAPL"
CLI: This package registers the
autonomous binary (short name) and cornerstone-autonomous-agent (matches package name). Use npx cornerstone-autonomous-agent when you haven’t installed the package; use npx autonomous only inside a project that has cornerstone-autonomous-agent installed, or autonomous after a global install.Config
Copy
.env.example to .env and set:| Variable | Description |
|----------|-------------|
|
X402_FACILITATOR_URL | Facilitator base URL (Aptos + EVM verify/settle). Use public (e.g. https://x402-navy.vercel.app/facilitator) for full demo. |
| X402_EVM_FACILITATOR_URL | Optional. EVM facilitator; defaults to X402_FACILITATOR_URL. |
| PREFERRED_PAYMENT_ORDER | Optional. Comma-separated network|asset (e.g. aptos:2|usdc,eip155:84532|usdc) to choose payment option when server returns multiple. |
| LLM_BASE_URL | OpenAI-compatible base URL (default https://router.huggingface.co/v1) |
| HUGGINGFACE_API_KEY or HF_TOKEN | Hugging Face API key |
| LLM_MODEL | Model ID (e.g. meta-llama/Llama-3.2-3B-Instruct) |
| APTOS_WALLET_PATH | Aptos wallet JSON path. Multi-wallet: ~/.aptos-agent-wallets.json. |
| EVM_WALLET_PATH | EVM wallet path. Multi-wallet: ~/.evm-wallets.json. Or set EVM_PRIVATE_KEY. |
| BASE_SEPOLIA_RPC | Optional; Base Sepolia RPC. Skill supports all EVM chains in lib/chains.js (Base, Ethereum, Polygon, etc.). |Commands
Use
npx cornerstone-autonomous-agent (or, in a project that has this package installed, npx autonomous ). From source: node src/