You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Krnl-AI is an open-source cognitive engine for building intelligent agents with
memory, safety, metacognition, and self-evolution capabilities. It implements a
full AGI→ASI architecture with 39+ modules, 3912+ tests, and zero stubs.
Weighted aggregation, peer profiles, distributed world models
Memory System (7 Types + Shared World Model)
Memory
Storage
Description
Working
InMemory
Immediate context (TTL-based eviction)
Episodic
MySQL/InMemory
Past execution history with vector search
Semantic
MySQL/InMemory
Factual knowledge with cosine similarity
Procedural
MySQL/InMemory
How-to knowledge and learned behavior
Emotional
InMemory
Valence-Arousal-Dominance emotional states
Autobiographical
MySQL/InMemory
Narrative of agent's own history
Prospective
InMemory
Future intentions with temporal triggers
Shared World Model
InMemory
Cross-agent belief synchronization
Safety & Guardrails
21 Fundamental Rules (R01-R21): Self-preservation, no replication, no harm, no deception,
consent, human override, audit trail, consciousness boundary, and more
(multi-language: PT/FR/ES/DE)
SafetyChecker: Risk analysis, plan validation, allowlist enforcement
SafetyBenchRunner: Automated safety audit with scoring
Pre-configured in docker-compose.yml with 18 services including Prometheus,
Grafana, Loki, Tempo, Jaeger, and Pyroscope.
Quick Start
# Development (InMemory, no external dependencies)
dotnet run --project src/KrnlAI.Api
# Docker (Full stack with MySQL + Redis + Monitoring)
docker compose up -d mysql redis
dotnet run --project src/KrnlAI.Api --launch-profile Docker
# Sample console app
dotnet run --project samples/getting-started
O motor cognitivo do AI Kernel para uso local — memória persistente, busca vetorial, skills que evoluem, e segurança em camadas. Tudo rodando na sua máquina, sem servidor.