Cara eu sou leigo nisso, mas que projeto SINITRO muito boa meu irmao!
Minha dúvida é esse projeto conversa com assistente de IA que são usados para codar? E como essa comunicação funciona?
1
1
Vlww, basicamente é um intermediador, ele funciona como ferramenta de memória.
graph TD
subgraph Clients["🖥️ Clientes / AI Assistants"]
CD["Claude Desktop"]
OC["OpenCode"]
API_CLIENT["REST Client / curl"]
end
subgraph Interfaces["⚡ Interfaces de Acesso"]
MCP["MCP Server (stdio)"]
REST["Tools API (REST :3333)"]
end
subgraph Core["🧠 Core - Lógica de Negócio"]
direction TB
SEARCH["🔍 Hybrid Search (Vector + Keyword + RRF)"]
EMBED["🔢 Embeddings (Ollama local / Mistral API)"]
COMPRESS["🗜️ Compression Engine (70-98% token reduction)"]
MEMORY["💾 Persistent Memory (contexto cross-session)"]
CACHE["⚡ L1/L2 Cache (TTL multi-level)"]
end
subgraph Tools["🛠️ MCP Tools"]
T1["th0th_index - Indexar projeto"]
T2["th0th_search - Busca semântica"]
T3["th0th_remember - Armazenar memória"]
T4["th0th_recall - Recuperar memórias"]
T5["th0th_compress - Comprimir contexto"]
T6["th0th_optimized_context - Search + Compress"]
T7["th0th_analytics - Métricas e cache"]
end
subgraph Storage["🗄️ Armazenamento Local"]
SQLITE[("SQLite - Vector DB + Memórias")]
FS["📁 Sistema de arquivos - Projeto indexado"]
end
subgraph Embeddings_Providers["🤖 Provedores de Embeddings"]
OLLAMA["Ollama local - nomic-embed-text / bge-m3"]
MISTRAL["Mistral API (cloud)"]
end
CD -->|"MCP protocol stdio"| MCP
OC -->|"MCP protocol stdio"| MCP
OC -->|"HTTP plugin"| REST
API_CLIENT -->|"HTTP REST"| REST
MCP --> Tools
REST --> Tools
T1 --> SEARCH
T2 --> SEARCH
T3 --> MEMORY
T4 --> MEMORY
T5 --> COMPRESS
T6 --> SEARCH
T6 --> COMPRESS
T7 --> CACHE
SEARCH --> EMBED
SEARCH --> CACHE
EMBED --> CACHE
COMPRESS --> MEMORY
SEARCH --> SQLITE
MEMORY --> SQLITE
EMBED --> SQLITE
T1 --> FS
EMBED -->|"modo offline"| OLLAMA
EMBED -->|"modo cloud"| MISTRAL
classDef client fill:#4A90D9,stroke:#2C5F8A,color:#fff
classDef interface fill:#7B68EE,stroke:#5A4DB0,color:#fff
classDef core fill:#2ECC71,stroke:#1A8A4A,color:#fff
classDef tool fill:#F39C12,stroke:#B5770D,color:#fff
classDef storage fill:#E74C3C,stroke:#A93226,color:#fff
classDef provider fill:#95A5A6,stroke:#6C7A7D,color:#fff
class CD,OC,API_CLIENT client
class MCP,REST interface
class SEARCH,EMBED,COMPRESS,MEMORY,CACHE core
class T1,T2,T3,T4,T5,T6,T7 tool
class SQLITE,FS storage
class OLLAMA,MISTRAL provider