Skip to main content
Glama
run-platform-synthesis.tsβ€’2.69 kB
#!/usr/bin/env node /** * Platform-Wide AI Model Synthesis Runner * * Executes comprehensive cross-tool analysis using all individual evaluation reports * Generates platform-wide insights, decision matrices, and usage recommendations */ import { PlatformSynthesizer } from './platform-synthesizer.js'; import { VercelProvider } from '../core/providers/vercel-provider.js'; import { getCurrentModel } from '../core/model-config.js'; async function runPlatformSynthesis() { console.log('πŸš€ Starting Platform-Wide AI Model Synthesis...\n'); try { // Parse command line arguments for graph filtering const args = process.argv.slice(2); let graphsToGenerate: string[] | undefined; let skipReport = false; if (args.length > 0) { const graphArg = args.find(arg => arg.startsWith('--graphs=')); if (graphArg) { graphsToGenerate = graphArg.split('=')[1].split(','); console.log(`πŸ“Š Generating specific graphs: ${graphsToGenerate.join(', ')}\n`); } skipReport = args.includes('--skip-report'); if (skipReport) { console.log('⏭️ Skipping AI report generation (graphs only)\n'); } } // Initialize AI provider for synthesis analysis (use Claude for comprehensive analysis) const aiProvider = new VercelProvider({ provider: 'anthropic', apiKey: process.env.ANTHROPIC_API_KEY!, model: getCurrentModel('anthropic'), debugMode: process.env.DEBUG_DOT_AI === 'true' }); // Initialize synthesizer const synthesizer = new PlatformSynthesizer(aiProvider); // Generate comprehensive platform-wide analysis (or just graphs if skip-report is set) console.log('πŸ“Š Generating platform-wide analysis...'); const markdownReport = await synthesizer.generatePlatformWideAnalysis(graphsToGenerate, skipReport); // Save synthesis report only if we generated it if (!skipReport) { console.log('\nπŸ’Ύ Saving synthesis report...'); await synthesizer.saveSynthesisReport(markdownReport); } console.log('\nβœ… Platform-wide synthesis complete!'); console.log('πŸ“„ Report saved: ./eval/analysis/platform/synthesis-report.md'); console.log('\n✨ AI-generated comprehensive report includes:'); console.log(' β€’ Detailed model profiles with strengths/weaknesses'); console.log(' β€’ Production recommendations by priority'); console.log(' β€’ Cross-tool performance insights'); console.log(' β€’ Critical warnings and actionable guidance'); } catch (error) { console.error('❌ Platform synthesis failed:', error); process.exit(1); } } // Run synthesis runPlatformSynthesis();

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vfarcic/dot-ai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server