π 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
Checkpoint: File edits
rUva207caa4e21c
diff --git a/docs/ruvector-postgres/scripts/test-connection.sh b/docs/ruvector-postgres/scripts/test-connection.shnew file mode 100644index 0000000000..5d63de5dc8--- /dev/null+++ b/docs/ruvector-postgres/scripts/test-connection.sh@@ -0,0 +1,91 @@+#!/bin/bash+# Test connection to RuVector PostgreSQL++set -e++HOST="${PGHOST:-localhost}"+PORT="${PGPORT:-5432}"+DATABASE="${PGDATABASE:-claude_flow}"+USER="${PGUSER:-claude}"+PASSWORD="${PGPASSWORD:-claude-flow-test}"++echo "π Testing RuVector PostgreSQL Connection"+echo "=========================================="+echo ""++# Test basic connection+echo "1. Testing connection..."+PGPASSWORD=$PASSWORD psql -h $HOST -p $PORT -U $USER -d $DATABASE -c "SELECT 1;" > /dev/null 2>&1+if [ $? -eq 0 ]; then+ echo " β Connection successful"+else+ echo " β Connection failed"+ exit 1+fi++# Check PostgreSQL version+echo ""+echo "2. PostgreSQL version:"+PGPASSWORD=$PASSWORD psql -h $HOST -p $PORT -U $USER -d $DATABASE -t -c "SELECT version();" | head -1++# Check pgvector extension+echo ""+echo "3. Checking pgvector extension..."+RESULT=$(PGPASSWORD=$PASSWORD psql -h $HOST -p $PORT -U $USER -d $DATABASE -t -c \+ "SELECT extversion FROM pg_extension WHERE extname = 'vector';" 2>/dev/null | tr -d ' ')+if [ -n "$RESULT" ]; then+ echo " β pgvector version: $RESULT"+else+ echo " β pgvector extension not found"+fi++# Check schema+echo ""+echo "4. Checking claude_flow schema..."+RESULT=$(PGPASSWORD=$PASSWORD psql -h $HOST -p $PORT -U $USER -d $DATABASE -t -c \+ "SELECT COUNT(*) FROM information_schema.schemata WHERE schema_name = 'claude_flow';" | tr -d ' ')+if [ "$RESULT" = "1" ]; then+ echo " β Schema exists"+else+ echo " β Schema not found"+fi++# Check tables+echo ""+echo "5. Checking tables..."+TABLES=$(PGPASSWORD=$PASSWORD psql -h $HOST -p $PORT -U $USER -d $DATABASE -t -c \+ "SELECT table_name FROM information_schema.tables WHERE table_schema = 'claude_flow';" | tr -d ' ' | grep -v "^$")+for table in $TABLES; do+ echo " β Table: $table"+done++# Check indices+echo ""+echo "6. Checking HNSW indices..."+INDICES=$(PGPASSWORD=$PASSWORD psql -h $HOST -p $PORT -U $USER -d $DATABASE -t -c \+ "SELECT indexname FROM pg_indexes WHERE schemaname = 'claude_flow' AND indexdef LIKE '%hnsw%';" | tr -d ' ' | grep -v "^$")+for idx in $INDICES; do+ echo " β Index: $idx"+done++# Count sample data+echo ""+echo "7. Sample data:"+COUNT=$(PGPASSWORD=$PASSWORD psql -h $HOST -p $PORT -U $USER -d $DATABASE -t -c \+ "SELECT COUNT(*) FROM claude_flow.embeddings;" | tr -d ' ')+echo " π Embeddings: $COUNT rows"++COUNT=$(PGPASSWORD=$PASSWORD psql -h $HOST -p $PORT -U $USER -d $DATABASE -t -c \+ "SELECT COUNT(*) FROM claude_flow.patterns;" | tr -d ' ')+echo " π Patterns: $COUNT rows"++COUNT=$(PGPASSWORD=$PASSWORD psql -h $HOST -p $PORT -U $USER -d $DATABASE -t -c \+ "SELECT COUNT(*) FROM claude_flow.agents;" | tr -d ' ')+echo " π Agents: $COUNT rows"++echo ""+echo "=========================================="+echo "β All checks passed! RuVector is ready."+echo ""+echo "Connection string:"+echo " postgresql://$USER:****@$HOST:$PORT/$DATABASE"