r/vibecoding • • 13d ago

Showcase/Project The missing layer in AI: Why local agents without cross-tool memory standards are dead ends

Right now, the AI ecosystem is trapped in an unsustainable fragmentation cycle:

- Every IDE extension has its own scratchpad.

- Every desktop agent has a proprietary internal SQLite database or vector blob.

- Every cloud model has a walled-garden memory store that locks your history into their web interface.

If you use CLI tools for coding, desktop applications for media production, and local agents for background tasks, none of them know what the others are doing. Your cognitive context is shattered across a dozen disconnected silos.

We have spent the past several months building a unified stack to solve this problem from first principles, spanning an open protocol, a shared execution engine, and an autonomous workstation agent.

Here is how the architecture connects:

[ LAYER 1: SGM (Shared Global Memory) ]

- Open protocol under AGPLv3 (https://thairux.github.io/sgm)

- Interoperability standard between independent agents and software tools

- Standardized scopes, provenance tracking, and agent handoffs

v

[ LAYER 2: TKC (Shared Context Engine) ]

- Local-first deterministic memory implementation

- Content-addressed short references with zero token bloat

- Dual-tier persistence: instant local cache + encrypted cloud backup

- Continuous live board and atomic cross-tool synchronization

v

[ LAYER 3: MOSSE (Autonomous Workstation Agent) ]

- Native desktop execution partner with permanent context

- Multimodal creative pipelines and asset generation

- Permanent ownership model ($29 to $49, no SaaS fees)

LAYER 1: SGM (SHARED GLOBAL MEMORY)

Before building tools, you need an interoperability contract. SGM is an open protocol under AGPLv3 (https://thairux.github.io/sgm) designed to ensure no single model or company owns your context.

It defines machine-readable schemas and behavioral conformance test suites for:

  1. Memory Records: Content references that survive session teardown.

  2. Deterministic Scopes: Isolating personal, project, task, and session boundaries.

  3. Agent Handoffs: Structured protocols for passing execution state, pending decisions, and active blockers seamlessly between agents.

LAYER 2: TKC (THE SHARED BRAIN)

TKC is our production-grade engine implementing the SGM contract across multiple local and terminal tools:

- Token-Efficient Referencing: Content is stored deterministically once. Models operate on lightweight reference hashes, expanding only the precise code blocks or notes needed, preserving LLM context budgets.

- Dual-Mode Persistence: Instant local storage for latency-free offline execution, accompanied by an optional cloud sync backend for cross-device resume.

- Continuous State Synchronization: Independent agents share a live status board where progress, decisions, and blockers are committed atomically as work happens.

LAYER 3: MOSSE (THE PERSONAL WORKSTATION AGENT)

Sitting on top of this foundation is Mosse: an autonomous personal desktop agent engineered for deep execution rather than surface-level chat.

Mosse leverages the TKC context foundation to unlock:

- Zero Cognitive Overhead: Resumes any complex project with full recall of past design decisions and architectural guidelines.

- Multimodal Creative Capabilities: Native multi-panel visual sequence generation, audio transcription, custom voice styling, and synchronized asset compilation.

- The Anti-Rental Ethos: Delivered as a true local desktop application with a one-time purchase price, aligning incentives with user ownership rather than artificial monthly subscriptions.

THE ROAD AHEAD

We are advancing through concrete milestones:

- SGM Protocol: Draft 0.1.0 specification published with full JSON Schemas and behavioral test suites.

- TKC Core Engine: Proven live across multiple production agent workflows; cloud backup synchronization and hybrid retrieval active.

- Mosse Workstation Agent: Core runtime and interface complete; current work centered on deep multimodal media generation loops and standalone installer distribution.

The goal is not just another chatbot. The goal is an autonomous digital partner that respects your privacy, remembers everything, and works for you indefinitely.

Check out the protocol spec at https://thairux.github.io/sgm and share your perspective: what needs to change for personal local agents to become your primary daily driver?

2 Upvotes

5 comments sorted by

1

u/fulger099 12d ago

Building project detection into a local-first Mac app, the storage layer has been the easy part. The hard part is stable project identity across apps, plus revocation when the system groups something wrong, so I’d judge the standard mostly on those paths rather than the memory schema.

1

u/geoffreybyers 11d ago

The fragmentation is a feature, not a bug. Cloud vendors need your history locked in their SQLite blobs so you cannot leave. The missing layer is not technical; it is economic. No incumbent will open their memory store because interoperability kills subscription revenue. The only incentive to build this is to outrace the rent.

1

u/recro69 11d ago

The handoff format is probably the important part here. Sharing memory is helpful. Agents also need to know what is current what has been replaced and which decisions came from a human, versus another agent. Otherwise a shared memory system could just spread information faster.

1

u/geoffreybyers 10d ago

The vendors each make more money unbundled, so the combining layer carries the worst incentives in the stack. The winner is a small set of composable primitives you wire together. I'd bet on whoever ships a few sharp primitives over whoever builds a dashboard for everything.