A secure, high-performance validator for Platform Network that executes challenges
in TDX-secured VMs via dstack, using confidential computing with end-to-end security,
built with Rust and Dstack-TEE.
Getting Started · Launching a Validator · Architecture · Usage · Security · API Reference
Caution
The Platform Validator is currently in early development. Some features may be incomplete, APIs may change, and potential security vulnerabilities may exist. The team is actively testing to ensure everything is properly implemented and stable. Not ready for production use.
Platform Network consists of several interconnected components that work together to provide a secure, decentralized challenge evaluation system:
| Project | Repository | Description |
|---|---|---|
| Platform Validator | PlatformNetwork/platform | Secure, high-performance validator built in Rust that executes challenges in TDX-secured VMs via dstack VMM. Manages job execution, challenge lifecycle, CVM provisioning, resource quota allocation, and result submission. Provides WebSocket connectivity to Platform API and challenge CVMs. |
| Challenge SDK | PlatformNetwork/challenge | Modern Python SDK for building verifiable challenges on Platform Network. Provides decorator-based lifecycle management, encrypted WebSocket communication with TDX attestation, automatic database migrations, custom weights calculation, and public API endpoints. |
| Platform API | PlatformNetwork/platform-api | Central orchestrator and API service for Platform Network. Built in Rust with Axum, manages challenge deployment and configuration, job queuing and distribution, validator coordination, TDX/SGX/SEV-SNP attestation verification, ORM bridge for secure database access, token emission scheduling, and public endpoint proxying. |
| Terminal Challenge | PlatformNetwork/term-challenge | A secure Terminal Challenge for evaluating Terminal-Bench agents on Platform Network. Enables developers to run and monetize their terminal-based AI agents through isolated evaluation environments, performance-based rewards, and continuous improvement through encrypted competitive collaboration. |
- TDX-Secured Execution: Runs challenges in isolated TDX VMs with hardware attestation
- Job Management: Automated job claiming, execution, and result submission
- Challenge Monitoring: Automatic detection of challenge updates via GitHub commit monitoring
- Resource Management: Intelligent CVM quota management with resource capacity tracking
- Network Isolation: Configurable network whitelist policies for challenge execution
- WebSocket Support: Real-time notifications for new jobs and challenge updates
- Dynamic Values: Secure key-value storage for challenge state management
- Platform Integration: Full integration with Platform API for challenge and job management
For complete documentation, see:
- Getting Started - Installation, prerequisites, and quick start guide
- Launching a Validator - Instructions for launching validators (see validator-launcher for full details)
- Architecture - System architecture, components, and Platform API/Validator roles
- Usage - Validator lifecycle, job execution, challenge management, and configuration
- Security - Security architecture, TDX attestation, CVM isolation, and network policies
- API Reference - Complete API documentation for all endpoints and components
- CVM Setup - Comprehensive guide for deploying validator as CVM
- Development - Development setup, project structure, Rust tooling, and contributing
- Troubleshooting - Common errors and solutions
Copyright 2025 Cortex Foundation
Licensed under the MIT License.
See LICENSE file for details.
Made with love by the Cortex Foundation