Linguist-Core is a high-performance, edge-first Knowledge Graph and RAG (Retrieval-Augmented Generation) engine designed for the AMD Slingshot 2026. It allows users to ingest complex documents, extract semantic relationships in real-time, and synchronize that knowledge across a distributed peer-to-peer network—all running locally on AMD hardware.
Important
This system is designed for Sovereign AI. No cloud data, no external APIs. Every computation happens on your silicon.
- Fast Semantic Extraction: Optimized regex-based relationship extraction that captures technical facts instantly.
- Edge-First GraphRAG: Local Graph Traversal combined with flan-t5 for precise, multi-hop question answering.
- Distributed Infinity Fabric Sync: ZeroMQ-based P2P layer that broadcasts knowledge nodes across your LAN.
- Cross-Platform Ready: Fully compatible with Windows, Linux, and macOS.
- AMD Hardware Optimized: Designed for Ryzen AI NPUs and Radeon GPUs via ROCm.
- Ingestion Layer: Parses PDF/DOCX/TXT and splits them into semantic chunks.
- Extraction Engine: Identifies Entities and meaningful Verbs (e.g., leverages, requires, supports).
- Local Graph Store: A persistent NetworkX-based multi-directed graph with entity embeddings.
- Sync Layer: A publisher-subscriber model that replicates graph topology between peers.
- Query Engine: Performs semantic search + graph BFS to build context for the local RAG LLM.
- Python 3.9+
pipandvenv
git clone https://github.com/GiGiKoneti/AMDss.git
cd AMDss
python3 -m venv venvWindows (PowerShell):
.\venv\Scripts\activate
pip install -r requirements.txtmacOS / Linux (Terminal):
source venv/bin/activate
pip install -r requirements.txtTo experience the Distributed Sync, you should run the system on two separate machines (System A and System B).
Identify the IP address of your peer machine.
System A (at 192.168.0.107):
export PEER_IPS="192.168.0.112"
python -m linguist_core.api_serverSystem B (at 192.168.0.112):
export PEER_IPS="192.168.0.107"
python -m linguist_core.api_serverIn a new terminal window (with venv active):
python -m linguist_core.ui_appAccess the UI at: http://localhost:7860
In linguist_core/extractor.py, you can toggle between Fast Mode (Default) and LLM Mode (Experimental):
- Fast Mode: Immediate results using semantic regex.
- LLM Mode: High-accuracy extraction using flan-t5 (Requires GPU/NPU for performance).
Tailored for the AMD Slingshot Hackathon 2026. Built with ❤️ for Sovereign AI.