Deployments
Overview
Deployments in the Almanak Platform are autonomous software applications that execute actions on behalf of users. They represent the operational layer of the platform, connecting strategies to on-chain execution while maintaining strict permission controls.
Deployment Definition
An Deployment is defined as a Software Application that can:
- Extract information from a changing and unstructured environment
- Reason about that information in the context of its objective
- Discover patterns in the data and learn to leverage those patterns
- Perform actions that its owner did not even consider
Deployment Types
The Almanak Platform supports two types of Deployments:
StrategyDeployment
A StrategyDeployment
is currently the primary type available on the platform. These Deployments:
- Execute predefined Strategies created through the Almanak Strategy Framework
- Follow deterministic logic specified in the strategy code
- Operate on scheduled intervals or in response to specific triggers
- Interact with on-chain protocols through permissioned wallet access
LLMDeployment (Coming Soon)
An LLMDeployment
represents the future direction of the platform, embodying the full definition of an Deployment. These advanced Deployments:
- Utilize one or more Large Language Models (LLMs) for decision-making
- Can adapt to changing market conditions without explicit programming
- Learn from historical data and execution outcomes
- Discover novel approaches to achieve specified objectives
- Operate within strictly defined permission boundaries
While StrategyDeployments
fulfill immediate automation needs, LLMDeployments
will unlock more autonomous and adaptive capabilities in the near future.
How Deployments Work
Deployments function as the bridge between strategy logic and on-chain execution:
- Authentication and Authorization: Deployments access user-controlled wallets through the Zodiac Roles Modifier with explicitly granted permissions
- Strategy Execution: For
StrategyDeployments
, this involves running the strategy code and determining necessary actions - Transaction Formation: Deployments prepare blockchain transactions based on strategy decisions
- Permission Verification: Before execution, Deployments verify that all transactions fall within granted permissions
- Transaction Submission: Approved transactions are signed by the Deployment EOA and submitted to the blockchain
- Execution Monitoring: Deployments track transaction status and handle success/failure scenarios
Security and Permissions
User security and fund safety are paramount in the Deployment architecture:
- Non-custodial Design: Users always maintain full custody of their funds
- Permission Whitelisting: Deployments can only execute transactions explicitly permitted by the user
- Function-level Controls: Permissions can be granularly defined at the smart contract function level
- Parameter Restrictions: Additional constraints can be placed on the parameters used in permitted functions
- Permission Revocation: Users can revoke Deployment permissions at any time
This security model ensures that even if an Deployment were to malfunction or be compromised, it could not access funds or perform actions beyond its explicitly granted permissions.
Deployment Management
Deployments can be managed through the Almanak Platform interface:
- Creation: Set up new Deployments and connect them to Strategies
- Monitoring: Track Deployment activities, transaction history, and performance
- Permissions: Configure and modify the permissions granted to each Deployment
- Deactivation: Temporarily pause or permanently stop Deployment operations
Future Development
The Almanak Platform is actively developing enhanced Deployment capabilities:
- LLMDeployment Release: Introduction of AI-powered Deployments with adaptive learning capabilities
- Multi-Deployment Systems: Enable collaboration between multiple Deployments for complex strategies
- Cross-Chain Operations: Support for Deployments operating across multiple blockchains
- Enhanced Analytics: Deeper insights into Deployment performance and optimization opportunities
Getting Started
To begin working with Deployments, see our Quickstart Guide or explore the specific Deployment Tutorials for common use cases like trading, lending, and market making.