What it costs
- Streamflow contract
- About 0.18 SOL, once
- Streamflow fee
- 0.19% of the tokens locked
- UsePod check
- 230 lamports on the last check
Streamflow and UsePod figures come from their docs and the agent's own quotes.
For builders
Turn your creator fees into a stake you can prove.
$ npm run kestiv -- run-once --dry-run DRY-RUN WAITING volume_below_minDRY-RUN gate PASS cap value=0 tokens threshold=69999360800427 tokens (7% of supply)DRY-RUN gate PASS cooldown_sec_left value=0 threshold=0DRY-RUN gate PASS price_usd value=0.0000037748 threshold=availableDRY-RUN gate FAIL volume_24h_usd value=1738.57 (swaps_lower_bound) threshold=2000DRY-RUN gate PASS holders value=119 threshold=25DRY-RUN gate PASS liquidity_usd value=195.635 threshold=availableDRY-RUN gate PASS swaps_last_6h value=81 threshold=5DRY-RUN gate FAIL slice_lamports value=0 threshold=50000000… 5 more lines $ npm run kestiv -- loopSet up
Set it as the payout wallet when you launch. ClawPump fixes the payout wallet once the token exists, so it can't be changed later.
solana-keygen new --outfile kestiv.json
chmod 600 kestiv.jsonNeeds Node 22 or newer.
git clone https://github.com/mystiquemide/kestiv kestiv
cd kestiv
npm install
npm run build -w agentThese are environment variables. Kestiv never prints their values.
| Name | What it is | Needed |
|---|---|---|
| KESTIV_WALLET | Kestiv's public address | Yes |
| FOUNDER_WALLET | Where the stake vests to | Yes |
| KESTIV_MINT | Your token's mint address | Yes |
| KESTIV_KEYPAIR_PATH | Path to the Kestiv keypair file, read only by real runs | Yes |
| CLAWPUMP_API_KEY | Your ClawPump partner key | Yes |
| HELIUS_API_KEY | Enables the holder count and a reliable RPC | Optional |
| SOLANA_RPC_URL | Your own RPC, the public one rate-limits | Optional |
| USEPOD_MODEL | Model for the trade-quality veto | Optional |
init shows what it is about to lock in and asks you to type the last four characters of the mint. Mint, founder and vesting terms are write-once after that.
npm run kestiv -- init
Token your token's mint
Founder your founder wallet
Fee share 50% to stake, 50% to founder
Cap 7% of supply
Vesting 90-day cliff, then 365 days linear
Contract cannot be cancelled, transferred or edited
Type the mint's last 4 characters to confirm:A dry run is a practice run that signs nothing. It checks every gate, takes a real Jupiter quote and one free UsePod call, and prints what it would do. It signs nothing and never reads your keypair.
npm run kestiv -- run-once --dry-runDRY-RUN WAITING volume_below_min
DRY-RUN gate PASS cap value=0 tokens threshold=69999360800427 tokens (7% of supply)
DRY-RUN gate PASS cooldown_sec_left value=0 threshold=0
DRY-RUN gate PASS price_usd value=0.0000037748 threshold=available
DRY-RUN gate FAIL volume_24h_usd value=1738.57 (swaps_lower_bound) threshold=2000
DRY-RUN gate PASS holders value=119 threshold=25
DRY-RUN gate PASS liquidity_usd value=195.635 threshold=available
DRY-RUN gate PASS swaps_last_6h value=81 threshold=5
DRY-RUN gate FAIL slice_lamports value=0 threshold=50000000
DRY-RUN gate PASS price_impact value=0 threshold=0.025
DRY-RUN gate PASS spot_over_vwap value=0.9012 threshold=1.3
DRY-RUN gate PASS usepod_quote_lamports value=230 threshold=300000
DRY-RUN quote 50000000 lamports -> 1583842310530 out, impact 0.000%, route Pump.fun
DRY-RUN usepod outcome=dry_run_quote_only quote=230 lamportsReal output from the agent's practice run on 30 Sep 2026. Nothing was signed.
Scroll the box sideways to read the full lines.
The loop runs a check every 30 to 90 minutes. Run a dry run first and start it only when it looks right.
npm run kestiv -- loopStreamflow and UsePod figures come from their docs and the agent's own quotes.
Sell
There is no sell code. Kestiv only buys and locks.
Cancel or move locked tokens
Its signer refuses every Streamflow instruction except creating the contract and topping it up.
Let a model pick the amount
Policy sets the slice. UsePod can only say no.
Not financial advice. Hard limits reduce spending risk, they don't guarantee returns.