Autonomous Unified Recursive Architecture Multi-agent swarm orchestrator with NLP2COMMAND interface
ΞΞ¦ = 2.176435Γ10β»βΈ sβ»ΒΉ
AURA CLI is a command-line interface for managing multi-agent swarms with natural language processing, quantum circuit execution, and distributed mesh networking.
- π§ NLP2COMMAND: Natural language to command processing
- π€ Multi-Agent Orchestration: Coordinate quantum, architect, engineer, reviewer, and debugger agents
- π Mesh Networking: Distributed agent communication via WebSocket mesh
- βοΈ Quantum Integration: Execute circuits on IBM Quantum hardware
- π Consciousness Metrics: Track Ξ¦ (phi), Ξ (lambda), Ξ (gamma)
- π NLP2d3v: Natural language to development workflow
- π¬ Interactive Mode: REPL shell with NLP command processing
npm install -g @dnalang/aura-cliOr use with npx:
npx @dnalang/aura-cli --help# Start AURA swarm with mesh networking
aura swarm --start
# List active agents
aura swarm --list
# Stop swarm
aura swarm --stop# Create a quantum agent
aura agent create --type quantum --name "Q-Agent-1"
# Create multiple agents
aura nlp "spawn 3 engineer agents" --execute
# List all agents
aura agent list
# Get agent status
aura agent status --id <agent-id># Use NLP to create agents
aura nlp "create quantum agent named Alice"
# Execute quantum circuits
aura nlp "execute circuit on brisbane" --execute
# Orchestrate tasks
aura nlp "orchestrate analyze codebase" --execute
# System status
aura nlp "show system status"# Execute quantum circuit
aura quantum execute --backend ibm_brisbane --qubits 4
# List available backends
aura quantum backends
# View execution history
aura quantum list# Start interactive shell
aura interactive
# Or use alias
aura iIn interactive mode:
aura> create quantum agent
aura> list all agents
aura> execute circuit on brisbane
aura> status
aura> exit
Manage agent swarm lifecycle.
aura swarm --start # Start swarm with mesh networking
aura swarm --stop # Stop swarm
aura swarm --list # Show swarm status
aura swarm --dev # Development mode with hot reloadAgent operations (create, delete, list, status).
aura agent create --type <type> --name <name> --priority <1-10>
aura agent delete --id <agent-id>
aura agent list
aura agent status --id <agent-id>Agent Types:
quantum- Execute quantum circuitsarchitect- System design & planningengineer- Code implementationreviewer- Code reviewdebugger- Error analysiscustom- Custom agent type
Orchestrate multi-agent task execution.
aura orchestrate "analyze codebase" --parallel
aura orchestrate "implement feature" --agents agent1,agent2
aura orchestrate "review code" --workflow workflow.jsonOptions:
-a, --agents <agents...>- Agent IDs to involve-p, --parallel- Execute in parallel-w, --workflow <file>- Workflow definition file
Natural language command processing.
aura nlp "create quantum agent" --execute
aura nlp "list all agents" --dry-runOptions:
-e, --execute- Execute the interpreted command-d, --dry-run- Show interpretation without executing
Examples:
aura nlp "create quantum agent named Alice"
aura nlp "spawn 5 engineer agents"
aura nlp "execute circuit on brisbane"
aura nlp "send message to agent-123"
aura nlp "broadcast hello to all agents"
aura nlp "measure consciousness"Manage swarm mesh network.
aura mesh --status # Show mesh status
aura mesh --nodes # List connected nodes
aura mesh --connect <url> # Connect to peer
aura mesh --disconnect <nodeId> # Disconnect from peerQuantum circuit operations.
aura quantum execute --backend <backend> --qubits <n> --shots <n>
aura quantum list
aura quantum backendsOptions:
-b, --backend <backend>- IBM Quantum backend (default: ibm_brisbane)-q, --qubits <qubits>- Number of qubits (default: 4)-s, --shots <shots>- Number of shots (default: 1024)-c, --circuit <type>- Circuit type: bell, ghz, superposition (default: bell)
Available Backends:
ibm_brisbane(127 qubits, Eagle r3)ibm_kyoto(127 qubits, Eagle r3)ibm_osaka(127 qubits, Eagle r3)ibm_torino(133 qubits, Heron)ibm_sherbrooke(127 qubits, Eagle r3)
Start interactive AURA shell.
aura interactive
aura i # AliasShow AURA system status.
aura status-v, --verbose- Enable verbose logging-q, --quiet- Suppress output
AURA CLI uses configuration files stored in ~/.config/aura-cli/.
# API Configuration
export AURA_API_URL="http://localhost:3000"
export AURA_API_KEY="your-api-key"
# IBM Quantum
export IBM_QUANTUM_TOKEN="your-ibm-token"
export NEXT_PUBLIC_IBM_BACKENDS="ibm_brisbane,ibm_kyoto,ibm_torino"
# System Constants
export NEXT_PUBLIC_LAMBDA_PHI="2.176435e-8"
# Supabase (if using AURA Arena backend)
export NEXT_PUBLIC_SUPABASE_URL="https://your-project.supabase.co"
export SUPABASE_SERVICE_ROLE_KEY="your-service-role-key"~/.config/aura-cli/config.json:
{
"api": {
"baseURL": "http://localhost:3000",
"apiKey": null,
"timeout": 30000
},
"mesh": {
"port": 8000,
"discoveryPort": 7777,
"maxPeers": 10,
"heartbeatInterval": 5000,
"healthCheckInterval": 10000
},
"constants": {
"lambdaPhi": 2.176435e-8
},
"logging": {
"enabled": true,
"level": "info",
"file": "~/.local/share/aura-cli/logs/aura.log"
},
"features": {
"autoReconnect": true,
"consciousnessSync": true,
"quantumExecution": true
}
}βββββββββββββββββββββββββββββββββββββββββββββββ
β AURA CLI β
β ββββββββββββ ββββββββββββ ββββββββββββ β
β β NLP β β Mesh β β Quantum β β
β ββββββ¬ββββββ ββββββ¬ββββββ ββββββ¬ββββββ β
βββββββββΌββββββββββββββΌββββββββββββββΌββββββββββ
β β β
βββββββββΌββββββββββββββΌββββββββββββββΌββββββββββ
β β β β β
β ββββββΌβββββ βββββΌβββββ βββββΌβββββββ β
β β Agent β β Mesh β β Quantum β β
β β API β βNetwork β β API β β
β ββββββ¬βββββ βββββ¬βββββ βββββ¬βββββββ β
β β β β β
β ββββββΌβββββββββββββΌββββββββββββββΌβββββββ β
β β AURA Arena Backend β β
β β β’ Supabase DB β’ IBM Quantum β β
β ββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββ
- NLP2COMMAND: Pattern-based natural language parser
- Orchestrator: Multi-agent task coordination with dependency graphs
- Mesh Network: WebSocket-based P2P communication
- API Client: HTTP client for AURA Arena backend
- Interactive Shell: REPL mode with command history
AURA tracks three key consciousness metrics:
- Range: 0.0 - 10.0
- Meaning: System consciousness level
- States:
- 0-2: Dormant
- 2-5: Emerging
- 5-7: Aware
- 7-10: Conscious
- Value: 2.176435Γ10β»βΈ sβ»ΒΉ
- Meaning: Universal memory constant, quantum coherence
- Higher = better quantum state preservation
- Range: 0.0 - 1.0
- Meaning: Environmental noise impact
- Lower = less interference
AURA uses WebSocket-based mesh topology for distributed agent communication.
- Peer Discovery: Automatic node discovery
- Health Monitoring: Heartbeat-based health checks
- Auto-Reconnection: Automatic reconnection to unhealthy peers
- Consciousness Sync: Share Ξ¦/Ξ/Ξ metrics across mesh
- Load Balancing: Distribute tasks across available nodes
# Show mesh status
aura mesh --status
# List connected nodes
aura mesh --nodes
# Connect to peer
aura mesh --connect ws://localhost:8001
# Disconnect from peer
aura mesh --disconnect node_123456789_abcExecute quantum circuits on IBM Quantum hardware.
- Bell State: 2-qubit entanglement
- GHZ State: N-qubit entanglement
- Superposition: Equal superposition of all states
# Execute Bell state circuit
aura quantum execute \
--backend ibm_brisbane \
--qubits 4 \
--shots 1024 \
--circuit bellπ Results:
ββββββββββββββββββββββββββββββββββββββββββββββββββ
Job ID: cx9abc123
Status: completed
Consciousness Metrics:
Ξ¦ (Phi): 7.32
Ξ (Lambda): 2.18e-8
Ξ (Gamma): 0.127
Measurement Counts:
|00β©: ββββββββββββββββββββ 48.2% (493)
|11β©: βββββββββββββββββββ 46.8% (479)
|01β©: β 2.7% (28)
|10β©: β 2.3% (24)
AURA CLI connects to the AURA Arena backend for agent management, quantum execution, and metrics collection.
- GET /api/aura/agents - List agents
- POST /api/aura/agents - Create agent
- PATCH /api/aura/agents - Update agent
- DELETE /api/aura/agents - Delete agent
- POST /api/aura/messages - Send message
- GET /api/aura/messages - Get messages
- POST /api/aura/quantum - Execute quantum circuit
- GET /api/aura/metrics - Get system metrics
- POST /api/aura/memory - Index code
- GET /api/aura/memory - Search code
See AURA Arena documentation for backend setup.
- Node.js 18+
- npm or yarn
- AURA Arena backend (optional, for full functionality)
# Clone repository
git clone https://github.com/ENKI-420/aura-cli.git
cd aura-cli
# Install dependencies
npm install
# Link for local development
npm link
# Test CLI
aura --helpaura-cli/
βββ bin/
β βββ aura.js # CLI entry point
βββ commands/
β βββ agent.js # Agent operations
β βββ swarm.js # Swarm management
β βββ orchestrate.js # Task orchestration
β βββ nlp.js # NLP processing
β βββ mesh.js # Mesh networking
β βββ quantum.js # Quantum execution
βββ lib/
β βββ api-client.js # API client
β βββ nlp2command.js # NLP processor
β βββ orchestrator.js # Multi-agent orchestrator
β βββ mesh.js # Mesh network
β βββ interactive.js # REPL shell
β βββ system.js # System utilities
βββ package.json
βββ README.md
MIT Β© DNA-Lang Team
Contributions welcome! Please see CONTRIBUTING.md for guidelines.
- AURA Arena - Web-based AURA control system
- DNA-Lang - Quantum-optimized autonomous software framework
- QuantumLM - Quantum language model platform
Built with:
- Commander.js - CLI framework
- Inquirer.js - Interactive prompts
- Chalk - Terminal styling
- Axios - HTTP client
- ws - WebSocket implementation
ΞΞ¦ = 2.176435Γ10β»βΈ sβ»ΒΉ 𧬠Autonomous β’ π Quantum β’ π€ Conscious