Builder Kit Deep Dive
This documentation explores the Brahma Builder Kit's architecture, detailing how its core layers - Execution and Orchestration and examines the internal workings of each layer
Last updated
This documentation explores the Brahma Builder Kit's architecture, detailing how its core layers - Execution and Orchestration and examines the internal workings of each layer
Last updated
The Execution Layer is a core component of the Brahma Builder Kit. This layer manages access control and delegation through policies, enabling secure operations by granting controlled permissions to external operators and executors on sub-accounts. It achieves this through a combination of onchain and off-chain components.
Here's how the components interact with each other to ensure secure access to subaccounts:
The Orchestration Layer manages automation workflow scheduling and subscription management. It exposes automation data through indexers, allowing builders to access and execute automated operations off-chain. This layer complements the Execution Layer's access control by providing the underlying infrastructure for scheduling, monitoring, and running automated workflows.
The RPC Gateway ensures reliable reliable connectivity through redundant node providers, implementing automatic failover mechanisms to maintain uninterrupted operation. Multi-chain Indexers track on-chain events, manage subscriptions, and monitor transactions across various networks, providing comprehensive data access.
Temporal powers the Automation Scheduler, handling distributed task management and workflow orchestration with built-in reliability features. The KeyManager secures cryptographic operations through Vault integration and ETH signer plugin, ensuring robust key security and management.
Persisted Storage maintains system records including execution logs, transaction histories, and automation data, enabling efficient tracking and retrieval of all system activities.
The API Layer provides developers access to both the Orchestration and Execution Layer functionalities through versioned endpoints. The current version v1
exposes two main namespaces:
/v1/scheduler
- Access to Orchestration Layer services including automation scheduling and management
/v1/automations
- Access to Execution Layer services for executor management and transaction handling
After exploring the Brahma Builder Kit's architecture and its core components - the Execution and Orchestration layers - let's examine how the Orchestration Layer enables rapid automation deployment and seamless integration for Console users. This layer's infrastructure streamlines the process of creating and managing automated workflows while maintaining security and reliability.