Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUva1119d7704d5
diff --git a/docs/ruvector-postgres/docker-compose.yml b/docs/ruvector-postgres/docker-compose.yml
index 4a471b1c38..edd748f47a 100644
--- a/docs/ruvector-postgres/docker-compose.yml
+++ b/docs/ruvector-postgres/docker-compose.yml
@@ -1,13 +1,34 @@
version: '3.8'
+# RuVector PostgreSQL Testing Environment
+# Using the official RuVector PostgreSQL extension from ruvnet/ruvector
+#
+# Features:
+# - 77+ SQL functions for vector operations
+# - HNSW and IVFFlat indexing
+# - 39 Attention mechanisms (self, multi-head, cross)
+# - GNN layers for graph operations
+# - Hyperbolic embeddings (Poincaré/Lorentz)
+# - Sparse vectors (BM25/TF-IDF)
+# - SPARQL support (50+ RDF functions)
+# - Local embeddings (6 fastembed models)
+# - Self-learning index optimization
+# - SIMD acceleration (AVX-512/AVX2/NEON)
+#
+# Performance: ~61µs latency, 16,400 QPS, 200MB for 1M vectors
+
services:
postgres:
- image: pgvector/pgvector:pg16
+ image: ruvector/postgres:latest
container_name: ruvector-postgres
environment:
POSTGRES_USER: claude
POSTGRES_PASSWORD: claude-flow-test
POSTGRES_DB: claude_flow
+ # RuVector specific settings
+ RUVECTOR_SIMD: auto # auto-detect best SIMD (AVX-512/AVX2/NEON)
+ RUVECTOR_CACHE_SIZE: 256MB
+ RUVECTOR_LEARN_ENABLED: 'true'
ports:
- "5432:5432"
volumes:
@@ -18,6 +39,14 @@ services:
interval: 5s
timeout: 5s
retries: 5
+ # Optimize for vector operations
+ command: >
+ postgres
+ -c shared_preload_libraries='ruvector'
+ -c ruvector.hnsw_ef_search=100
+ -c ruvector.enable_parallel=on
+ -c work_mem=256MB
+ -c maintenance_work_mem=512MB
# Optional: pgAdmin for visual database management
pgadmin: