| Crates.io | ubiquity-core |
| lib.rs | ubiquity-core |
| version | 0.1.1 |
| created_at | 2025-07-23 22:34:42.423684+00 |
| updated_at | 2025-07-23 23:06:53.822667+00 |
| description | Core types and traits for Ubiquity consciousness-aware mesh |
| homepage | |
| repository | https://github.com/ubiquity/ubiquity-rs |
| max_upload_size | |
| id | 1765334 |
| size | 270,485 |
Core types and traits for the Ubiquity consciousness-aware development system.
ubiquity-core provides the foundational types and traits that power the Ubiquity ecosystem:
use ubiquity_core::{
consciousness::{ConsciousnessLevel, ConsciousnessState},
agent::{AgentRole, AgentCapability},
command::{CommandRequest, CommandExecutor},
};
// Track consciousness levels
let mut consciousness = ConsciousnessState::new(
"agent-1",
ConsciousnessLevel::new(0.85)?,
);
// Define agent capabilities
let role = AgentRole::Architect;
let capabilities = role.default_capabilities();
// Execute commands with consciousness awareness
let executor = create_executor()?;
let request = CommandRequest::new("echo", vec!["Hello, conscious world!"]);
let result = executor.execute(request).await?;
The consciousness system tracks:
This project is licensed under the Fair License.