Workflow
# Workflow
DeFi alpha decays fast. An opportunity spotted on-chain loses value with every minute of delay between detection and execution. Manual pipelines that require a human to find the signal, write the strategy, test it, and deploy it cannot keep pace. Almanak compresses this entire lifecycle into a single automated loop.
Platform Overview¶
Almanak is a DeFi Agent Platform for creating and deploying automated financial strategies. The platform combines advanced automation with LLM-powered coding agents to help strategies adapt to market conditions more effectively than traditional tools.
The platform serves:
- Active DeFi Traders seeking to automate their strategies
- Developers building next-generation financial applications
- Investment Professionals exploring decentralized markets
- DeFi Users seeking advanced portfolio insights and automation
Core Components¶
- Deployments: Autonomous agents that execute strategies on-chain, operating 24/7 within user-defined permission boundaries.
- Strategies: Python-based applications that define decision logic for deployments, incorporating risk models and parameters that respond to market conditions.
- Wallets: Non-custodial wallets secured by Safe and Zodiac technology, ensuring users maintain custody while delegating only specific permissions to their deployments.
Technology Foundation¶
Almanak combines:
- Secure wallet infrastructure built on Safe
- Fine-grained permission systems built on Zodiac
- High-performance Python execution environment
- Privacy-first strategy management
- Comprehensive chain and protocol integrations
- LLM-powered coding agents for rapid strategy development
The Lifecycle¶
Almanak operates as a continuous cycle with four phases: Edge detects opportunities across chains and protocols, Build converts those opportunities into executable strategy code, Deploy puts strategies on-chain inside non-custodial wallets, and Monitor feeds performance data back into the system. Each phase hands off directly to the next, minimizing the time from signal to execution.
Edge: Signal Detection¶
Almanak runs 46 specialized detection agents that continuously scan 20+ blockchain networks. These agents monitor on-chain data (liquidity flows, whale movements, governance proposals, funding rates) and off-chain sources (social sentiment, protocol documentation, developer activity) to surface scored opportunities. Each signal receives an alpha score from 0 to 100, a confidence metric, and an expiration window. Only high-conviction signals (score 80+) feed into the downstream pipeline automatically. Higher-scoring signals may be surfaced first in the downstream workflow.
Any decision to generate, configure, permission, or deploy a strategy utilizing one of the signals, as well as its final pre-deployment review, remains with the user.
Read more in Edge.
Build: Strategy Development¶
Almanak Code is an LLM-powered coding agent that takes a signal selected by the user, or user's natural language prompt and generates executable Python strategy code. The agent understands DeFi primitives like swaps, LP positions, lending, and perpetuals. It produces a strategy PRD (product requirements document) followed by working code that conforms to the Almanak SDK's IntentStrategy interface. Users review and iterate on the code through conversation until it is ready for deployment.
Read more in Build.
Deploy: On-Chain Execution¶
Strategies run as autonomous agents deployed into user-controlled Safe multisig wallets.
The platform helps users create a dedicated wallet per chain, grants the agent scoped permissions via Zodiac roles (limiting exactly which contracts and functions it can call), and starts execution. Funds remain under the user's control at all times. The agent always operates within its user-defined permission boundaries, executing the user's strategy logic on a configurable interval.
Read more in Deploy.
Monitor: Feedback Loop¶
Running agents continuously report their state back to the platform: PnL, open positions, wallet balances, execution logs, and on-chain transactions. The dashboard surfaces real-time performance metrics for every active deployment. This data closes the loop, informing which signals are producing results, which strategies need adjustment, and where the next opportunities lie.
Dashboard¶
The Dashboard is the first screen after login and provides a unified view of your entire workflow state. It aggregates data from all four lifecycle phases into a single page:
- Total TVL: aggregate USD value across all your active deployments.
- Portfolio Performance: a chart tracking your combined portfolio value over time.
- Active Deployments: your running agents with their current status, strategy, chain, and recent PnL.
- Recent Transactions: the latest on-chain transactions executed by your agents across all wallets.
- Latest Signals: high-scoring signals from Edge with their alpha scores and confidence levels.
- Recent Build Chats: your most recent Almanak Code sessions for quick access to in-progress strategies.
Each section links directly to its corresponding workspace for deeper exploration.