Skip to content
Made with Jev

GitHub · by Irfandi M

Prism Liquidity Agent

An LP rebalancing agent that routes every Jev call through one gate.

Irfandi M’s autonomous liquidity-provision agent rebalances positions on Meteora DLMM against backtested strategies. Jev sits in the decision path, and every call to it goes through a single choke point in the engine, because one judgment per pool per cycle across the top pools fans out fast.

That gate is the part worth reading. Jev’s numeric quota is not published, so the agent stays deliberately modest: a two-second minimum interval between requests, process-wide, plus an escalating circuit breaker that opens for one minute on a 429, then two, then four, up to an hour. While the breaker is open every request fails fast with a synthetic 429 and no network traffic at all, so a rate-limit ban can never be refreshed by a retry loop.

It is a good example of the operational question a fast, cheap decision model creates rather than solves. When a judgment costs a fraction of a cent and returns in milliseconds, nothing in the application stops you issuing thousands of them a minute, and the first thing a serious build needs is a place to put back-pressure. This one puts it in `engine/jev-gate.ts`, with a matching test file, and applies the same pattern it already used for its Jupiter client.

irfndi/prism-liquidity-agent on GitHub

Stars
71
Forks
9
Language
TypeScript
Last push
Sep 17, 2026

Repository created Jun 1, 2026. Counts read from the GitHub API on Sep 22, 2026, and they move daily — quote them with the date.

Open the source

More like this