Installation

Quick Install (macOS / Linux)

curl -fsSL https://get.entropyfa.com | sh

Cargo

cargo install --git https://github.com/Entropy-Financial-Technologies/entropyfa-cli.git entropyfa

From Source

git clone https://github.com/Entropy-Financial-Technologies/entropyfa-cli.git
cd entropyfa-cli
cargo build --release
cp target/release/entropyfa /usr/local/bin/

Upgrade

entropyfa upgrade

Checks GitHub for the latest release, downloads the new binary, and replaces the current executable. The CLI also checks for updates in the background.

Quick Start

30-Second Demo

1. Discover what data is available:

entropyfa data coverage

2. Look up 2026 tax brackets for single filers:

entropyfa data lookup --category tax --key brackets --filing-status single

3. Compute federal tax on $150k wages:

entropyfa compute federal-tax --json '{"filing_status":"single","income":{"wages":150000}}'
{"data":{"total_tax":36209,"effective_rate":0.1649,"marginal_ordinary_rate":0.24,...},"ok":true}

4. Get the schema for any compute command:

entropyfa compute roth-conversion --schema

5. Run a Roth conversion analysis:

entropyfa compute roth-conversion --json '{"filing_status":"married_filing_jointly","income":{"wages":200000},"traditional_ira_balance":500000,"conversion_amount":50000}'

6. Run a Monte Carlo retirement projection:

entropyfa compute projection --json '{"starting_balance":1000000,"time_horizon_months":360,"return_assumption":{"annual_mean":0.07,"annual_std_dev":0.15},"cash_flows":[{"amount":-4000,"frequency":"monthly"}]}'

Commands Reference

data coverage

Discover all available reference data embedded in the binary. Returns categories, keys, available years, required parameters, and related topics.

Usage

entropyfa data coverage

Example Output

{
  "data": {
    "count": 17,
    "entries": [
      { "category": "tax", "key": "brackets", "years": [2026], "parameters": ["filing_status"] },
      { "category": "tax", "key": "standard_deductions", "years": [2026], "parameters": ["filing_status"] },
      ...
    ]
  },
  "ok": true
}

data lookup

Look up specific reference data by category, key, year, and filing status.

Usage

entropyfa data lookup [OPTIONS]

Flags

FlagDescriptionRequired
--categoryData category (tax, retirement, etc.)Yes
--keyData key within categoryYes
--filing-statusFiling status filterWhen applicable
--yearTax year (defaults to latest)No

Example

entropyfa data lookup --category tax --key brackets --filing-status single
{"data":[{"rate":0.10,"min":0,"max":12400},{"rate":0.12,"min":12400,"max":50400},...],ok":true}

Use the global --result-hook-url flag to POST the same JSON envelope to a webhook endpoint.

compute federal-tax

Compute federal income + payroll taxes for a given filing status and income breakdown.

Usage

entropyfa compute federal-tax --json '<JSON>'

When to Use

When a user asks about their federal tax liability, effective tax rate, marginal rate, or wants to understand how income is taxed across brackets.

Schema (What to Gather)

FieldDescriptionRequired
filing_statussingle, married_filing_jointly, married_filing_separately, head_of_householdYes
income.wagesW-2 wagesAt least one income field
income.qualified_dividendsQualified dividend incomeNo
income.capital_gainsLong-term capital gainsNo
income.ira_distributionsTraditional IRA distributionsNo
income.pensionsPension incomeNo
income.social_securitySocial Security benefitsNo
income.self_employmentSelf-employment incomeNo
adjustmentsHSA, IRA, student loan interestNo
deductionsDeduction method (standard or itemized)No

Example

entropyfa compute federal-tax --json '{"filing_status":"single","income":{"wages":150000}}'
{
  "data": {
    "gross_income": 150000,
    "agi": 150000,
    "taxable_income": 133900,
    "ordinary_income_tax": 24734,
    "payroll_tax": { "total": 11475 },
    "total_tax": 36209,
    "effective_rate": 0.1649,
    "marginal_ordinary_rate": 0.24
  },
  "ok": true
}

Related: estate-tax, roth-conversion, pension-comparison

compute estate-tax

Compute federal estate tax (Form 706) given a gross estate value.

Usage

entropyfa compute estate-tax --json '<JSON>'

When to Use

When a user asks about estate tax liability, exemption usage, or estate planning. Includes portability (DSUE) analysis.

Schema

FieldDescriptionRequired
gross_estateTotal gross estate valueYes
deductions.maritalMarital deductionNo
deductions.charitableCharitable deductionNo
deductions.debtsDebts and expensesNo
adjusted_taxable_giftsLifetime taxable giftsNo
gift_tax_paidGift tax previously paidNo
deceased_spouse_unused_exclusionDSUE amount (portability)No

Example

entropyfa compute estate-tax --json '{"gross_estate":20000000,"deductions":{"marital":5000000}}'
{
  "data": {
    "gross_estate": 20000000,
    "taxable_estate": 15000000,
    "exemption_amount": 15000000,
    "net_estate_tax": 0,
    "effective_rate": 0,
    "marginal_rate": 0.4
  },
  "ok": true
}

Related: federal-tax

compute rmd

Calculate the Required Minimum Distribution for a single year. Handles owner-lifetime, inherited IRA, spouse beneficiary, and SECURE Act scenarios.

Usage

entropyfa compute rmd --json '<JSON>'

Schema

FieldDescriptionRequired
calculation_yearYear to calculate RMD forYes
prior_year_end_balanceAccount balance at end of prior yearYes
account_typetraditional_ira, 401k, inherited_ira, etc.Yes
owner_birth_dateAccount owner's birth dateYes
spouse_birth_dateSpouse's birth dateNo
spouse_is_sole_beneficiaryWhether spouse is sole beneficiaryNo

Related: rmd-schedule, roth-conversion

compute rmd-schedule

Project multi-year RMD schedule with balance depletion over time.

Usage

entropyfa compute rmd-schedule --json '<JSON>'

Related: rmd, roth-conversion-strategy

compute roth-conversion

Analyze the tax impact of a single-year Roth conversion.

Usage

entropyfa compute roth-conversion --json '<JSON>'

Related: roth-conversion-strategy, federal-tax, rmd

compute roth-conversion-strategy

Multi-year Roth conversion strategy with projected balances and RMD comparison.

Usage

entropyfa compute roth-conversion-strategy --json '<JSON>'

Related: roth-conversion, rmd, rmd-schedule

compute pension-comparison

Compare pension lump sum vs annuity options with tax impact, present value, and Monte Carlo analysis.

Usage

entropyfa compute pension-comparison --json '<JSON>'

Related: federal-tax, projection

compute projection

Run Monte Carlo or linear projection of portfolio balance over time. By default the CLI returns both Monte Carlo and linear JSON results, and renders a terminal dashboard to stderr when Monte Carlo output is present.

Usage

entropyfa compute projection --json '<JSON>'
entropyfa --result-hook-url https://example.com/hook compute projection --json '<JSON>'

Delivery: the CLI always writes the JSON envelope to stdout and, if --result-hook-url is set, also POSTs the same envelope as application/json.

Related: goal-solver, pension-comparison

compute goal-solver

Binary search solver to find the value of a variable that achieves a target metric.

Usage

entropyfa compute goal-solver --json '<JSON>'

Related: projection

Embedded Data Sources

All data is sourced from IRS publications and embedded at compile time. Use entropyfa data coverage to discover available data and entropyfa data lookup to retrieve specific values.

CategoryKeyDescriptionParametersYears
taxbracketsFederal income tax brackets by filing statusfiling_status2026
taxstandard_deductionsStandard deduction amounts by filing statusfiling_status2026
taxcapital_gains_bracketsLong-term capital gains tax bracketsfiling_status2026
taxniitNet investment income tax rate and thresholdsfiling_status2026
taxpayrollSocial Security, Medicare, and SE tax ratesfiling_status2026
taxcapital_loss_limitAnnual capital loss deduction limitfiling_status2026
taxqbi_deductionQualified Business Income (Section 199A) deductionfiling_status2026
taxestate_exemptionFederal estate tax exemption amount2026
taxestate_bracketsFederal estate tax brackets2026
taxestate_applicable_creditApplicable credit amount against estate tax2026
retirementuniform_lifetime_tableIRS Uniform Lifetime Table (Table III) for RMDs2026
retirementsingle_life_tableIRS Single Life Expectancy Table (Table I)2026
retirementjoint_life_tableIRS Joint Life and Last Survivor Table (Table II)2026
retirementdistribution_rulesRMD distribution rules (SECURE Act / SECURE 2.0)2026
social_securitytaxation_thresholdsSS benefit taxation thresholdsfiling_status2026
insuranceirmaa_bracketsMedicare IRMAA surcharge bracketsfiling_status2026
pensionmortality_417eSection 417(e) mortality table for pension lump sums2026

Agent Integration

entropyfa is designed as a tool for AI agents doing financial planning. Here's how to integrate it.

The --schema Workflow

  1. Agent calls entropyfa compute <command> --schema to learn what inputs are needed
  2. Agent gathers required information from the user
  3. Agent constructs JSON input and calls the command
  4. Agent parses JSON output and reasons about results

Design Principles for Agents

--schema

on every command — agents read the schema to know what inputs to gather

data coverage

agents discover what reference data is available without hardcoding keys

JSON-in/JSON-out

structured I/O that agents parse natively

Deterministic

same input always produces the same output

No configuration

install and go, no API keys, no config files, and no outbound calls unless you explicitly use upgrade or result hooks

Architecture

Data Flow

--json '<JSON>' / flags  →  entropyfa CLI  →  entropyfa-engine  →  stdout (JSON)
                                                   \
                                                    →  optional webhook POST

Key Properties

Local by default

All reference data is compiled into the binary; outbound calls are opt-in

Sub-millisecond

Pure computation, no I/O overhead

Single binary

No runtime dependencies

Monthly releases

Updated when IRS publishes new data

Workspace Structure

CratePurpose
engineEmbedded IRS reference data + computation logic (usable as a Rust library)
cliCLI that accepts JSON via --json flag, writes JSON to stdout, and can optionally POST result envelopes

Releases

entropyFA follows a monthly release cadence, updated when the IRS publishes new data. Each release embeds the latest verified data.

Upgrade: entropyfa upgrade