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
Quick Overview
Hands-On Start
SDK Mastery
@actor decorator, self.storage, and runner.continuation FSM (CIP-6)Examples Curriculum — source-checkout examples from first actor through runner-backed agentsBest Practices
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
Foundation
Deep Dive: Actor VM
Deep Dive: Fee System
Deep Dive: Scheduler
Deep Dive: Off-Chain Compute
Codebase
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
Overview
Quick Start
Off-Chain Deep Dive
SDK for AI
runner.llm(), runner.http(), runner.mcp() continuation patternsStudy the runner and LLM lessons in the examples curriculumRunner Economics
- ✅ LLM / HTTP / MCP executors (CIP-2)
- ✅ Verifiable result submission (N-of-M, TEE, or ZK)
- ✅ Continuation FSM for async callbacks (CIP-6)
- ✅ CBFS for model weights and dataset storage
DeFi Developer
Goal: Build DeFi protocols (DEX, lending, derivatives) You should focus on:- Actor patterns
- Gas optimization
- Security (reentrancy, etc.)
- Transaction atomicity
Basics
SDK & Patterns
Security (Critical!)
Gas Optimization
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
Architecture
Attack Vectors
Resource Limits
Gas Economics
Consensus Security
Off-Chain Security
Researcher / Academic
Goal: Understand novel mechanisms and write papers You should focus on:- Novel contributions
- Formal specifications
- Economic models
- Performance analysis
High-Level Vision
Novel Mechanism 1: Dual-Metered Gas
Novel Mechanism 2: Autonomous Scheduling
Novel Mechanism 3: Verifiable Off-Chain
Economics
Governance
- 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: Skip (for now):- 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:Fee System
Scheduler
- Scheduler Overview
- CIP-1
Off-Chain
- Off-Chain Overview
- CIP-2
Transactions
- Idempotency
- Reentrancy
Development
By Goal
”I want to build a DApp quickly”
Fast Track:”I want to build production-grade contracts”
Quality Track:- Quickstart
- Best Practices
- Resource Limits
- Fee Model
- Testing (via
cowboy_sdk.mock_host, hosted devnet, and optional local devnet)
“I want to run infrastructure (validator/runner)”
Infrastructure Track:- Architecture Overview
- Source Layout — the
node/,runner/,cbfs/trees in a full source workspace - Off-Chain Overview
- Local validator and deployment tooling from the full source workspace
”I want to contribute to Cowboy”
Contributor Track:- Source Layout
- Contributing Guide
- Writing rules and style guides
- Pick an area (core/SDK/docs)
- Start contributing

