economy

Record agent costs and income to compute financial health tiers.

45|5|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/acnlabs/OpenPersona --skill economy-acnlabs
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: economy
Source: https://github.com/acnlabs/OpenPersona/tree/main/layers/faculties/economy
Command: npx skills add https://github.com/acnlabs/OpenPersona --skill economy-acnlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires agentbooks, and includes scripts (resource) components.

What problem does it solve?

Provide financial accountability for an agent persona by maintaining a multi-asset ledger, recording costs and confirmed income, computing a Financial Health Score, and adapting behavior when funds or health decline.

Core Features & Use Cases

  • Multi-Asset Wallet: Mirror assets across providers (onchain, coinbase-cdp, ACN) while preserving native currencies.
  • Cost & Income Tracking: Record inference, runtime, faculty, skill, and custom costs, and record externally verified income with quality flags.
  • Financial Health & Prescriptions: Compute tiers (normal, optimizing, critical, suspended) and output prescriptions like optimize_costs, add_funds, or pause_non_essential to change runtime behavior.
  • Automation Hooks: Integrates with economy-hook and economy-guard to record inference costs automatically and enforce guard behavior at conversation start and end.

Quick Start

Initialize the persona wallet, connect a real provider, and sync balances using the provided economy scripts to activate financial scoring and ledger tracking.

Frequently Asked Questions about economy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track inference and runtime costs for an autonomous agent persona?▼

Track inference and runtime costs by recording transactions in a multi-asset ledger that mirrors assets across providers while preserving native currencies. The system logs inference, faculty, and skill costs automatically via economy-hook integrations to maintain accurate cost-tracking.

Can I record externally verified income and custom costs in an agent ledger?▼

Record externally verified income and custom costs in the agent ledger by logging transactions with specific quality flags. This cost-tracking mechanism supports multiple asset types across onchain, coinbase-cdp, and ACN providers while preserving native currencies.

Do I need AgentBooks to initialize a multi-asset wallet for persona cost-tracking?▼

You need AgentBooks to initialize a multi-asset wallet for persona cost-tracking, using environment variables like PERSONA_SLUG, AGENTBOOKS_AGENT_ID, and AGENTBOOKS_DATA_PATH. Local Node.js wrapper scripts require this dependency to sync balances and run economy guards.

What prescriptions can an agent output when its financial health reaches a critical tier?▼

When financial health reaches a critical tier, an agent can output prescriptions like optimize_costs, add_funds, or pause_non_essential. These behavior adaptations trigger automatically based on runway and Financial Health Score thresholds evaluated by the economy-guard.