AI-Powered Smart Contract Security & Orchestration Platform
CyberAi is the central control plane for the decentralized AI ecosystem, providing contract registry, automated workflows, and security tools for blockchain applications.
# Clone the repository
git clone https://github.com/SolanaRemix/CyberAi.git
cd CyberAi
# Run bootstrap (installs dependencies, validates contracts, builds site)
./tools/bootstrap/bootstrap.sh
# Start development server
cd site && npm run devVisit cyberai.network for full documentation.
CyberAi/
βββ contracts/ # Machine-readable contracts for ecosystem participants
β βββ agents/ # AI agent contracts
β βββ repos/ # Repository contracts
β βββ contract.schema.json
βββ prompts/ # Operator-grade instruction prompts
β βββ agents/ # Agent prompts
β βββ operators/ # Operator prompts
β βββ systems/ # System prompts
β βββ workflows/ # Workflow prompts
βββ src/ # Core source code
β βββ agents/ # Agent implementations
β βββ contracts/ # Contract validation
β βββ security/ # Security tools
β βββ utils/ # Shared utilities
βββ tests/ # Test suites
β βββ unit/ # Unit tests
β βββ integration/ # Integration tests
βββ tools/ # Operational tools
β βββ bootstrap/ # Bootstrap script
β βββ audit/ # Audit script
βββ site/ # Main Astro site (cyberai.network)
β βββ src/
β βββ pages/ # Documentation and site pages
β βββ layouts/ # Page layouts
βββ docs/ # Documentation portal (π§ Under Development)
βββ app/ # Main application (π§ Under Development)
βββ dashboard/ # Dashboard interface (π§ Under Development)
βββ terminal/ # Terminal interface (π§ Under Development)
βββ smartbrain/ # SmartBrain AI (π§ Under Development)
βββ audit/ # Audit tools (π§ Under Development)
βββ api/ # API documentation (π§ Under Development)
βββ scripts/ # Build and automation scripts
βββ .github/
βββ workflows/ # CI/CD workflows
βββ copilot/ # GitHub Copilot agent configuration
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CyberAi Platform β
β cyberai.network (Main) β
ββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββββΌββββββββββββββββ¬βββββββββββββββ
β β β β
ββββββββΌβββββββ βββββββΌββββββ ββββββββΌβββββββ ββββββΌββββββ
β Documentationβ β Dashboard β β Terminal β β API β
β Portal β β Interface β β Interface β β Gateway β
ββββββββββββββββ βββββββββββββ βββββββββββββββ ββββββββββββ
docs.* dashboard.* terminal.* api.*
β β β β
βββββββββββββββββΌββββββββββββββββ΄βββββββββββββββ
β
βββββββββββββββββΌββββββββββββββββ¬βββββββββββββββ
β β β β
ββββββββΌβββββββ βββββββΌββββββ ββββββββΌβββββββ ββββββΌββββββ
β SmartBrain β β Audit β β GitAntivirusβ β Main β
β AI β β Tools β β Scanner β β App β
βββββββββββββββ βββββββββββββ βββββββββββββββ ββββββββββββ
smartbrain.* audit.* app.*
β β β β
βββββββββββββββββ΄ββββββββββββββββ΄βββββββββββββββ
β
ββββββββββΌβββββββββ
β Contract Layer β
β βββββββββββββ β
β β Agents β β
β βββββββββββββ€ β
β β Repos β β
β βββββββββββββ€ β
β β Runners β β
β βββββββββββββ β
βββββββββββββββββββ
Machine-readable contracts define capabilities, requirements, and metadata for:
- Agents: AI services for security audits, code analysis, and automation
- Repositories: Code repositories providing functionality
- Runners: Execution environments for agents
- Bootstrap: Verifies environment, installs dependencies, validates contracts, builds site
- Audit: Validates contracts, workflows, and site integrity
Static site powered by Astro, serving:
- Comprehensive documentation
- Contract browsing
- API reference
- Quickstart guides
- Node.js 18+
- npm or yarn
- Git
# Install dependencies
npm install
# Validate contracts
./tools/audit/audit.sh
# Build site
cd site
npm run build
# Preview site
npm run preview- Create contract JSON in
contracts/agents/orcontracts/repositories/ - Validate:
ajv validate -s contracts/contract.schema.json -d "contracts/agents/your-contract.json" --strict=false - Submit PR
See Contract Documentation for details.
CyberAi includes a comprehensive build system with multiple tools and configurations for various development and deployment scenarios.
- Makefile: Cross-platform automation with 30+ targets
- TypeScript Compiler (tsc): Primary build tool
- esbuild: Advanced bundling with tree-shaking and minification
- Turbo: Monorepo orchestration with intelligent caching
- Docker: Multi-stage containerization with optimization
# Using Makefile (recommended)
make help # Show all available targets
make build # Build the project
make test # Run tests
make quality # Run all quality checks
make ci # Full CI pipeline
# Using npm scripts
npm run build # Standard build
npm run build:advanced # Production build with optimization
npm run build:esbuild # Build with esbuild bundler
npm run docker:build # Build Docker image
npm run docker:up # Start Docker Compose services- Multi-platform builds: Linux, macOS, Windows
- Multiple Node.js versions: 18, 20, 21
- Build caching: Intelligent caching with Turbo
- Build verification: Automatic output validation
- Build information: Metadata generation (version, commit, timestamp)
- Quality gates: Integrated linting, type checking, and testing
For complete build system documentation, see BUILD.md.
CyberAi is deployed using GitHub Pages with automatic deployment on push to the main branch.
- Platform: GitHub Pages
- Domain: cyberai.network
- Build System: Astro static site generator
- Deployment: Automated via GitHub Actions
- Push changes to the main branch
- GitHub Actions automatically builds the site
- Site is deployed to GitHub Pages
- Changes are live at cyberai.network
This project has been fully migrated from Vercel to GitHub Pages. A vercel.json configuration file is included to disable Vercel builds and prevent deployment conflicts.
If you're experiencing issues migrating from Vercel, use our diagnostic tool:
# Run the Vercel issue scanner
bash tools/vercel-scanner.shThis tool will:
- Check for Vercel configuration files
- Identify Vercel-specific dependencies
- Verify GitHub Pages setup
- Provide migration guidance
Note: The vercel.json file explicitly disables Vercel deployments. If the Vercel GitHub App is still connected to your repository, it will see this configuration and skip builds.
See CONTRIBUTING.md for contribution guidelines.
See SECURITY.md for security policies and vulnerability reporting.
Licensed under the Apache 2.0 License. See LICENSE for details.
- Website: cyberai.network
- GitHub: SolanaRemix/CyberAi
- Documentation: cyberai.network/docs
Built with β€οΈ by the CyberAi community