Skip to content

Latest commit

Β 

History

History
126 lines (91 loc) Β· 3.58 KB

File metadata and controls

126 lines (91 loc) Β· 3.58 KB

CyberAi.network

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.

πŸš€ Quick Start

# 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 dev

Visit cyberai.network for full documentation.

πŸ“ Repository Structure

CyberAi/
β”œβ”€β”€ contracts/          # Machine-readable contracts for ecosystem participants
β”‚   β”œβ”€β”€ agents/        # AI agent contracts
β”‚   β”œβ”€β”€ repositories/  # Repository contracts
β”‚   β”œβ”€β”€ runners/       # Runner contracts (future)
β”‚   └── contract.schema.json
β”œβ”€β”€ prompts/           # Operator-grade instruction prompts
β”‚   β”œβ”€β”€ agents/        # Agent prompts
β”‚   β”œβ”€β”€ operators/     # Operator prompts
β”‚   └── workflows/     # Workflow prompts
β”œβ”€β”€ tools/             # Operational tools
β”‚   β”œβ”€β”€ bootstrap/     # Bootstrap script
β”‚   └── audit/         # Audit script
β”œβ”€β”€ site/              # GitHub Pages site (Astro)
β”‚   └── src/
β”‚       β”œβ”€β”€ pages/     # Documentation and site pages
β”‚       └── layouts/   # Page layouts
β”œβ”€β”€ docs/              # Additional documentation
└── .github/
    └── workflows/     # CI/CD workflows

πŸ”‘ Key Features

Contract Registry

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

Automation Tools

  • Bootstrap: Verifies environment, installs dependencies, validates contracts, builds site
  • Audit: Validates contracts, workflows, and site integrity

GitHub Pages Site

Static site powered by Astro, serving:

  • Comprehensive documentation
  • Contract browsing
  • API reference
  • Quickstart guides

πŸ› οΈ Development

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Git

Local Development

# Install dependencies
npm install

# Validate contracts
./tools/audit/audit.sh

# Build site
cd site
npm run build

# Preview site
npm run preview

Adding Contracts

  1. Create contract JSON in contracts/agents/ or contracts/repositories/
  2. Validate: ajv validate -s contracts/contract.schema.json -d "contracts/agents/your-contract.json" --strict=false
  3. Submit PR

See Contract Documentation for details.

πŸ“š Documentation

🀝 Contributing

See CONTRIBUTING.md for contribution guidelines.

πŸ”’ Security

See SECURITY.md for security policies and vulnerability reporting.

πŸ“„ License

Licensed under the Apache 2.0 License. See LICENSE for details.

🌐 Links


Built with ❀️ by the CyberAi community