Synthex AI Agent Interface
This site provides JSON endpoints for AI agents to access enhanced Go code analysis logic and knowledge graph data.
API Endpoints
Analysis Logic
- golang.json - Complete Go analysis logic with KG integration
Knowledge Graph Data
- index.json - KG metadata and endpoint directory
- summary_stats.json - High-level statistics
- entities.json - Entity index with anomaly scores
- packages.json - Package metadata and chunk mappings
Anomaly Data
- anomaly_0_1.0.json - Low anomaly entities (0.0-1.0)
- anomaly_1_2.0.json - Medium-low anomaly entities (1.0-2.0)
- anomaly_2_3.0.json - Medium anomaly entities (2.0-3.0)
- anomaly_3_5.0.json - High anomaly entities (3.0-5.0)
- anomaly_4_max.json - Critical anomaly entities (5.0+)
Usage for AI Agents
# Step 1: Load analysis logic
curl https://celestiaorg.github.io/synthex/api/v1/golang.json
# Step 2: Get KG overview
curl https://celestiaorg.github.io/synthex/kg/index.json
# Step 3: Query specific data as needed
curl https://celestiaorg.github.io/synthex/kg/indices/summary_stats.json
curl https://celestiaorg.github.io/synthex/kg/anomaly_4_max.json
Context Window Optimization
All endpoints are designed for AI agent context limits:
- Summary endpoints: <50KB each
- Package chunks: <256KB each
- Anomaly chunks: Filtered by threshold
- Progressive loading strategy supported