Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

SHERIN

Edge-native, offline-first AI operating system — one model, one user, no cloud dependency.

SHERIN is a personal AI architecture built around a simple bet: that a single-user AI system doesn't need to be a general-purpose frontier model to be genuinely useful. It needs to be fast, fully local, auditable, and able to grow its own knowledge base without manual re-engineering.

This repo documents the actual architecture, the reasoning behind each design decision, and — just as importantly — where the system's real strengths and real limits are. Nothing here is marketing copy.


What SHERIN actually is

SHERIN is not a small, narrow lookup tool — it's designed as a large-scale, self-upgrading "star-teacher" model: a hierarchical, deterministic routing and retrieval system built to scale far beyond any fixed curriculum, with the model itself harvesting and expanding its own knowledge base over time.

  • A spherical mesh of Core → Layers → Areas, each holding harvested knowledge units (KUs) — designed to grow without limit as harvesting continues, not a fixed or small dataset
  • Tasks are decomposed and tagged with a compact DNA-style identifier that routes them through the mesh
  • Only KU-ID references move through the reasoning pipeline — never raw content — until final assembly, kept to low-bit representations to hold micro-latency even on heavy, complex tasks
  • A local KuLexicon engine resolves KU-IDs into language
  • The knowledge base grows its own capacity (new Areas, new Layers) as data fills existing structure — self-harvesting and self-upgrading without manual redesign
  • One model, one user: no per-user model variants — a single model architecture serves each user's full range of tasks

**Deployment model — **The Huge Giant Teacher model will run from a server, with only low-bit KU-ID data sent to the client. These are two different architectures and the repo should state clearly which is accurate — e.g. "harvesting and self-upgrade run centrally; per-user inference runs [on-device from a synced shard / server-side with low-bit client payload]." Update this note once decided.

SHERIN's long-term direction is toward self-decision-making and emotional awareness, operated through Cognitor — a video/voice-driven interface intended to let a user run the system hands-free, without manual/physical interaction. Cognitor's exact relationship to the Core/Layer/Area mesh (interface layer vs. independent subsystem) is still being defined — see docs/VISION.md [pending] for the roadmap framing of this direction, kept separate from what's implemented today.


Core design principles

  1. Zero payload, precisely defined. Only fixed-size IDs traverse the reasoning mesh. Content is fetched and rendered into language exactly once, at the final handoff to the user's device.
  2. Deterministic over probabilistic. Every routing decision is auditable — you can trace exactly which Layer, Area, and KU produced a given output.
  3. Self-evolving structure. The knowledge mesh expands ring-by-ring, Area-by-Area, only when existing capacity is actually full. No pre-provisioned, unused capacity.
  4. Single model, single user. No multi-tenant serving, no shared cloud instance. The whole system is scoped to one person's harvested knowledge and one person's device.
  5. Honest benchmarking. Every performance number in this repo is labeled with exactly which stage of the pipeline it measures — routing, lookup, generation, or end-to-end — because these have very different cost profiles and conflating them produces misleading claims.

Repository map

Doc Covers
docs/ARCHITECTURE.md Core/Layer/Area mesh, the 3 Layer-1 bots (Safety/Planning/Execution), ring growth mechanic
docs/DNA_REQUEST_PROTOCOL.md How a user task becomes a routed, tagged, multi-outcome request
docs/LEXICON_ENGINE.md KuLexicon v2.0 — ID format, hash lookup, template-based generation, multilingual plan
docs/BENCHMARKS.md What's actually been measured, what hasn't, and how to benchmark it properly
docs/ROADMAP.md Open questions and what's left to build/prove

Status

This is an active, single-developer research build. Components exist at different levels of maturity:

  • ✅ KuLexicon core lookup — implemented, benchmarked (O(1) hash lookup, sub-microsecond)
  • ✅ KuLexicon template generators (Email/Poem/Script/Story/Essay) — implemented, template-based
  • 🚧 Core/Layer/Area mesh routing — architecture defined, bot decision logic in progress
  • 🚧 Multi-language dictionary support — ID format supports it; per-language grammar templates not yet built
  • 📋 Full harvest pipeline (819 topics / 24 domains) — in progress via harvest.py / validate_batch.py
  • 📋 Self-evolution / auto ring-growth trigger — designed, not yet implemented in code

Legend: ✅ built & verified · 🚧 in progress · 📋 designed, not yet built


Why this repo exists

Public docs and the sherin.tech site don't currently explain the actual mechanism — the DNA-tagged routing, the Area/Layer addressing, or what "zero payload" precisely means in this system versus what it doesn't mean. This repo is the source of truth for that.

License

See LICENSE.

About

No description, website, or topics provided.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors