Smart Money
tgm/flow-intelligence · weight 35%
The PDF is the whole document, with live figures as of its export.
Onviction Agent
Every other tool tells you why you’re right. Onviction Agent finds out if you are.
Whitepaper v1.0 · exported 1 December 2026 · figures read live at export
Introduction
What Onviction Agent is, and the one idea it is built around.
Introducing
A research instrument that states in advance what would prove a crypto thesis wrong, then keeps checking those conditions against live on-chain data until one of them breaks.
Onviction Agent takes a stated crypto thesis, derives the conditions that would prove it wrong, and then tests those conditions against live on-chain data, continuously, until one of them breaks.
The design starts from an observation about how on-chain research actually fails. It rarely fails because the data was wrong. It fails because nobody wrote down, in advance, what would change their mind, so every subsequent piece of evidence gets read as confirmation. A tool that returns supporting evidence on request is not a research tool. It is a mirror.
This system inverts the default. Before it reports anything, it converts a thesis into machine-checkable invalidation conditions: a field, a comparator, a threshold, a duration. Then it commits to them. A condition can only be set before the evidence is weighed, never after. Monitoring then re-reads those conditions on a schedule, and the thesis has a state that can change without anyone asking it to.
Investigation pipeline
Four modules run independently, combine into one composite, and commit to conditions before any verdict is shown.
tgm/flow-intelligence · weight 35%
tgm/flows · weight 25%
EVIDENCE
SCORE
tgm/who-bought-sold · weight 20%
tgm/token-ohlcv · weight 20%
The evidence can be combined. The verdict is committed in advance.
This paper describes a system that exists and runs. Where it quotes a figure about the system’s own behaviour (call counts, credit consumption, endpoint costs, module weights), that figure is read out of the running instance at the moment you load the page, and is marked Live. Where a number is a design constant chosen by judgement rather than derived from data, the paper says so explicitly at the point it is used.
Introduction
Why on-chain tooling converges on agreeing with its user.
Ask any on-chain analytics product about a token you already like, and it will find you something encouraging. This is not dishonesty. It is the predictable result of an interface built around search.
A dashboard offers dozens of metrics across many timeframes. A user arrives with a prior. Somewhere in that space is a chart that agrees: a cohort that is accumulating, a window where flows turned positive, a holder count that ticked up. The user finds it, because finding it is what the interface is for, and leaves more confident than they arrived. Nothing in the product was wrong. The process was.
The cost is not a bad entry. It is the absence of an exit. A position held on a thesis that has already been invalidated by the data is the most expensive thing in the category, and it is invisible precisely because no one defined what invalidation would look like. That is the gap this system is built to close.
Introduction
The single rule the architecture is organised around.
Everything in the system follows from taking that seriously. The product does not attempt to determine whether a thesis is correct, which is unanswerable on a short horizon. It determines whether the thesis is still standing, which is answerable, repeatedly, from data.
“Watch for weakening momentum” is not a stress condition; nothing can evaluate it. A condition in this system is a typed object bound to a specific endpoint and field:
{
claim: "Smart-trader accumulation is sustained",
metric: { endpoint: "tgm/flow-intelligence",
field: "smart_trader_net_flow_usd",
params: { timeframe: "1d" } },
comparator: "<",
threshold: 0,
sustain: "6h consecutive",
severity: "fatal",
status: "holding"
}Because the condition names its own endpoint and field, re-checking it is a lookup rather than an interpretation. The checker contains no model call. That is what makes the verdict reproducible, and it is the difference between a research system and a conversation.
Conditions are derived from what the modules measured, and are committed before the composite score is computed. That ordering is the whole safeguard. A condition written after the verdict is known would be tuned, consciously or not, to a threshold the evidence already clears, which would make the entire exercise decorative.
A stress-test-first tool has a failure mode of its own: it can be too eager to declare a thesis broken, which is just confirmation bias with the sign flipped. Three things guard against it. Conditions carry a sustain window, so a single noisy reading does not trip one. Severity is graded, so only a fatal condition can move a thesis to Invalidated. And state is reversible: a condition that recovers moves back from tripped to stressed, which has been observed in live operation.
The system
The five stages, and what each one is allowed to do.
| Stage | Does | Constraint |
|---|---|---|
| Resolve | Extracts the ticker and resolves it to a chain and contract via live search | Spot contracts only |
| Investigate | Four modules gather evidence independently | No model calls |
| Debate | Raises a challenge where two modules genuinely disagree | Challenger attaches its own evidence |
| Commit | Derives six stress conditions from what was measured | Before the score is computed |
| Monitor | Re-reads those conditions on a schedule | Bypasses cache and fixtures |
The ticker is pulled out of the sentence and resolved against Nansen’s live index, which costs nothing: search/general is a zero-credit endpoint, so asset search can be fully live without a budget consideration.
Most multi-agent systems stage a debate whether or not there is anything to debate, which produces the appearance of rigour and none of the substance. Here a challenge is raised only when two modules reach opposing stances, and the challenger’s own evidence is attached to the message. The disagreement is inspectable rather than rhetorical, and when the modules agree, the interface says so and moves on.
No language model runs in the research path. Modules are arithmetic over API responses; conditions are typed objects; the checker is a comparator. The same inputs produce the same read, which means a verdict can be re-derived and audited after the fact, and means the system cannot hallucinate a finding, because nothing in the path is capable of inventing one.
The system
What each module reads, what it derives, and where it degrades.
| Module | Reads | Derives |
|---|---|---|
| Smart Money | tgm/flow-intelligence | A flow term structure across six horizons and several wallet cohorts |
| Capital Flow | tgm/flows | Net token movement, buy pressure as a share of turnover |
| Holder Concentration | tgm/who-bought-sold | Net USD imbalance, top-3 share of volume, rotating-trader share |
| Pattern Memory | tgm/token-ohlcv | Analogues in the asset's own history, strictly point-in-time |
Six calls at one credit each buy the signature signal: the same cohort netflows at 5m, 1h, 6h, 12h, 1d and 7d. The point is not any single figure but the term structure. If the short end is running slower than the long end, accumulation is decelerating even while it remains positive, and that is invisible in a single-timeframe read.
Magnitude is deliberately split in two. A bare logarithm of dollars saturates, since $86K and $86M both pin the scale, so half the weight is the flow’s share of all tracked cohort activity, which does not saturate. This was a real defect. An $86K flow once scored 100% confidence.
Net token movement and buy pressure as a proportion of turnover. The endpoint refuses whole asset classes, native tokens and stablecoins among them, so the module catches the rejection and degrades to a cohort-level read rather than failing the investigation, and says on the page which class it hit.
Measured as net USD imbalance across the whole trader set, bounded to −1…+1, alongside top-3 share of volume and the proportion of traders active in both directions.
Past windows in the asset’s own history with a similar return and volatility profile, and what happened next. Strictly point-in-time: only data available at the analogue date is used, so no forward information leaks into the comparison.
Confidence is capped by coverage. A module that received three candles cannot report 80% conviction, regardless of how clean those three candles look. Coverage is reported alongside the score rather than folded into it. See Scoring.
The system
Two separate questions that most dashboards quietly merge.
The Evidence Score says how strong and internally consistent the evidence is. Data Coverage says how much data actually backed the read. Merging them is the most common quiet dishonesty in the category.
A thin read that happens to be unanimous and a deep read that is unanimous are not the same finding, but a single blended number renders them identically. Reporting both means a reader can see that an 80 built on 30% coverage is a different object from an 80 built on 95%.
Composite weighting
Read from the running system's WEIGHTS constant.
Every composite is combined with a substantial independent source, DeFiLlama ↗, read separately for chain TVL and stablecoin supply. It is displayed in its own panel, visually distinct, and explicitly labelled not Nansen data. Corroboration nudges the composite; it does not dominate it.
This is simultaneously an analytical choice and a licensing requirement. See Compliance.
The system
How a sentence becomes six things that can be checked.
Six conditions are committed per investigation. Each names the endpoint and field it reads, a comparator, a threshold, a sustain window and a severity: everything needed to evaluate it later without interpretation.
| Field | Purpose |
|---|---|
metric | Endpoint, field and params: makes the condition re-readable |
comparator | Less than, greater than, or crosses |
threshold | The value that constitutes refutation |
sustain | How long it must hold, so noise does not trip it |
severity | fatal, major or minor |
status | holding, stressed or tripped |
Conditions come from what the modules actually measured on this asset, not from a template. If Smart Money measured a positive 7-day smart-trader netflow, the condition binds to that field and sets the threshold relative to the observed value. An asset where a module degraded produces fewer conditions bound to that module, rather than a placeholder condition that would always hold.
The system
What happens after the investigation closes.
A monitored thesis re-reads only the metrics its conditions are bound to. Nothing new is invented to monitor, and no module is re-run wholesale. A core check costs 2 credits; every sixth cycle runs a deeper check at 5.
If the key runs out of credits, the job auto-pauses and records why, rather than silently reporting that all conditions still hold. A monitor that cannot read is distinguishable from a monitor that read and found nothing.
Thesis states
The state is derived, not stored. It is recomputed from the conditions and module stances on every read.
Order matters, and getting it wrong produces a genuinely misleading interface. A fatal trip outranks everything. But zero module support outranks a merely stressed condition. If no module supports the claim, the thesis is At risk, not Deteriorating.
if (fatalTripped) return 'INVALIDATED'; // No module supports the claim: the modules themselves contradict it, // and that outranks "a condition is deteriorating". if (support === 0 && challenge > 0) return 'CHALLENGED'; if (anyTripped || anyStressed) return 'UNDER_STRESS';
Before this ordering existed, a thesis with zero support and four challenges rendered as Deteriorating, which reads as “intact but losing force” when the correct reading was “the evidence contradicts this.”
The central promise is that a verdict changes on its own. It does. Two monitored theses moved from Deteriorating to Invalidated on live data after their investigations had closed, and a third recovered from tripped back to stressed, confirming the state machine is not a one-way ratchet toward bad news.
The system
The economics of the Nansen API, and how the pipeline is shaped around them.
Onviction Agent is designed around the economics of the Nansen API. Credit costs vary significantly across endpoints, so the investigation pipeline is deliberately structured to spend credits where they provide the most research value.
This is part of the product architecture rather than an implementation detail. The goal is to maximise evidential value per API credit, and that objective shapes which endpoints exist in the research path at all.
Credit cost by endpoint
Read from the endpoint registry the client enforces at runtime.
The spread exceeds 500×. A naive implementation reaches for the richest-sounding endpoint and discovers it has spent 750 credits on a single call. The registry makes cost a property of the endpoint that the client consults before every request, rather than something a developer is expected to remember.
| Tier | Cost | When it runs |
|---|---|---|
| Low | 0 to 1 credits | Always |
| Mid | 5 credits | Only when the cheap tier is inconclusive |
| High | 25 credits | Explicit opt-in per call |
| Blocked | never spent | Throws; never reached |
The blocked tier matters more than it looks. Endpoints that are ruinously expensive or prohibited for display do not merely go uncalled by convention. The client raises rather than calling them, so avoidance is structural rather than a matter of discipline.
Every live Nansen request is recorded with its endpoint, request id, credit usage, status, latency and remaining balance. Rejected requests are billed as zero credits, and cache or fixture replays do not count as live network calls.
Measured from the ledger on this instance, right now: Live
Live calls
8,919
real network requests only
Credits consumed
8,587
0.96 per call
Credits remaining
11,842
from the response header
Zero-cost replays
54
never counted as calls
An average below the headline rate is the tiering working. The workhorse endpoints are the cheap ones, and the expensive tier is reached only on purpose.
Nansen
One client, one registry, one ledger.
Every request goes through one client. Cost lookup, budget enforcement, rate limiting and ledger recording all live there, so none of them can be bypassed by adding a call somewhere new. There is no second path to the API, deliberately, including no MCP path, because a parallel route would break the counting guarantee the whole submission rests on.
Every request appends a row: endpoint, credits, Nansen request id, remaining balance, status, latency, and, critically, its source.
source TEXT NOT NULL CHECK (source IN ('live','cache','fixture'))That constraint is enforced by the database rather than left to convention. Only live rows are real network calls against the API key, and only those are ever counted. See Verification.
A response is recorded once and replayed at zero credits thereafter. This is how the application was developed against a trial key without burning the budget on iteration.
The client trusts x-nansen-credits-used from the response header rather than assuming the endpoint’s list price. A rejected request bills zero, and an early version that charged itself for its own 422s reported a credit burn that never happened.
const usedHeader = res.headers.get('x-nansen-credits-used');
const parsed = usedHeader === null ? NaN : Number(usedHeader);
const used = Number.isFinite(parsed)
? parsed
: res.ok ? spec.credits : 0;Nansen
Nansen's terms, enforced as code paths rather than policy text.
Nansen permits derived analysis but prohibits republishing its proprietary signals. Meeting that is not a matter of avoiding a few endpoints; it constrains what may be rendered, and it requires the output to be meaningfully combined with a substantial independent source.
| Class | Meaning | May be rendered raw |
|---|---|---|
| allowed | Freely redistributable | Yes |
| attribution | Redistributable with attribution | Yes, attributed |
| restricted | Composite input only | No |
| prohibited | Never called, never rendered | No |
assertDisplayable(), throws if raw values from a restricted or prohibited class reach the render layer. It is covered by a test, which is the compliance proof.Powered by Nansen API appears in the footer and on every shareable result card, so attribution travels with the output rather than living only on the site.
Appendix
How to check the claims in this document.
Only a real network request against the Nansen key counts. Cache hits and fixture replays are recorded, displayed, and excluded.
This is the kind of claim that is easy to make and rarely enforced, so it is enforced in the schema rather than in a function someone could forget to call. Call volume comes from investigations users run and from monitoring checks re-reading conditions committed to in advance across a portfolio of distinct theses, not from a loop around a cheap endpoint.
Read from this instance at page load: Live
Live calls
8,919
counted
Successful
8,910
HTTP 200
Failed
9
billed 0 credits
Excluded
54
cache hits and replays
The full request ledger, with per-endpoint and per-source breakdowns, is at Analytics.
npx tsx scripts/export-ledger.ts export/nansen-requests.csv every live call with its Nansen request id export/usage-summary.json totals, per-endpoint and per-context breakdown
Each row carries the request id Nansen returned, so the ledger is checkable against Nansen’s own records rather than being taken on trust.
The suite asserts the claims this product makes about itself. Several tests encode defects that reached the interface and were fixed: the score clamp that made every broken thesis score exactly 35, the status precedence that mislabelled contradicted theses, the perp-address filter, and the negative-zero formatter. A regression there is a regression in the product’s honesty, not just its output.