Pricing
The homepage presents Almanak as open source under the Apache-2.0 license and lists no paid plans or prices.
Learn moreOpen-source agent harness that writes and runs DeFi strategies

Almanak is an open-source (Apache-2.0) agent harness for DeFi. Describe a strategy and Almanak Code writes it, then the harness checks, backtests, rehearses on a mainnet fork and runs it from your own Safe.
Almanak is an open-source agent harness for DeFi, released under Apache-2.0 and built for Python 3.12 or newer. Its central idea is to separate whoever writes a strategy from what that strategy is allowed to do. A user describes an idea in plain language, and Almanak Code, an agent bundled with the SDK, produces a strategy.py and a config.yaml, then validates them with the same almanak check command the harness applies to everything it runs. The same strategy code moves through three modes without being rewritten: backtest, fork rehearsal and live execution. Backtests replay the actual strategy against prepared historical datasets offline, with the window, costs, inventory and cadence set in one YAML file. Every run produces an HTML report and can be reproduced exactly, and missing measurements stay visible instead of being filled in by guesswork. Rehearsals run on a disposable mainnet fork using real contracts, simulated funds and generated Safe permissions. Going live happens from the user's own Safe, and a run can be paused, resumed or torn down at any time. The safety model is the main reason to pick it over a loose script. Strategy code runs in a sandbox with no network access, no secrets and no ability to sign. Each action it proposes passes a gateway that checks it against the Zodiac Roles permissions on the Safe before anything is sent. Funds and positions remain in the Safe, and Almanak never takes custody. Pending transactions, accounting and outcomes are recorded, so a run resumes after a restart. The audience is developers, quantitative builders and technically confident DeFi operators who are comfortable in a terminal. More than 40 reference strategies ship with the SDK, covering lending and leverage loops on Aave, Compound, Morpho and Spark, concentrated liquidity on Uniswap, PancakeSwap and Aerodrome, indicator-based trading and GMX perpetuals, across 9 chains. Compared with hosted bots or vault products, it is code-first and self-managed. Users who prefer another coding agent can point it at the docs and llms.txt, and the harness checks that agent's work the same way.



The homepage presents Almanak as open source under the Apache-2.0 license and lists no paid plans or prices.
Learn moreA documentation site covers getting started, backtesting and examples, and it includes a dedicated support page.
Learn moreWorks with Aave, Compound, Morpho, Spark, Uniswap, Curve, Aerodrome, PancakeSwap and GMX across 9 chains, and with Safe and Zodiac Roles. Other coding agents can be pointed at the docs and llms.txt.
Learn moreAlmanak Code writes strategies from plain language, backed by almanak check. Offline reproducible backtests with HTML reports, mainnet fork rehearsals, sandboxed strategy code, gateway checks against Safe Zodiac Roles, restart recovery and 40+ reference strategies.
Learn moreThe best AI for coding in 2027, from coding agents and AI editors to app builders, with free plans, prices and limits compared as of December 2026.
The best AI accounting software for 2027, from QuickBooks and Xero to AI bookkeepers, compared on automation, free plans, prices and limits.
The best free AI tools for chat, writing, images, video, voice, slides and code, with what each free plan includes and its main limit as of December 2026.