Expand description
ยงpolar-bear-biochip
Bio-chip intelligence framework for Polar Bear (๐จ).
ยงArchitecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ polar-bear-biochip โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ sensors::bci EEG (ฮด ฮธ ฮฑ ฮฒ ฮณ bands + indices) โ
โ sensors::accelerometer 3-axis MEMS (m/sยฒ) โ
โ sensors::fusion SensorFusion โ FusedReading โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ agent::biochip_agent rig-core LLM agent (ai-agent feat) โ
โ curl fallback (no feature flag) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ provenance::ecdsa_signer secp256k1 ECDSA sign + verify โ
โ SHA-256 payload hashing โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ types BciReading ยท AccelerometerReading ยท FusedReading โ
โ InferenceResult ยท SignedOutput ยท AlertLevel โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโยงUsage
use polar_bear_biochip::{
sensors::fusion::SensorFusion,
provenance::ecdsa_signer::EcdsaSigner,
};
let mut fusion = SensorFusion::new();
let reading = fusion.sample(1);
println!("Cognitive load: {:.2}", reading.cognitive_load);
let signer = EcdsaSigner::generate();
println!("Public key: {}", signer.public_key_hex());Modulesยง
- agent
- Re-exports error types for use by callers. LLM agent layer: bio-chip cognitive state inference.
- error
- Re-exports error types for use by callers. Typed error hierarchy for the Bio-Chip Intelligence Framework.
- provenance
- Re-exports provenance types for use by callers. Provenance layer: ECDSA secp256k1 signing and offline verification.
- sensors
- Re-exports sensor types for use by callers. Sensor layer: BCI (EEG), accelerometer, and sensor fusion.
- types
- Re-exports type definitions for use by callers. Shared data structures for the Bio-Chip Intelligence Framework.