Skip to main content

Verifiable State Plane for Autonomous Agents

Project description

๐Ÿง โšก SynapticAI

Semantic Multi-Layer Memory System for AI Agents

SynapticAI gives AI agents a unified memory architecture with semantic search, cross-layer bridging, and master index patterns โ€” so your agent can actually remember and connect the dots.

The Problem

AI agents typically have 4-5 separate memory systems:

  • Short-term injected memory (system prompt)
  • Vector database entries (semantic search)
  • Procedural skills (installation guides, workflows)
  • Session transcripts (conversation history)
  • Config files (tokens, env vars, auth)

None of them talk to each other. You have to query each one separately.

The Solution

SynapticAI connects them all with:

  1. Master Index Pattern โ€” One authoritative entry per topic
  2. Semantic Search First โ€” fabric_recall finds relevant info across all layers
  3. Cross-Layer References โ€” Entries link to each other (tags, session_id, source)
  4. Search Flow Priority โ€” Single query โ†’ ranked results from all layers

Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚              fabric_recall "query"          โ”‚
โ”‚         (semantic search โ€” first stop)       โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚  Memory     โ”‚  Fabric   โ”‚ Session โ”‚ Skills  โ”‚
โ”‚  (prefs)    โ”‚  (notes,  โ”‚ (historyโ”‚ (procs) โ”‚
โ”‚  injected   โ”‚  decisionsโ”‚  + LLM  โ”‚ + guide โ”‚
โ”‚  per-turn)  โ”‚  + outcomes) โ”‚ sum)  โ”‚  lines  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚           โ”‚           โ”‚
         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                     โ–ผ
            Cross-Layer Index
         (tags, session_id, refs)

Search Flow

1. fabric_recall "query"      โ†’ semantic search (priority 1)
2. fabric_search "keyword"    โ†’ exact keyword match
3. session_search "query"     โ†’ historical conversations
4. skills                     โ†’ procedural how-tos
5. memory                     โ†’ user preferences (always injected)

Master Index Structure

Each master index is a single fabric_write entry tagged master-index:

# Master Index โ€” Topic Name

## Current Status
## Components
## Auth & Config
## Related Skills
## Decisions Made
## Cross-References โ†’ other master entries

Installation

# For Hermes Agent users:
# 1. Clone this repo
# 2. Run the setup script
./scripts/setup.sh

# The script creates:
# - Master index templates in ~/fabric/
# - unified-search skill in ~/.hermes/skills/
# - Memory bridge entries

Usage

Once installed, any agent can retrieve cross-layer memory with:

fabric_recall "any topic"    โ†’ ranked semantic results
fabric_remember "decision"   โ†’ log important decisions
fabric_link "entry_id"       โ†’ cross-reference entries

Why It Works

  • Lightweight โ€” No new infrastructure, just patterns on existing tools
  • Agent-native โ€” Designed for AI agent memory, not human note-taking
  • Extensible โ€” Works with fabric, session_search, skills, any config store
  • Search-first โ€” Single query replaces 5 separate lookups

License

MIT

Author

Atakan Elik (@atakanelik34)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synaptic_state-0.1.0.tar.gz (33.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synaptic_state-0.1.0-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file synaptic_state-0.1.0.tar.gz.

File metadata

  • Download URL: synaptic_state-0.1.0.tar.gz
  • Upload date:
  • Size: 33.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for synaptic_state-0.1.0.tar.gz
Algorithm Hash digest
SHA256 93be7f08e756837eb0843aa2ae048a028715452d672b4171d57f04af6e5c6be2
MD5 36157d479db9b00c7d079a642a57c092
BLAKE2b-256 9aa80be6c06fec67021ab2fe438dd0864eb3b7057eec023a420649d6c712f2fe

See more details on using hashes here.

File details

Details for the file synaptic_state-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: synaptic_state-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 38.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for synaptic_state-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b97b33c86178bfc021c2212756eff2cd82e268b845c215561edaf9d2d398b28a
MD5 9c053e56b954ac49d7950e12151aacc1
BLAKE2b-256 1e8a2a04eb24f6e7ef4567eb04e823fc3edc6154d91b75c77cb349192d61e61a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page