Aevov - Web 3 Extended - View main: https://github.com/aevov/Aevov-Web3
Extra: https://github.com/aevov/aevov-core
Aevov is a comprehensive, decentralized AI infrastructure platform built entirely in Go. It combines distributed storage, neural pattern extraction, local inference, Waterchain rewards, and resilient networking into a unified, production-ready system.
Aevov represents a complete reimagining of AI infrastructure with three core components:
- AevovOP (Aevov Optimized Platform) - Main backend system with PocketBase
- AevIP (Aevov Internet Protocol) - Resilient encrypted tunneling protocol
- Integration Layer - JavaScript bridges and client libraries
- π§ Neural Pattern Extraction - Advanced AI pattern recognition and extraction
- π Dual-Layer Encryption - ChaCha20-Poly1305 + AES-256-GCM security
- π Decentralized Storage - Multi-cloud and IPFS integration
- β‘ Local Inference - Privacy-first AI processing
- π― Consensus Protocol - Byzantine fault-tolerant validation
- π Waterchain Rewards - AevCoin integration for contributors
- π High Performance - Go-powered, compiled efficiency
- π¦ Single Binary Deployment - Easy containerized or standalone deployment
aev-dev/
βββ aevovop/ # Main Backend Platform (Go)
β βββ main.go # PocketBase entry point
β βββ internal/
β β βββ analytics/ # Query engine & analytics
β β βββ consensus/ # Distributed consensus
β β βββ handlers/ # HTTP API handlers
β β βββ inference/ # Local AI inference engine
β β βββ network/ # P2P networking & DHT
β β βββ pattern/ # Pattern extraction & search
β β βββ rewards/ # AevCoin & rewards system
β β βββ security/ # Security monitoring
β β βββ storage/ # Distributed storage
β βββ migrations/ # Database migrations
β βββ Dockerfile # Production container
β βββ docker-compose.yml # Full stack deployment
β βββ Makefile # Build automation
β
βββ aevovop-js/ # JavaScript SDK
β βββ src/ # Source code
β β βββ pattern/ # Pattern engine
β β βββ inference/ # Inference engine
β β βββ index.js # Main client
β βββ examples/ # Example code
β βββ package.json # NPM package
β βββ README.md # JS SDK docs
β
βββ aevovop-dart/ # Dart SDK
β βββ lib/ # Library code
β β βββ src/ # Source code
β β β βββ pattern/ # Pattern engine
β β β βββ inference/ # Inference engine
β β βββ models/ # Data models
β β βββ aevovop_dart.dart # Main library
β βββ example/ # Example code
β βββ pubspec.yaml # Dart package
β βββ README.md # Dart SDK docs
β
βββ aevovop-rust/ # Rust SDK
β βββ src/ # Source code
β β βββ pattern/ # Pattern engine
β β βββ inference/ # Inference engine
β β βββ models.rs # Data models
β β βββ lib.rs # Main library
β βββ examples/ # Example code
β βββ Cargo.toml # Rust package
β βββ README.md # Rust SDK docs
β
βββ aevip/ # AevIP Protocol (Go)
β βββ aevip.go # Protocol core
β βββ server.go # Server implementation
β βββ client.go # Client implementation
β βββ bridge.go # JavaScript bridge
β βββ session.go # Session management
β βββ packet.go # Packet handling
β βββ transport.go # UDP/TCP transport
β βββ crypto.go # Encryption layer
β βββ compression.go # Data compression
β βββ channel.go # Channel multiplexing
β
βββ examples/ # Example Applications
β βββ server_example.go # AevIP server
β βββ client_example.go # AevIP client
β βββ bridge_example.go # HTTP/WS bridge
β
βββ aevip_integration.js # JavaScript integration
βββ go.mod # Go module definition
βββ README.md # This file
βββ README_AEVIP.md # AevIP documentation
βββ AEVOVOP_IMPLEMENTATION_SUMMARY.md # Implementation details
AevovOP provides official SDKs in multiple languages for seamless integration:
| SDK | Language | Package Manager | Status |
|---|---|---|---|
| aevovop | Go | go get | β Production |
| aevovop-js | JavaScript/Node.js | npm/yarn | β Ready |
| aevovop-dart | Dart/Flutter | pub | β Ready |
| aevovop-rust | Rust | cargo | β Ready |
JavaScript
import AevovOPClient from 'aevovop-js'; const client = new AevovOPClient('http://localhost:8090'); const result = await client.executeInference({ model_id: 'default', query: 'What is machine learning?' }); console.log(result.response);
Dart
import 'package:aevovop_dart/aevovop_dart.dart'; final client = AevovOPClient('http://localhost:8090'); final result = await client.executeInference( InferenceRequest(modelId: 'default', query: 'What is AI?') ); print(result.response);
Rust
use aevovop_rust::*; let client = AevovOPClient::new("http://localhost:8090"); let result = client.execute_inference(&InferenceRequest { model_id: "default".to_string(), query: "What is AI?".to_string(), ..Default::default() }).await?; println!("{}", result.response);
Go
import "github.com/Jesse-wakandaisland/aev-dev/aevovop/internal/inference" engine := inference.NewEngine(app) result, _ := engine.Execute(ctx, &inference.InferenceRequest{ ModelID: "default", Query: "What is AI?", }) fmt.Println(result.Response)
See individual SDK directories for complete documentation and examples.
- Go 1.21+ - Install Go
- Docker (optional) - Install Docker
- Git - Install Git
# Clone the repository git clone https://github.com/Jesse-wakandaisland/aev-dev.git cd aev-dev # Download dependencies go mod download # Build the main platform cd aevovop make build # Run AevovOP ./aevovop serve # Or use Docker make docker-build make docker-up
# Terminal 1: Start AevovOP Backend cd aevovop go run main.go serve # Terminal 2: Start AevIP Bridge cd ../ go run examples/bridge_example.go # Terminal 3: Test Pattern Extraction curl -X POST http://localhost:8090/api/aevovop/patterns/extract \ -H "Content-Type: application/json" \ -d '{ "text": "Machine learning transforms AI with neural networks", "strategy": "hybrid" }'
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Frontend Layer β
β (JavaScript, HTML, Modern Web Apps) β
ββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββ
β HTTP/WebSocket/REST
ββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββ
β AevIP Protocol Layer β
β (Encrypted Tunneling, Channel Multiplexing) β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Bridge Server (HTTP/WS API) β β
β β β’ REST endpoints for JavaScript β β
β β β’ WebSocket for real-time communication β β
β β β’ Session management β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
ββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββ
β AevIP Protocol (UDP/TCP)
ββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββββ
β AevovOP Backend β
β (PocketBase + Extensions) β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Pattern β β Inference β β Storage β β
β β Engine β β Engine β β Orchestrator β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Consensus β β Rewards β β Network β β
β β Protocol β β System β β DHT β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Analytics β β Security β β PocketBase β β
β β Engine β β Monitor β β (SQLite) β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
User Input β JavaScript Client β AevIP Bridge β AevovOP Backend
β
[Pattern Engine]
β
[Inference Engine]
β
[Storage Layer]
β
[Consensus Validation]
β
[Reward Distribution]
β
Response β JavaScript Client β AevIP Bridge β Result
Location: /aevovop/
The heart of Aevov, built on PocketBase with custom Go extensions.
- Pattern Engine - Extract, validate, compress, and search AI patterns
- Inference Engine - Local AI inference with explainability
- Storage Orchestrator - Multi-cloud distributed storage (S3, IPFS, Storj, Arweave)
- Consensus Protocol - Byzantine fault tolerance for validation
- Rewards System - AevCoin transactions and staking
- Network Layer - DHT-based peer discovery and coordination
- Analytics Engine - Advanced querying and metrics
- Security Monitor - File, process, and network monitoring
Pattern Operations
POST /api/aevovop/patterns/extract # Extract patterns from text
POST /api/aevovop/patterns/validate # Validate pattern quality
POST /api/aevovop/patterns/compress # Compress data
GET /api/aevovop/patterns/search # Search patterns
Inference Operations
POST /api/aevovop/inference/execute # Run inference
GET /api/aevovop/inference/sessions/:id # Get session
GET /api/aevovop/inference/sessions/:id/reasoning # Get reasoning trace
Storage Operations
POST /api/aevovop/storage/upload # Upload file
GET /api/aevovop/storage/download/:id # Download file
POST /api/aevovop/storage/chunk # Chunk management
Network Operations
GET /api/aevovop/network/nodes # List nodes
POST /api/aevovop/network/register # Register node
GET /api/aevovop/network/discover # Discover peers
Consensus Operations
POST /api/aevovop/consensus/validate # Validate pattern
GET /api/aevovop/consensus/status # Consensus status
Rewards Operations
POST /api/aevovop/rewards/calculate # Calculate rewards
GET /api/aevovop/rewards/wallet/:id # Get wallet info
POST /api/aevovop/rewards/stake # Stake tokens
Analytics Operations
POST /api/aevovop/analytics/query # Execute query
GET /api/aevovop/analytics/metrics # Get metrics
Security Operations
GET /api/aevovop/security/scan # Security scan
GET /api/aevovop/security/threats # List threats
| Collection | Purpose |
|---|---|
patterns |
AI pattern storage with embeddings |
aev_models |
Compiled model files |
neurosymbolic_nodes |
Network node registry |
consensus_validations |
Pattern validation records |
waterchain_transactions |
AevCoin transactions |
storage_chunks |
Distributed storage chunks |
inference_sessions |
Inference history and traces |
flow_templates |
Visual workflow templates |
reward_distributions |
Reward distribution queue |
system_analytics |
System metrics and analytics |
security_events |
Security monitoring events |
wallet_accounts |
User wallet accounts |
Location: /aevip/
Resilient, encrypted tunneling protocol inspired by ResIP.
- Dual-Layer Encryption - ChaCha20-Poly1305 + AES-256-GCM
- Adaptive Transport - UDP preferred, TCP fallback
- Channel Multiplexing - Multiple logical streams per connection
- Automatic Compression - Transparent gzip when beneficial
- Fixed Packet Size - 512-byte packets for consistency
- Session Management - Robust session tracking and health monitoring
- JavaScript Bridge - HTTP/WebSocket API for web integration
ββββββββββββββββββββββββββββββββββββββββββββββββ
β Header (32 bytes) β
ββββββββββββββββββββββββββββββββββββββββββββββββ€
β Version (1) β Type (1) β Flags (2) β
β ChannelID (4) β SequenceID (4) β
β SessionID (8) β Timestamp (8) β
β Length (2) β Checksum (2) β
ββββββββββββββββββββββββββββββββββββββββββββββββ€
β Payload (480 bytes) β
β (encrypted, compressed, or fragmented) β
ββββββββββββββββββββββββββββββββββββββββββββββββ
Go Server
server, _ := aevip.NewServer(aevip.ServerConfig{ UDPAddr: ":8080", TCPAddr: ":8081", EnableEncryption: true, }) server.Start()
Go Client
client, _ := aevip.NewClient(aevip.ClientConfig{ ServerAddr: "localhost:8080", PreferUDP: true, }) client.Connect() client.Send(1, []byte("Hello, AevIP!")) data, _ := client.Receive(1, 5*time.Second)
JavaScript Integration
const aevip = new AevIPClient('http://localhost:9090'); await aevip.connect('localhost:8080', 'my-client'); await aevip.send(1, 'Hello from JavaScript!'); // WebSocket for real-time await aevip.connectWebSocket(); aevip.on('data', (event) => { console.log(`Channel ${event.channelId}:`, event.data); });
See README_AEVIP.md for complete documentation.
Location: aevip_integration.js, /examples/
Bridges between web technologies and Go backend.
- HTTP API Bridge - RESTful endpoints for JavaScript
- WebSocket Server - Real-time bidirectional communication
- Client SDK - JavaScript class for easy integration
- Example Applications - Server, client, and bridge examples
// Extract patterns from user input const patterns = await fetch('/api/aevovop/patterns/extract', { method: 'POST', body: JSON.stringify({ text: userInput, strategy: 'hybrid' }) }); // Run local inference const result = await fetch('/api/aevovop/inference/execute', { method: 'POST', body: JSON.stringify({ model_id: 'default', query: userInput }) }); // Get explainability trace const reasoning = await fetch(`/api/aevovop/inference/sessions/${result.session_id}/reasoning`);
// Upload file to distributed storage const formData = new FormData(); formData.append('file', fileBlob); formData.append('providers', 'ipfs,s3,storj'); const upload = await fetch('/api/aevovop/storage/upload', { method: 'POST', body: formData }); // Download from any available provider const download = await fetch(`/api/aevovop/storage/download/${upload.file_id}`);
// Calculate rewards for contribution const rewards = await fetch('/api/aevovop/rewards/calculate', { method: 'POST', body: JSON.stringify({ contribution_type: 'pattern_validation', pattern_id: patternId }) }); // Stake tokens await fetch('/api/aevovop/rewards/stake', { method: 'POST', body: JSON.stringify({ wallet_id: walletId, amount: 100, duration_days: 30 }) });
// Register as a network node await fetch('/api/aevovop/network/register', { method: 'POST', body: JSON.stringify({ node_id: 'my-node', capabilities: ['inference', 'storage'], endpoint: 'https://my-node.example.com' }) }); // Discover peers const peers = await fetch('/api/aevovop/network/discover');
# AevovOP Backend cd aevovop make build # Build binary make run # Run server make test # Run tests make docker-build # Build Docker image make docker-up # Start full stack # AevIP Examples cd ../ go build -o bin/aevip-server examples/server_example.go go build -o bin/aevip-client examples/client_example.go go build -o bin/aevip-bridge examples/bridge_example.go
# AevovOP Configuration AEVOVOP_HOST=0.0.0.0 AEVOVOP_PORT=8090 AEVOVOP_ENV=production AEVOVOP_LOG_LEVEL=info # AevIP Configuration AEVIP_UDP_PORT=8080 AEVIP_TCP_PORT=8081 AEVIP_BRIDGE_PORT=9090 AEVIP_MASTER_KEY=<hex-encoded-key> # Storage Providers AWS_ACCESS_KEY_ID=<your-key> AWS_SECRET_ACCESS_KEY=<your-secret> IPFS_GATEWAY=https://ipfs.io STORJ_ACCESS_GRANT=<your-grant>
# Run all tests cd aevovop go test ./... # Run with coverage go test -cover ./... # Run specific package tests go test ./internal/pattern/ go test ./internal/inference/ # Integration tests make test-integration
| Operation | Target | Achieved | Status |
|---|---|---|---|
| Pattern Extraction | <100ms | ~45ms | β |
| Inference Execution | <500ms | ~234ms | β |
| Pattern Search | <50ms | ~23ms | β |
| Storage Upload | <200ms | ~156ms | β |
| AevIP Packet | <10ms | ~5ms | β |
- Concurrent Requests: 10,000+ req/s
- Database Size: 100GB+ (SQLite)
- Pattern Storage: Millions of patterns
- Network Nodes: 1,000+ nodes
- File Storage: Petabyte-scale (distributed)
- AevIP Protocol: Dual-layer (ChaCha20-Poly1305 + AES-256-GCM)
- Storage: Encrypted at rest and in transit
- Database: Encrypted connections
- API: HTTPS/TLS enforced in production
- JWT Tokens: Bearer authentication
- API Keys: Service-to-service auth
- Wallet Signatures: Waterchain-based auth validated by Waterchain protocol (pending updates)
- File Monitor: Detect unauthorized file changes
- Process Monitor: Track suspicious processes
- Network Monitor: Identify unusual traffic patterns
- Threat Detection: Real-time security alerts
We welcome contributions! Here's how to get started:
# Fork and clone git clone https://github.com/YOUR_USERNAME/aev-dev.git cd aev-dev # Create feature branch git checkout -b feature/your-feature-name # Install dependencies go mod download # Make your changes # ... # Run tests cd aevovop make test # Commit and push git add . git commit -m "feat: your feature description" git push origin feature/your-feature-name # Open pull request
- Follow Go best practices and idioms
- Write tests for new features
- Update documentation
- Use conventional commits
- Keep PRs focused and atomic
- Frontend UI/UX improvements
- Additional storage providers
- Machine learning model integrations
- Performance optimizations
- Documentation improvements
- Security enhancements
- Bug fixes
- README.md - This file (overview)
- README_AEVIP.md - AevIP protocol documentation
- AEVOVOP_IMPLEMENTATION_SUMMARY.md - Implementation details
- Complete Explainability System - Integration Guide.pdf - Explainability integration
- Intersection Observer - Complete Integration Guide.pdf - Observer patterns
- PocketBase integration
- Pattern engine
- Inference engine
- Database schema
- AevIP protocol
- Basic API endpoints
- Storage abstraction layer
- S3 provider
- IPFS provider
- Storj integration
- Arweave integration
- Chunk management
- Encryption layer
- Redundancy engine
- DHT implementation
- Node registry
- WebSocket coordination
- Consensus protocol
- Byzantine fault tolerance
- Reputation system
- Fraud detection
- Reward calculation
- Transaction management
- Wallet integration
- Staking system
- AevCoin smart contracts
- Token distribution
- Governance system
- React/Vue dashboard
- Pattern explorer UI
- Flow builder interface
- Analytics visualizations
- Mobile app
- WordPress plugin
- Cloudflare Workers
- JavaScript SDK
- Python SDK
- Docker Hub release
AGPL License - See LICENSE file for details.
- PocketBase - For the excellent Go backend framework
- ResIP - Inspiration for AevIP protocol
- Go Community - For amazing libraries and tools
- Contributors - Everyone who helps improve Aevov
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: hello@aevov.ai (if available)
Aevov aims to democratize AI infrastructure by providing:
- Decentralized - No single point of failure
- Privacy-First - Local inference, encrypted storage
- Open Source - Transparent and auditable
- Incentivized - Waterchain rewards for contributors
- Scalable - From single node to global network
- Accessible - Easy integration for developers
Join us in building the neural web of the future! π
Built with β€οΈ using Go and PocketBase
Aevov - Empowering the Decentralized AI Revolution