Skip to content

CastQuest/CyberAi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 58.2%
  • Astro 20.7%
  • Shell 12.5%
  • JavaScript 4.6%
  • PowerShell 2.3%
  • TypeScript 1.7%