Synapse Core 🧠
A high-performance neuro-symbolic semantic engine designed for agentic AI.
Features • Installation • Usage • Architecture
📖 Overview
Synapse Core provides the foundational semantic memory layer for AI agents. It combines the structured precision of Knowledge Graphs (using Oxigraph) with the flexibility of Vector Stores, allowing agents to reason about data, maintain long-term context, and deduce new information automatically.
It is designed to work seamlessly with OpenClaw and other agentic frameworks via the Model Context Protocol (MCP) or as a standalone gRPC service.
🚀 Features
- Neuro-Symbolic Engine: Hybrid architecture merging graph databases (RDF/SPARQL) with semantic vector search.
- Reasoning Capabilities: Built-in support for OWL reasoning via
reasonable, enabling automatic deduction of facts. - MCP Support: Native implementation of the Model Context Protocol for easy integration with LLM agents.
- High Performance: Written in Rust for minimal latency and maximum throughput.
- Namespace Isolation: Support for multiple isolated knowledge bases (e.g., "work", "personal").
📦 Installation
To use synapse-core in your Rust project:
[]
= "0.2.0"
To install the binary CLI:
🛠️ Usage
1. Standalone gRPC Server
Run Synapse as a high-performance gRPC server:
# Start the server (default port 50051)
Configuration via environment variables:
GRAPH_STORAGE_PATH: Directory to persist graph data (default:data/graphs).
2. Model Context Protocol (MCP)
Synapse is designed to plug directly into agents like OpenClaw or IDEs like Cursor via MCP (stdio mode).
# Start in MCP mode
3. Rust Library
Embed the engine directly into your application:
use MySemanticEngine;
use Arc;
async
🏗️ Architecture
Synapse is built on a robust stack:
- Storage: Oxigraph for RDF triple storage and SPARQL querying.
- Reasoning: Reasonable for OWL RL reasoning.
- Transport: Tonic for gRPC and Tokio for async runtime.
🤝 Contributing
Contributions are welcome! Please check the repository for guidelines.
📄 License
This project is licensed under the MIT License.