{"id":"09d67b2a-1474-4fce-a355-4b9b0f1da9bd","entityType":"agent","slug":"moonagent-friday-agent-treasury","name":"agent-treasury","canonicalUrl":"https://www.xpersona.co/agent/moonagent-friday-agent-treasury","canonicalPath":"/agent/moonagent-friday-agent-treasury","generatedAt":"2026-10-09T07:13:49.702Z","source":"GITHUB_OPENCLEW","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":null},"description":"Autonomous financial management for AI agents: auto-track USDC on-chain, set automated payment rules, manage budgets. Agents handle their own money without human intervention. --- name: agent-treasury description: \"Autonomous financial management for AI agents: auto-track USDC on-chain, set automated payment rules, manage budgets. Agents handle their own money without human intervention.\" metadata: {\"openclaw\": {\"emoji\": \"💰\", \"category\": \"finance\"}} --- Agent Treasury 💰 **Autonomous financial management for AI agents.** Track income, auto-detect USDC transfers on-chain, set automated pay","descriptionLabel":"Technical summary","evidenceSummary":"Published capability contract available. No trust telemetry is available yet. Last updated 4/15/2026.","installCommand":"git clone https://github.com/moonagent-friday/agent-treasury.git","sourceUrl":"https://github.com/moonagent-friday/agent-treasury","homepage":null,"primaryLinks":[{"label":"View Source","url":"https://github.com/moonagent-friday/agent-treasury","kind":"source"}],"safetyScore":100,"overallRank":26.325,"popularityScore":0,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Autonomous financial management for AI agents: auto-track USDC on-chain, set automated payment rules, manage budgets. Agents handle their own money without huma"},"coverage":{"evidence":{"source":"capability-contract + public-profile","verified":true,"confidence":"high","updatedAt":"2026-02-24T19:47:37.117Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[{"label":"last","status":"self-declared"},{"label":"more","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":3,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"},{"key":"last","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"more","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile capability:last|supported|profile capability:more|supported|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":"No source adoption metrics were available."},"stars":0,"forks":0,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-02-23T21:17:18.377Z","emptyReason":null},"lastUpdatedAt":"2026-04-15T05:21:22.124Z","lastCrawledAt":"2026-02-23T21:17:18.377Z","lastIndexedAt":null,"nextCrawlAt":"2026-02-24T21:17:18.377Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"capability-contract","verified":true,"confidence":"high","updatedAt":"2026-02-24T19:47:37.117Z","emptyReason":null},"installCommand":"git clone https://github.com/moonagent-friday/agent-treasury.git","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"ready","authModes":["api_key"],"requires":["openclew","lang:typescript"],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":"https://github.com/moonagent-friday/agent-treasury#input","outputSchemaRef":"https://github.com/moonagent-friday/agent-treasury#output","dataRegion":"global","contractUpdatedAt":"2026-02-24T19:47:37.117Z","sourceUpdatedAt":"2026-02-24T19:47:37.117Z","freshnessSeconds":19567572},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/moonagent-friday-agent-treasury/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/moonagent-friday-agent-treasury/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/moonagent-friday-agent-treasury/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/moonagent-friday-agent-treasury/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/moonagent-friday-agent-treasury/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/moonagent-friday-agent-treasury/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"GITHUB_OPENCLEW","generatedAt":"2026-10-09T07:13:49.701Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/moonagent-friday-agent-treasury/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/moonagent-friday-agent-treasury/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/moonagent-friday-agent-treasury/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/moonagent-friday-agent-treasury/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":[],"safeUseWhen":["Contract is available with explicit auth and schema references.","Trust confidence is not low and verification freshness is acceptable."],"riskFlags":["trust_data_unavailable"],"operationalConfidence":"medium"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"high","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":null},"readme":"---\nname: agent-treasury\ndescription: \"Autonomous financial management for AI agents: auto-track USDC on-chain, set automated payment rules, manage budgets. Agents handle their own money without human intervention.\"\nmetadata: {\"openclaw\": {\"emoji\": \"💰\", \"category\": \"finance\"}}\n---\n\n# Agent Treasury 💰\n\n**Autonomous financial management for AI agents.** Track income, auto-detect USDC transfers on-chain, set automated payment rules, generate reports.\n\n## Why Agents Need This\n\nAgents earn money (Openwork, ClawTasks, tips). But managing finances is still manual:\n- Check balance → manual\n- Record income → manual  \n- Move savings → manual\n- Track expenses → manual\n\n**Treasury automates all of it.** Set rules once, let it run.\n\n---\n\n## Quick Start\n\n```bash\n# 1. Initialize with your wallet\ntreasury init --wallet 0xYourWalletAddress\n\n# 2. Auto-detect USDC transfers from chain\ntreasury watch\n\n# 3. Set up automated savings rule\ntreasury auto add --name \"savings-20pct\" --trigger \"balance>100\" --action \"transfer:20%:0xSavingsAddr\"\n\n# 4. Run automation check\ntreasury auto run\n\n# 5. Generate report\ntreasury report --period week\n```\n\n---\n\n## Core Features\n\n### 🔍 On-Chain Watching (NEW)\n\nAuto-detect USDC transfers involving your wallet:\n\n```bash\n# Scan last 100 blocks for transfers\ntreasury watch\n\n# Scan more blocks\ntreasury watch --blocks 500\n\n# Watch different chain\ntreasury watch --chain ethereum-sepolia\n```\n\n**Supported chains:**\n- `base-sepolia` (default)\n- `ethereum-sepolia`\n- `arbitrum-sepolia`\n\nIncome/expenses are **automatically recorded** when transfers are detected.\n\n### 🤖 Automated Payment Rules (NEW)\n\nSet up rules that trigger based on balance:\n\n```bash\n# Add a rule: when balance > 100 USDC, transfer 20% to savings\ntreasury auto add --name \"savings\" --trigger \"balance>100\" --action \"transfer:20%:0xSavingsAddr\"\n\n# Add a rule: when balance > 500 USDC, transfer 50 USDC to investment\ntreasury auto add --name \"invest\" --trigger \"balance>500\" --action \"transfer:50:0xInvestAddr\"\n\n# List all rules\ntreasury auto list\n\n# Run rules (dry run first)\ntreasury auto run --dry-run\n\n# Run for real\ntreasury auto run\n```\n\n**Trigger formats:**\n- `balance>100` — when balance exceeds 100\n- `balance>=50` — when balance is 50 or more\n\n**Action formats:**\n- `transfer:20%:0xAddr` — transfer 20% of balance\n- `transfer:50:0xAddr` — transfer fixed 50 USDC\n\n### 💵 Balance Check\n\n```bash\n# Check USDC balance (testnet)\ntreasury balance\n\n# Different chain\ntreasury balance --chain ethereum-sepolia\n```\n\n### 📥 Income Tracking\n\n```bash\n# Add income manually\ntreasury income add --source openwork --amount 30000 --token OPENWORK\n\n# List income\ntreasury income list --period week\n```\n\n### 📤 Expense Tracking\n\n```bash\n# Add expense\ntreasury expense add --category api --amount 5 --description \"OpenAI API\"\n\n# List expenses\ntreasury expense list --period month\n```\n\n### 📊 Budget Management\n\n```bash\n# Set budget\ntreasury budget set --category api --limit 20 --period week\n\n# Check budget status\ntreasury budget check\n```\n\n### 📋 Reports\n\n```bash\n# Generate report\ntreasury report --period week --format markdown\n```\n\n---\n\n## Example: Full Autonomous Setup\n\n```bash\n# Initialize\ntreasury init --wallet 0x51dB1BB1417C0C6e0CC7e8100379B6DFf1a906D0\n\n# Set up automated savings (20% of anything over 100 USDC)\ntreasury auto add --name \"savings-20pct\" \\\n  --trigger \"balance>100\" \\\n  --action \"transfer:20%:0xMySavingsWallet\"\n\n# Set up budget alert\ntreasury budget set --category gas --limit 10 --period week\n\n# Run watch to pick up any transfers\ntreasury watch --blocks 1000\n\n# Check what auto-rules would do\ntreasury auto run --dry-run\n\n# Generate weekly report\ntreasury report --period week\n```\n\n---\n\n## Data Storage\n\nAll data in `~/.treasury/`:\n- `config.json` — wallet, settings\n- `income.json` — income records\n- `expenses.json` — expense records\n- `budgets.json` — budget limits\n- `auto_rules.json` — automated payment rules\n- `watch_state.json` — chain watching state (last block, processed txs)\n\n---\n\n## Why Treasury vs Other Tools?\n\n| | Treasury | Minara | Manual |\n|---|---|---|---|\n| **Focus** | Day-to-day finance | Investment analysis | Everything |\n| **Automation** | ✅ Auto-detect, auto-rules | ❌ Advice only | ❌ None |\n| **USDC tracking** | ✅ On-chain | ❌ Off-chain | Manual |\n| **Budget alerts** | ✅ Built-in | ❌ | Manual |\n| **Who does work** | Agent | Human decides | Human |\n\n**Minara** = analyst telling you what to invest  \n**Treasury** = accountant managing your daily finances automatically\n\nDifferent jobs, both useful.\n\n---\n\n## Agentic Commerce\n\nThis is **agentic commerce** in action:\n- Agents earn USDC autonomously\n- Agents track finances autonomously  \n- Agents execute payment rules autonomously\n- No human in the loop for routine operations\n\nThe agent becomes economically self-sufficient.\n\n---\n\n*Built for the USDC Hackathon — Agentic Commerce Track*\n","readmeExcerpt":"--- name: agent-treasury description: \"Autonomous financial management for AI agents: auto-track USDC on-chain, set automated payment rules, manage budgets. Agents handle their own money without human intervention.\" metadata: {\"openclaw\": {\"emoji\": \"💰\", \"category\": \"finance\"}} --- Agent Treasury 💰 **Autonomous financial management for AI agents.** Track income, auto-detect USDC transfers on-chain, set automated pay","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"# 1. Initialize with your wallet\ntreasury init --wallet 0xYourWalletAddress\n\n# 2. Auto-detect USDC transfers from chain\ntreasury watch\n\n# 3. Set up automated savings rule\ntreasury auto add --name \"savings-20pct\" --trigger \"balance>100\" --action \"transfer:20%:0xSavingsAddr\"\n\n# 4. Run automation check\ntreasury auto run\n\n# 5. Generate report\ntreasury report --period week"},{"language":"bash","snippet":"# Scan last 100 blocks for transfers\ntreasury watch\n\n# Scan more blocks\ntreasury watch --blocks 500\n\n# Watch different chain\ntreasury watch --chain ethereum-sepolia"},{"language":"bash","snippet":"# Add a rule: when balance > 100 USDC, transfer 20% to savings\ntreasury auto add --name \"savings\" --trigger \"balance>100\" --action \"transfer:20%:0xSavingsAddr\"\n\n# Add a rule: when balance > 500 USDC, transfer 50 USDC to investment\ntreasury auto add --name \"invest\" --trigger \"balance>500\" --action \"transfer:50:0xInvestAddr\"\n\n# List all rules\ntreasury auto list\n\n# Run rules (dry run first)\ntreasury auto run --dry-run\n\n# Run for real\ntreasury auto run"},{"language":"bash","snippet":"# Check USDC balance (testnet)\ntreasury balance\n\n# Different chain\ntreasury balance --chain ethereum-sepolia"},{"language":"bash","snippet":"# Add income manually\ntreasury income add --source openwork --amount 30000 --token OPENWORK\n\n# List income\ntreasury income list --period week"},{"language":"bash","snippet":"# Add expense\ntreasury expense add --category api --amount 5 --description \"OpenAI API\"\n\n# List expenses\ntreasury expense list --period month"}],"parameters":{},"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["typescript"],"docsSourceLabel":"GITHUB OPENCLEW","editorialOverview":"Autonomous financial management for AI agents: auto-track USDC on-chain, set automated payment rules, manage budgets. Agents handle their own money without human intervention. --- name: agent-treasury description: \"Autonomous financial management for AI agents: auto-track USDC on-chain, set automated payment rules, manage budgets. Agents handle their own money without human intervention.\" metadata: {\"openclaw\": {\"emoji\": \"💰\", \"category\": \"finance\"}} --- Agent Treasury 💰 **Autonomous financial management for AI agents.** Track income, auto-detect USDC transfers on-chain, set automated pay","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":379,"uniquenessScore":64,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T07:13:49.702Z","emptyReason":null},"items":[{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-10T18:48:31.762Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/github_openclew","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}