Melaya — Build AI agents for any job. Agentic platform for research, ops, outreach, reporting — and the only one where agents can actually trade.

// USE CASE · HODLER

Watch your portfolio,survive the cycle.

Most hodlers wake up at 6 a.m., refresh Zerion, scroll five Discords, and still miss the concentration risk that breaks the year. Melaya gives you a six-persona crew that watches every wallet, scores concentration and chain exposure, flags protocol risk on positions you forgot you held, and drafts the tax pass before year end. You keep the keys, the agents do the reading, and every output cites the on-chain source.

See the pipelines ↓
01
// What breaks today

The status quo costs more than the agent does.

Three pains every sales and BD team hits weekly. Each one is what your reps actually complain about, not what a feature page would call them.

  1. 01

    A single L1 ran from 8 percent to 41 percent of the bag over six months, and the rebalance reminder lived in a Notion you stopped opening in March.

  2. 02

    An LSD restaking position was paying 6.4 percent until the protocol shipped a contract upgrade, and you found out from a Twitter thread two days after the depeg.

  3. 03

    Year-end tax pass starts in February because no one tracked which lots were sold at a loss, and the CPA bills another four thousand to reconstruct the chain of custody.

02
// Pipelines you can build

Compose. Approve. Replay.

Every pipeline below is a shape you wire on the canvas using the crew and tools further down. Not a feature we ship for you, a pattern you configure.

P01

Score concentration across every wallet

PortfolioManager reads balances across EVM chains, Bitcoin, and Solana through scoped read-only RPC tools, scores single-asset, single-chain, and single-venue concentration, and flags any line above the band in your policy. Static context holds the policy so the score is consistent week over week.

P02

Run weekly VaR on the live portfolio

ChiefRiskOfficer computes parametric and historical VaR plus CVaR, stress tests against March 2020 and the FTX cascade, and writes a one-page risk note. Hard drawdown thresholds are read from your policy, so the circuit breaker fires before the bag bleeds.

P03

Triage on-chain alerts for the bag

On a webhook from a watcher, the crew pulls the touching transaction, the counterparty contract source, and recent funding flows. The rag_retrieve tool fetches prior memos on that protocol so the alert lands with context, not just a hash. HITL gate before any rebalance memo is drafted.

P04

Monitor DeFi yield and protocol risk

ChiefRiskOfficer reads TVL, recent contract upgrades, oracle health, and audit dates on every active position, then scores residual yield against residual risk. Cross-run memory carries last week's protocol verdict so a fresh exploit headline drops the score immediately.

P05

Build the year-end tax lot pass

PortfolioManager pulls the full transfer history per wallet, models FIFO, HIFO, and Specific ID, and surfaces harvest candidates with a cited tx hash on every lot. ReportWriter assembles a one-page memo your CPA can sign off on. HITL gate before any lot is committed to the export.

P06

Review macro signals against the thesis

QuantAnalyst pulls DXY, real yields, and global liquidity from FRED, ExecutionSpecialist scores rebalance cost in basis points, ReportWriter writes the regime call with cited series ids. Replay every chart back to its FRED series so next month's note is reproducible.

03
// The crew

Quant Firm crew

Real personas from the quant_firm crew. Each ships with a tuned system prompt and a default tool allowlist. Swap models per persona on the canvas.

Portfolio Manager

PortfolioManager

Sizes positions with fractional Kelly, scores chain and venue concentration, and rebalances within the bands you set instead of chasing every market move.

Chief Risk Officer

ChiefRiskOfficer

Computes VaR and CVaR on the live portfolio, stress tests against 2008, March 2020, and FTX cascade, and enforces hard drawdown circuit breakers.

Quant Analyst

QuantAnalyst

Tests parameter sensitivity on entry rules, exit rules, and rebalance bands. Reports signal quality with sample size, time period, and standard errors.

Quant Skeptic

QuantSkeptic

Hunts overfitting and regime fragility before you commit capital. Applies the Deflated Sharpe Ratio and demands walk-forward evidence on every thesis.

Execution Specialist

ExecutionSpecialist

Decomposes rebalance cost into spread, market impact, and adverse selection in basis points so a DCA or TWAP plan does not silently eat your returns.

Report Writer

ReportWriter

Distills the five specialist notes into a one-page decision document with a single ACTION line and confidence score. Useful for tax review and DAO updates.

04
// Scoped tools

Only the actions you grant.

Every tool below is a real shared tool from the Melaya bundle. Allowlist per agent; HITL-gate the writes; revoke any of them in one click.

shared/tools/blockchain/

Read native ETH and L2 balances, transaction receipts, and event logs through your own RPC. Read only, so the crew cannot move funds even if a prompt told it to.

eth_get_balanceeth_get_txeth_get_logsens_resolve
shared/tools/etherscan_tools/

Pull full token, NFT, and ERC-1155 transfer history per address across Etherscan-supported chains for cost basis and concentration scoring. Read only.

eth_balanceeth_txlisteth_token_balanceeth_token_transferseth_nft_transferseth_contract_sourceeth_gas_price
shared/tools/mempool_tools/

Read Bitcoin balances, UTXO sets, and fee estimates straight from mempool.space. The crew never holds an xpub, so cold storage stays cold.

btc_address_infobtc_address_txsbtc_address_utxosbtc_fee_estimatesbtc_mempool_stats
shared/tools/solana_tools/

Read SOL balances, SPL token positions, and signature history. Used by PortfolioManager when the bag spans Solana and EVM chains.

sol_balancesol_signatures_for_addresssol_token_accounts_by_ownersol_token_supply
shared/tools/blockchair_tools/

Cross-chain explorer reads for Bitcoin, Litecoin, Bitcoin Cash, and friends. Used when a hodler keeps long tail UTXO chains alongside the main bag.

bch_statsbch_addressbch_transactionbch_block
shared/tools/dexscreener_tools/

Read DEX liquidity, pair depth, and trending pools so PortfolioManager flags positions where exit liquidity is thinner than the entry.

dex_searchdex_pairs_by_tokendex_pairdex_trending
shared/tools/coinglass_tools/

Read perp funding, OI, and liquidation cascades so the ChiefRiskOfficer stress test reflects current leverage in the system, not last cycle's.

cg_funding_ratecg_open_interestcg_liquidationscg_long_short_ratio
shared/tools/coinmarketcap_tools/

Quote the bag at a consistent reference price for cost basis and reporting. Pairs with coinpaprika_tools as a fallback so a single API outage does not break a run.

cmc_listingscmc_quotescmc_global_metricscmc_categories
shared/tools/fred_tools/

Pull DXY, real yields, and global liquidity series so macro review carries a cited FRED id, not a vibe. Used by QuantAnalyst and ReportWriter.

fred_series_observationsfred_series_searchfred_release_dates
shared/tools/core/

General research, structured fetch for protocol audit pages, and the explicit HITL primitive. pause_for_human is the approval node in every rebalance and tax workflow.

web_searchweb_fetchhttp_requestcalculatepause_for_human
shared/tools/knowledge/

Build the per-workflow store from your allocation policy, chain whitelist, prior tax filings, and DeFi position notes. Powers rag_retrieve and cross-run memory.

build_knowledgebuild_knowledge_from_textbuild_knowledge_from_file
05
// Three knowledge layers

The crew reads what you give it.

Every pipeline ships with three layers of knowledge access. Mix and match per agent on the canvas. No shared vector space with another tenant, no surprise reads, no opaque retrieval.

L1

Static context

includeContext

Per-pipeline documents appended to specific agents' input on every run. The ICP brief, playbook, pricing sheet, or won-deal email corpus. Whatever needs to be there before the agent thinks. You pick which personas get which docs.

L2

RAG retrieval tool

rag_retrieve

A scoped tool granted per-agent. When the agent decides it needs more depth, it queries the workflow's vector store on demand. Same knowledge base as Static context, accessed only when the model asks for it.

L3

Cross-run memory

pipeline_memory

Pipeline-level state that carries from one run to the next. Yesterday's research is in scope for today's follow-up. The crew remembers what it already prospected, what got approved, what was sent. The audit log is the second-order knowledge base.

07
// FAQ

Questions we get every week.

Will the crew rebalance my wallets on its own?

No. Every workflow stops at a HITL gate before any signing path. The agents pull on-chain data, score concentration, draft the rebalance, and stage it for your approval. You can lift the gate per template once a routine has earned trust, but the default is review every move.

Can the agents reason over my wallet history and tax lots?

Three ways. Static context attaches your allocation policy, chain whitelist, and cost basis method to specific personas on every run. The rag_retrieve tool lets PortfolioManager and ChiefRiskOfficer pull from prior reports, protocol audits, and your DeFi position notes on demand. Cross-run memory means yesterday's drawdown reading is in scope for today's check. You choose which agent gets which layer.

Is this a Zerion alternative or a DeBank alternative?

It sits on top of them. Zerion and DeBank show you balances and recent moves across chains. Melaya is the reasoning layer that reads those positions through scoped RPC and indexer tools, scores concentration, runs the stress test, and writes the rebalance memo with citations.

How does this compare to CoinTracking or Koinly for tax prep?

Koinly and CoinTracking ingest transactions and produce tax forms. Melaya adds the reasoning layer on top. TaxStrategist work runs through PortfolioManager and ReportWriter, modeling FIFO, HIFO, and Specific ID across your wallets so harvest decisions land before year end, not after.

Is this overkill for a solo investor with one portfolio?

No. The Quant Firm crew is six agents and one canvas. A solo hodler runs the same three templates a fund runs: weekly risk check, monthly rebalance review, and year-end tax pass. You pay for what each agent thinks, not per seat.

Which models can I run the crew on?

Any. Claude on ChiefRiskOfficer where stress test reasoning earns the cost, GPT on ReportWriter for the one-page synthesis, a local Ollama on QuantAnalyst when wallet history cannot leave your machine. Each persona picks its own model.

How fast can I get the first pipeline running?

With an Etherscan key, an RPC URL, and a CoinGecko quote feed authorized, the portfolio risk check workflow is a 4-node canvas: pull balances, score concentration, draft summary, stage for review. Most solo hodlers ship it the same evening.

How are my private keys handled?

They are not. Every blockchain tool in the bundle is read-only: eth_balance, eth_txlist, btc_address_info, sol_balance. No signing tool ships with the hodler templates, so the worst an agent can do is read your address and write a memo.

Can I audit exactly what the agent did and why?

Every run logs every tool call, every RPC fetch, every model invocation, and every approval decision. Replay any run to see which address, which block height, and which price snapshot drove the conclusion. The audit log is the methodology log.

Build crypto hodlers & long-only investors pipelines on Melaya.

Sandbox tier is free with no card. Join the waitlist and we will email you the moment a slot opens.

← Back to every use case
Join the community