Your true exposure, what breaks first, and more, across every venue at once.
0
stars
45
commits
TypeScript
primary language
Sep 10, 2026
updated
Your true exposure, what breaks first, and more, across every venue at once.
Non-custodial, and read-only for the moment — placing trades will come later; moving funds will not.
The name is taken from Sanskrit: tula, the balance. The scale that weighs one side against the other, and the same object Latin calls Libra.
Crypto and fiat: Hyperliquid, Aave, Kraken and Binance sit beside Stripe, because a business's settled balance is part of the same picture as its positions.
You are long ETH spot on Kraken, short ETH perp on Hyperliquid, and holding ETH as Aave collateral against USDC debt.
What is your actual ETH exposure? What breaks first if ETH drops 20%?
Kraken cannot tell you — it sees Kraken. Hyperliquid sees Hyperliquid. Aave sees a health factor and nothing either side of it. Portfolio trackers show balances, which is not the same as risk. And no venue will ever build this, because aggregating a user's positions across competitors is against its interest.
That gap is the product. Every venue weighs only what it holds. Nothing weighs both sides of a position that spans them.
| What it is | What it does not do | |
|---|---|---|
| Kraken CLI, Binance Agent OS, OKX Agent Trade Kit | Exchange-native agent CLIs, free and well built | Each knows one venue. None will ever manage your Aave health factor |
| DeBank, Zerion, Zapper | On-chain portfolio views | Balances, not risk. No CEX side, no liquidation math, no scenarios |
| Bitsgap, goodcryptoX | No-code bots across CEXs and perp DEXs | Template bots in a web GUI; no unified risk, no lending |
| TradingAgents, AI Hedge Fund | LLM reasoning over markets | Signals and analysis, not your positions |
| Bloomberg ASKB | Conversational AI in the Terminal | Not for crypto, not for you |
What we do differently: one canonical position model spanning CEX spot, perp DEX margin and lending collateral, so a single asset held three ways nets to one number with one liquidation answer. Nobody spans those three domains, and the incumbents are structurally unable to.
tula is non-custodial, and read-only for the moment — placing trades will come
later. No code path can move funds off a venue, and none places an order today;
scripts/guard.sh fails the build if one appears, and scripts/guard-test.sh
proves that check still catches one.
~/.config/tula/credentials.json,
mode 600, plain JSON, refused if it is a link or if anything else can write to
its directory. A key kept beside the ciphertext would protect nothing and a
passphrase would break the unattended commands, so the choice is stated rather
than dressed up.~/.config/tula/credentials.json,
mode 600 enforced on every read, and are sent only to the venue they belong to.scripts/guard.sh in CI, not by convention.ALTERED
line names the venue that sent it and the node variable that chooses who
answers for a chain, never the string itself. A read-only tool can still be
talked into lying to you about a health factor.Network egress is the venues you connect, the price source you chose, a public node on each chain read — Ethereum, Arbitrum One and Base — and a token list for the on-chain venues, GitHub once a day from the interactive shell to see whether there is a newer release — and, only when you ask a question in plain English, Anthropic, which receives the computed figures and never a credential. Drive tula with commands and it never talks to a model at all. SECURITY.md lists each one and what it sees.
TULA_REQUIRE_ATTESTATION=1 makes the unproven case a refusal. There is no
signing key for this project to lose.Report a vulnerability: SECURITY.md. The canonical page to check before trusting a binary is the security model.
curl --proto '=https' --tlsv1.2 -LsSf https://usetu.la/install.sh | sh
brew install hsnice16/tap/tula # or: npm install -g @hsnice16/tula
macOS and Linux, on 64-bit Intel and ARM. Alpine and other musl systems are not supported, and there is no native Windows build — install inside WSL. The installer always checks the download against its published checksum, and checks the sigstore-backed attestation proving this repository's release workflow built it wherever the GitHub CLI can — saying so either way. Check one by hand:
gh attestation verify tula-v0.2.0-darwin-arm64.tar.gz --repo hsnice16/tula \
--signer-workflow hsnice16/tula/.github/workflows/release.yml
Pin a version with TULA_VERSION, require provenance with
TULA_REQUIRE_ATTESTATION=1. Versions install side by side under
~/.tula/versions behind a symlink, so going back to one is a link flip.
Wallet, Hyperliquid and Aave read from a public address, so you can point tula at any address — yours or a public one — and see live positions without handing it a single credential:
tula # / -> wallet -> connect -> paste any 0x address
On first run it offers to set up plain-English questions, and takes "no" for an
answer — every command works without a model. Type / for the command menu.
Building from source: CONTRIBUTING.md.
Point it at a public address first — Wallet, Hyperliquid and Aave need no credential, so you can see the whole cross-venue path work before deciding whether to trust it with a key. When you do connect an exchange, make the key query-only; tula verifies that against the venue and refuses anything that can withdraw.
Two things worth knowing before you report anything: never paste an API key into an issue, and tula's output is a picture of your net worth — replace the numbers or describe the shape. The issue templates say the same at the point you need it. "I would not use this because…" is the most useful thing you can send.
| Venue | Reads | Needs |
|---|---|---|
| Wallet (Ethereum, Arbitrum One and Base) | native ETH and ERC-20 balances off a token list, per chain | one or more public addresses |
| Hyperliquid | perp positions with liquidation price, spot, the account's USDC | one or more public addresses |
| Aave v3 (Ethereum, Arbitrum One and Base) | collateral, debt, health factor, per asset, across six markets | one or more public addresses |
| Kraken | spot, staked and held balances in every wallet, and open margin positions with the loan behind each | one or more query-only API keys |
| Binance | spot balances with free and locked stated apart, and cross and isolated margin with the liquidation price each carries | one or more read-only API keys |
| Coinbase Advanced | every account the key can list, free and held stated apart, and perpetual positions with liquidation price and leverage | one or more CDP API keys (view-only) |
| Stripe | five of the six balance buckets /v1/balance carries, per currency — instant_available is a slice of available and would state the same money twice | one or more restricted (rk_) keys |
| Net exposure, scenarios, liquidation distance | working |
| More than one account per venue — a hot wallet and a cold one, two exchange keys | working; every figure counts all of them, each row carries the account it came from, and INCOMPLETE names the account that failed rather than only the venue |
| How much of a holding you can move, and what is holding the rest | working; a FREE and an UNAVAILABLE column where something is held, and an em dash where the venue reports too little to prove it |
| What tula never asked for | working; /venues names every area a connector declares it does not read, with what each may hide, and every one of them is scheduled work in ROADMAP.md |
| Interactive shell — slash commands, ctrl+k to search them, ctrl+o for long output, plain English | working; both command lists take the mouse as well as the keyboard |
| Prices — CoinGecko, CoinPaprika, CoinMarketCap, CryptoCompare | working; one active at a time, /<source> use switches |
Staying current — the shell checks once a day and says so in a line; /update checks there and then | working; nothing is installed until you type /update install |
| Kraken's account margin level | planned — Kraken liquidates on an account-wide level and no position carries that figure, so those rows rank unknown until it is read |
| Binance futures | not while tula is read-only — Binance's futures permission grants trading, and a key holding it is refused |
| Solana | planned — a different RPC and account model, so a connector of its own rather than a registry entry (breadth/12) |
| Hyperliquid's own EVM chain (HyperEVM) | planned — both legs or neither. A balance there is a HyperCore spot balance and an EVM ERC-20 scaled against each other, so one leg alone is a number that is not the holding (breadth/12) |
| Aave V4 | planned — v4 is Hubs and Spokes rather than Pools, so no call the connector makes reaches it (breadth/08) |
| Execution | not in v1 — see ROADMAP.md |
On a Kraken margin account the positions are read, but the margin level Kraken
would actually liquidate on is not, so those rows rank unknown rather than
carrying a distance.
bun build --compile.
One artifact, no runtime to install, and the same binary ships through every
channel.number for money — a float rounding error in
a liquidation distance is a wrong answer that looks right.0.x while the read-only risk view is finding its shape. 1.0 when it is
complete and trustworthy without an agent — if it is not useful alone, an agent
on top will not save it.
Milestones and the order they are in, in ROADMAP.md; the task
breakdown behind each in tasks/; shipped work in
CHANGELOG.md.
Read CONTRIBUTING.md. Agents: AGENTS.md.
New venue connectors are the most useful contribution, and the one thing that directly attacks the integration treadmill.
MIT — see LICENSE.
41 commits
4 commits
TypeScript
92.4%
Shell
7.1%
Your true exposure, what breaks first, and more, across every venue at once.
0
stars
45
commits
TypeScript
primary language
Sep 10, 2026
updated
Your true exposure, what breaks first, and more, across every venue at once.
Non-custodial, and read-only for the moment — placing trades will come later; moving funds will not.
The name is taken from Sanskrit: tula, the balance. The scale that weighs one side against the other, and the same object Latin calls Libra.
Crypto and fiat: Hyperliquid, Aave, Kraken and Binance sit beside Stripe, because a business's settled balance is part of the same picture as its positions.
You are long ETH spot on Kraken, short ETH perp on Hyperliquid, and holding ETH as Aave collateral against USDC debt.
What is your actual ETH exposure? What breaks first if ETH drops 20%?
Kraken cannot tell you — it sees Kraken. Hyperliquid sees Hyperliquid. Aave sees a health factor and nothing either side of it. Portfolio trackers show balances, which is not the same as risk. And no venue will ever build this, because aggregating a user's positions across competitors is against its interest.
That gap is the product. Every venue weighs only what it holds. Nothing weighs both sides of a position that spans them.
| What it is | What it does not do | |
|---|---|---|
| Kraken CLI, Binance Agent OS, OKX Agent Trade Kit | Exchange-native agent CLIs, free and well built | Each knows one venue. None will ever manage your Aave health factor |
| DeBank, Zerion, Zapper | On-chain portfolio views | Balances, not risk. No CEX side, no liquidation math, no scenarios |
| Bitsgap, goodcryptoX | No-code bots across CEXs and perp DEXs | Template bots in a web GUI; no unified risk, no lending |
| TradingAgents, AI Hedge Fund | LLM reasoning over markets | Signals and analysis, not your positions |
| Bloomberg ASKB | Conversational AI in the Terminal | Not for crypto, not for you |
What we do differently: one canonical position model spanning CEX spot, perp DEX margin and lending collateral, so a single asset held three ways nets to one number with one liquidation answer. Nobody spans those three domains, and the incumbents are structurally unable to.
tula is non-custodial, and read-only for the moment — placing trades will come
later. No code path can move funds off a venue, and none places an order today;
scripts/guard.sh fails the build if one appears, and scripts/guard-test.sh
proves that check still catches one.
~/.config/tula/credentials.json,
mode 600, plain JSON, refused if it is a link or if anything else can write to
its directory. A key kept beside the ciphertext would protect nothing and a
passphrase would break the unattended commands, so the choice is stated rather
than dressed up.~/.config/tula/credentials.json,
mode 600 enforced on every read, and are sent only to the venue they belong to.scripts/guard.sh in CI, not by convention.ALTERED
line names the venue that sent it and the node variable that chooses who
answers for a chain, never the string itself. A read-only tool can still be
talked into lying to you about a health factor.Network egress is the venues you connect, the price source you chose, a public node on each chain read — Ethereum, Arbitrum One and Base — and a token list for the on-chain venues, GitHub once a day from the interactive shell to see whether there is a newer release — and, only when you ask a question in plain English, Anthropic, which receives the computed figures and never a credential. Drive tula with commands and it never talks to a model at all. SECURITY.md lists each one and what it sees.
TULA_REQUIRE_ATTESTATION=1 makes the unproven case a refusal. There is no
signing key for this project to lose.Report a vulnerability: SECURITY.md. The canonical page to check before trusting a binary is the security model.
curl --proto '=https' --tlsv1.2 -LsSf https://usetu.la/install.sh | sh
brew install hsnice16/tap/tula # or: npm install -g @hsnice16/tula
macOS and Linux, on 64-bit Intel and ARM. Alpine and other musl systems are not supported, and there is no native Windows build — install inside WSL. The installer always checks the download against its published checksum, and checks the sigstore-backed attestation proving this repository's release workflow built it wherever the GitHub CLI can — saying so either way. Check one by hand:
gh attestation verify tula-v0.2.0-darwin-arm64.tar.gz --repo hsnice16/tula \
--signer-workflow hsnice16/tula/.github/workflows/release.yml
Pin a version with TULA_VERSION, require provenance with
TULA_REQUIRE_ATTESTATION=1. Versions install side by side under
~/.tula/versions behind a symlink, so going back to one is a link flip.
Wallet, Hyperliquid and Aave read from a public address, so you can point tula at any address — yours or a public one — and see live positions without handing it a single credential:
tula # / -> wallet -> connect -> paste any 0x address
On first run it offers to set up plain-English questions, and takes "no" for an
answer — every command works without a model. Type / for the command menu.
Building from source: CONTRIBUTING.md.
Point it at a public address first — Wallet, Hyperliquid and Aave need no credential, so you can see the whole cross-venue path work before deciding whether to trust it with a key. When you do connect an exchange, make the key query-only; tula verifies that against the venue and refuses anything that can withdraw.
Two things worth knowing before you report anything: never paste an API key into an issue, and tula's output is a picture of your net worth — replace the numbers or describe the shape. The issue templates say the same at the point you need it. "I would not use this because…" is the most useful thing you can send.
| Venue | Reads | Needs |
|---|---|---|
| Wallet (Ethereum, Arbitrum One and Base) | native ETH and ERC-20 balances off a token list, per chain | one or more public addresses |
| Hyperliquid | perp positions with liquidation price, spot, the account's USDC | one or more public addresses |
| Aave v3 (Ethereum, Arbitrum One and Base) | collateral, debt, health factor, per asset, across six markets | one or more public addresses |
| Kraken | spot, staked and held balances in every wallet, and open margin positions with the loan behind each | one or more query-only API keys |
| Binance | spot balances with free and locked stated apart, and cross and isolated margin with the liquidation price each carries | one or more read-only API keys |
| Coinbase Advanced | every account the key can list, free and held stated apart, and perpetual positions with liquidation price and leverage | one or more CDP API keys (view-only) |
| Stripe | five of the six balance buckets /v1/balance carries, per currency — instant_available is a slice of available and would state the same money twice | one or more restricted (rk_) keys |
| Net exposure, scenarios, liquidation distance | working |
| More than one account per venue — a hot wallet and a cold one, two exchange keys | working; every figure counts all of them, each row carries the account it came from, and INCOMPLETE names the account that failed rather than only the venue |
| How much of a holding you can move, and what is holding the rest | working; a FREE and an UNAVAILABLE column where something is held, and an em dash where the venue reports too little to prove it |
| What tula never asked for | working; /venues names every area a connector declares it does not read, with what each may hide, and every one of them is scheduled work in ROADMAP.md |
| Interactive shell — slash commands, ctrl+k to search them, ctrl+o for long output, plain English | working; both command lists take the mouse as well as the keyboard |
| Prices — CoinGecko, CoinPaprika, CoinMarketCap, CryptoCompare | working; one active at a time, /<source> use switches |
Staying current — the shell checks once a day and says so in a line; /update checks there and then | working; nothing is installed until you type /update install |
| Kraken's account margin level | planned — Kraken liquidates on an account-wide level and no position carries that figure, so those rows rank unknown until it is read |
| Binance futures | not while tula is read-only — Binance's futures permission grants trading, and a key holding it is refused |
| Solana | planned — a different RPC and account model, so a connector of its own rather than a registry entry (breadth/12) |
| Hyperliquid's own EVM chain (HyperEVM) | planned — both legs or neither. A balance there is a HyperCore spot balance and an EVM ERC-20 scaled against each other, so one leg alone is a number that is not the holding (breadth/12) |
| Aave V4 | planned — v4 is Hubs and Spokes rather than Pools, so no call the connector makes reaches it (breadth/08) |
| Execution | not in v1 — see ROADMAP.md |
On a Kraken margin account the positions are read, but the margin level Kraken
would actually liquidate on is not, so those rows rank unknown rather than
carrying a distance.
bun build --compile.
One artifact, no runtime to install, and the same binary ships through every
channel.number for money — a float rounding error in
a liquidation distance is a wrong answer that looks right.0.x while the read-only risk view is finding its shape. 1.0 when it is
complete and trustworthy without an agent — if it is not useful alone, an agent
on top will not save it.
Milestones and the order they are in, in ROADMAP.md; the task
breakdown behind each in tasks/; shipped work in
CHANGELOG.md.
Read CONTRIBUTING.md. Agents: AGENTS.md.
New venue connectors are the most useful contribution, and the one thing that directly attacks the integration treadmill.
MIT — see LICENSE.
41 commits
4 commits
TypeScript
92.4%
Shell
7.1%