Introduction
The Cowboy documentation is comprehensive and covers many topics. This guide helps you find the most relevant content based on your role, experience level, and goals.By Role
Application Developer
Goal: Build actors (smart contracts) on Cowboy You should focus on:- High-level concepts
- SDK usage
- Actor patterns
- Deployment
1
Quick Overview
What is Cowboy? (5 min)Key Innovations (10 min)
2
Hands-On Start
3
SDK Mastery
Repository LayoutUnderstand the documentation structure
4
Best Practices
5
Advanced Topics
- Core protocol implementation details
- Consensus mechanisms
- Validator operations
Protocol Developer
Goal: Contribute to Cowboy core or build infrastructure You should focus on:- Architecture deep dives
- Protocol specifications (CIPs)
- Implementation details
- Consensus and networking
1
Foundation
2
Deep Dive: Actor VM
3
Deep Dive: Fee System
4
Deep Dive: Scheduler
5
Deep Dive: Off-Chain Compute
6
Codebase
Repository Layout (15 min)Contributing Guide (20 min)
AI/ML Engineer
Goal: Build autonomous AI agents on Cowboy You should focus on:- Off-chain compute capabilities
- Python actor development
- Model inference patterns
- Data handling
1
Overview
2
Quick Start
3
Off-Chain Deep Dive
4
SDK for AI
Repository LayoutFocus on off-chain task submission APIs (see CIP-2)
5
Runner Economics
Understand Runner Economics (see Off-Chain Overview)Learn how pricing works for compute tasks
- ✅ Off-chain computation via runners (CIP-2)
- ✅ Verifiable result submission (per framework rules)
- ✅ Deterministic on-chain callbacks via deferred transactions (CIP-2)
DeFi Developer
Goal: Build DeFi protocols (DEX, lending, derivatives) You should focus on:- Actor patterns
- Gas optimization
- Security (reentrancy, etc.)
- Transaction atomicity
1
Basics
What is Cowboy? (5 min)Quickstart Guide (15 min)
2
SDK & Patterns
3
Security (Critical!)
Review scheduling and congestion handling (CIP-1), determinism constraints, and best practices.
4
Gas Optimization
5
Advanced Patterns
- Flash loans (via atomic transactions)
- Oracle integration (via off-chain compute)
- Governance (via timers for delayed execution)
- ✅ Native timers for scheduled execution (CIP-1)
- ✅ Dual-metered pricing for compute vs data (CIP-3)
Security Researcher
Goal: Audit actors or find protocol vulnerabilities You should focus on:- Security model
- Attack vectors
- Gas economics
- Consensus safety
1
Architecture
2
Attack Vectors
Study vulnerable patterns and congestion handling in the context of CIP-1 and CIP-3.
3
Resource Limits
Review determinism, metering, and limits (see CIP-3 and Actor VM sections).
4
Gas Economics
5
Consensus Security
Review consensus mechanism and Byzantine fault tolerance assumptions.
6
Off-Chain Security
Off-Chain OverviewConsider runner selection and collusion risks (see CIP-2).
Researcher / Academic
Goal: Understand novel mechanisms and write papers You should focus on:- Novel contributions
- Formal specifications
- Economic models
- Performance analysis
1
High-Level Vision
2
Novel Mechanism 1: Dual-Metered Gas
3
Novel Mechanism 2: Autonomous Scheduling
Scheduler OverviewResearch angle: Gas bidding for timers
4
Novel Mechanism 3: Verifiable Off-Chain
Off-Chain OverviewResearch angle: VRF-based task assignment
5
Economics
6
Governance
Parameters (15 min)Compatibility (15 min)
- Whitepaper and CIPs (see documentation)
- Dual-resource EIP-1559 dynamics
- VRF-based task assignment fairness
- Gas bidding agent strategies
- Off-chain compute verification trade-offs
By Experience Level
Blockchain Beginner
You’re new to blockchain entirely Start here: Then:- SDK docs and examples (as available)
- Deep architecture docs
- Protocol specifications
- Consensus mechanisms
Python Developer (No Blockchain)
You know Python but not blockchain Your Advantages:- ✅ Python syntax familiarity
- ✅ Testing frameworks familiarity
- Blockchain basics: Blocks, transactions, consensus
- Determinism: Whitelisted modules, no JIT, strict UTF-8
- Fees: Dual-metered Cycles (compute) and Cells (data)
- Immutability: Code can’t be changed after deploy
- Persist state via provided storage APIs
- Do not access filesystem/network directly
- Consume metered resources (Cycles/Cells)
- Are immutable after deployment
Advanced / Protocol Level
You want to understand everything deeply Comprehensive Path:2
3
Fee System
4
Scheduler
- Scheduler Overview
- CIP-1
5
Off-Chain
- Off-Chain Overview
- CIP-2
6
Transactions
- Idempotency
- Reentrancy
7
Development
- SDK (as available)
- Best Practices
By Goal
”I want to build a DApp quickly”
Fast Track:- Quickstart
- SDK docs (as available)
- Examples (as available)
“I want to build production-grade contracts”
Quality Track:- Quickstart
- Best Practices
- Security
- Fee Model
- Testing
”I want to run infrastructure (validator/runner)”
Infrastructure Track:- Architecture Overview
- Repository Layout
- Validator guide (as available)
- Runner guide (as available)
- Off-Chain Overview
”I want to contribute to Cowboy”
Contributor Track:- Repository Layout
- Contributing Guide
- Writing rules and style guides
- Pick an area (core/SDK/docs)
- Start contributing

