QubeAgent introduces a new class of context and risk intelligent agents underpinned by the iQube protocol.
To create a unified, secure, and adaptive framework that revolutionizes how intelligence systems understand, process, and interact with complex information landscapes. Our mission is to create an agent ecosystem that prioritizes:
- Comprehensive risk and value analysis
- Dynamic semantic context generation
- Secure and verifiable data interactions
- iQubes: Reliable and verifiable decentralized information assets
- Smart Agents: Intelligent, context-aware autonomous agents
- LangChain: Advanced natural language understanding
- DB-GPT: Semantic database querying and analysis
- AWEL: Adaptive Workflow Execution Layer
-
Context Layer
- Driven by iQube and blakQube content
- Dynamic context generation
- Retrieval Augmented Generation (RAG)
- Web search and information aggregation
-
Service Layer
- API integration and service discovery
- Wallet and blockchain interactions
- CRUD operations management
-
State Layer
- Blockchain-backed state persistence
- Immutable transaction logging
- Agent memory management
- Robust data encapsulation
- Cryptographic information management
- Decentralized governance
- Verifiable risk assessment
- Immutable programmability
- Context-aware decision making
- Dynamic intelligence generation
- Adaptive reasoning capabilities
- Multi-model and multi-modal inference and automation
- Complex prompt engineering
- Advanced natural language and non-linguistic processing
- Semantic context vectorization
- Natural language query processing
- Advanced database interaction
- Dynamic service composition
- Granular task management
- Fault-tolerant execution
- MetaQube: Public, verifiable metadata
- BlakQube: Private, encrypted data
- TokenQube: Token-gated data decryption and access
- DataQube: Alpha-numeric data representation
- ContentQube: Multi-modal content (blob) representation
- AgentQube: AI agent performance and compliance tracking
- Node.js 18+
- npm or pnpm 8+
- Python 3.8+
- tmux (for unified development script)
- Web3-compatible wallet (for blockchain features)
# Clone the repository
git clone https://github.com/your-organization/QubeAgent.git
cd QubeAgent
# Install frontend dependencies
npm install
# Install backend dependencies
pip install -r requirements.txt
# Set up environment variables
cp .env.example .env.developmentEdit .env.local with your settings:
# Core API Configuration
NEXT_PUBLIC_CORE_API_URL=http://localhost:8000
CORE_API_KEY=your_api_key_here
# Registry API Configuration
NEXT_PUBLIC_REGISTRY_API_URL=http://localhost:8001
REGISTRY_API_KEY=your_registry_api_key_here
# Aigent Configuration
NEXT_PUBLIC_AIGENT_API_URL=http://localhost:8002
AIGENT_API_KEY=your_aigent_api_key_hereUse our unified development script to start both the Python backend and Next.js frontend in a single tmux session:
# Make the script executable (first time only)
chmod +x start_dev.sh
# Start both servers in a tmux session
./start_dev.shThis will start:
- Flask backend on
http://localhost:5000 - Next.js frontend on
http://localhost:3000
# Start Python backend
python app.py
# In a separate terminal, start Next.js frontend
npm run dev
# Production build (frontend only)
npm run build
npm start
# Run tests
npm test/
├── app/ # Next.js application
│ ├── aigents/ # Aigent personas and chat
│ ├── api/ # Next.js API routes
│ │ ├── aigent/ # Aigent API endpoints
│ │ ├── core/ # Core API endpoints
│ │ └── registry/ # Registry API endpoints
│ ├── dashboard/ # Main dashboard
│ ├── iqube/ # iQube operations
│ ├── registry/ # Registry integration
│ └── settings/ # User settings
├── components/ # Shared UI components
│ ├── registry/ # Registry-specific components
│ └── ui/ # Shared UI library
├── agents/ # Python agent implementations
├── qube_agent/ # Core Python backend modules
│ ├── models/ # Data models
│ ├── reasoning/ # AI reasoning modules
│ └── utils/ # Utility functions
├── qube_integrations/ # External integrations
├── static/ # Static assets
└── templates/ # HTML templates for Flask
- Minimum disclosure by default
- Network level anonymity with contextually dynamic application level identifiability
- Contextually dynamic encryption and access control
- Risk driven rules and context assessment
- Quantum readiness
- Zero-knowledge encryption
- Homomorphic encryption support
- Multi-party computation
- Differential Privacy
- Comprehensive risk assessment
- Microservices architecture
- Horizontal scaling
- Event-driven design
- Adaptive resource allocation
- Fixed Critical Sidebar Bug: Resolved infinite update loop that caused application crashes when interacting with form inputs
- Enhanced UI Consistency: Added dynamic Sats price display in MetaQube headers for Instance mode
- Improved Navigation: Added iQube names to View tab headers with consistent formatting across all modes
- metaMe Persona: Added new AI persona with full integration into sidebar navigation and chat functionality
- Price Synchronization: Fixed price mismatch between MetaQube headers and data sections
- Cleaner Headers: Removed redundant "Template" and "Instance" text from operation headers
- Manual Sidebar Control: Replaced problematic auto-expansion with user-controlled section management
- State Management: Separated navigation-based opening from form interactions to prevent cascading effects
- Process Management: Enhanced PM2 configuration with log rotation and auto-start capabilities
- Persistent Nakamoto-style sidebar navigation with manual section control
- Global dark theme with modern UI and enhanced stability
- Keyboard shortcuts for quick navigation
- Fixed auto-expansion issues for reliable user experience
- Multiple specialized AI agent personas including new metaMe persona
- Context Transformation panel for each agent
- Persistent chat history and context management
- View Mode: Browse and inspect iQube metadata and structure
- Use Mode: Populate iQube instances from templates with controlled editing
- Edit Mode: Full template editing with dynamic field management
- Decrypt Mode: Secure BlakQube data decryption with proper authorization
- Mint Mode: Convert completed templates to blockchain-backed instances
- Activate Mode: Activate existing iQube instances with secure codes
- Multi-Mode Tab Navigation: Color-coded tabs with ARIA accessibility compliance
- Dynamic Template Management: Instance counting and version control
- Smart Field Validation: Real-time validation with visual feedback
- Source Icon Integration: Visual indicators for data source types
- Responsive Design: Optimized for various screen sizes with dark theme
- Template Creation: Build reusable iQube templates with custom fields
- Instance Generation: Create numbered instances from templates (e.g., "3 of 21")
- Version Control: Automatic version incrementing for template updates
- Provenance Tracking: Complete audit trail of template modifications
- Validation System: Comprehensive field validation before minting/saving
- Browse iQube templates and instances
- Create and register new iQubes
- View analytics and insights on registry data
- Expanded multi-modal support
- Enhanced cross-agent collaboration
- Advanced predictive intelligence
- Decentralized AI governance models
- Fork the repository
- Create a feature branch
- Implement changes
- Write comprehensive tests
- Submit pull request
[Specify your licensing model]
- Project Lead: [Your Name]
- Community: [Discord/Slack Link]
- Support: [Email/Support Channel]
Note: This is a living project. We encourage collaborative improvement and innovation.