Spaces:
Sleeping
Sleeping
| { | |
| "project": "QAgents-Workflows", | |
| "version": "0.9.3", | |
| "description": "Multi-agent quantum circuit optimization system with chat UI and MCP integration", | |
| "last_updated": "2025-11-30", | |
| "status": "API_KEY_LOADING_FIXED", | |
| "notes": "Fixed API key loading for HuggingFace Spaces. Now supports dynamic environment variable reading for Secrets. Added better error messages. Enhanced landing page with Getting Started tab, example questions, and clickable quick examples.", | |
| "recent_changes": { | |
| "2025-11-30": [ | |
| "Fixed API key loading issue - now dynamically reads from HF Space Secrets", | |
| "Added get_api_key() method in LLMConfig for dynamic environment reading", | |
| "Updated base_agent.py, orchestrator.py, quasar_orchestrator.py to use dynamic API key loading", | |
| "Added clear error messages when API key is missing", | |
| "Added new 'Getting Started' tab with comprehensive user guide", | |
| "Added example questions organized by category (Beginner, Entanglement, Algorithms, Custom)", | |
| "Added 8 clickable quick example buttons in Chat tab", | |
| "Enhanced About tab with architecture diagram and detailed capabilities", | |
| "Added prompt writing tips and output format documentation" | |
| ] | |
| }, | |
| "huggingface_deployment": { | |
| "qagents_space": "https://huggingface.co/spaces/NLarchive/Qagents-workflows", | |
| "mcp_server_space": "https://mcp-1st-birthday-quantumarchitect-mcp.hf.space", | |
| "mcp_sse_endpoint": "https://mcp-1st-birthday-quantumarchitect-mcp.hf.space/gradio_api/mcp/sse", | |
| "gradio_version": "6.0.0", | |
| "mcp_enabled": true, | |
| "cold_start_note": "HF Spaces go to sleep after inactivity. First request may take 30-60s." | |
| }, | |
| "mcp_client_config": { | |
| "default_url": "https://mcp-1st-birthday-quantumarchitect-mcp.hf.space", | |
| "initial_timeout_s": 90, | |
| "result_timeout_s": 120, | |
| "health_timeout_s": 30, | |
| "max_retries": 3, | |
| "features": [ | |
| "Extended timeouts for cold starts", | |
| "Retry with exponential backoff", | |
| "Server warm-up before first request", | |
| "Local fallback for validation" | |
| ] | |
| }, | |
| "app_features": { | |
| "getting_started_tab": { | |
| "description": "User onboarding and guide", | |
| "features": [ | |
| "Welcome message and overview", | |
| "Prompt categories table", | |
| "How to write good prompts", | |
| "Output format explanation", | |
| "Quick tips", | |
| "Collapsible example sections (Beginner, Entanglement, Algorithms, Custom)" | |
| ] | |
| }, | |
| "chat_tab": { | |
| "description": "Interactive chat UI for quantum circuit generation", | |
| "features": [ | |
| "Natural language circuit requests", | |
| "8 quick example buttons", | |
| "Multiple orchestration modes (naked, quasar, hybrid, blackboard)", | |
| "Help and status commands" | |
| ], | |
| "quick_examples": [ | |
| "Bell State", | |
| "GHZ State (3q)", | |
| "QFT (4q)", | |
| "Grover (2q)", | |
| "Superposition", | |
| "Teleportation", | |
| "SWAP Gate", | |
| "Custom CNOT" | |
| ] | |
| }, | |
| "mcp_endpoints_tab": { | |
| "description": "Health monitor for QuantumArchitect-MCP endpoints", | |
| "features": [ | |
| "Check all endpoints health", | |
| "Individual endpoint testing", | |
| "Latency monitoring", | |
| "Status indicators (🟢🟡🟠🔴)", | |
| "Extended timeouts for cold starts" | |
| ] | |
| }, | |
| "quick_build_tab": { | |
| "description": "Direct circuit template generation", | |
| "templates": ["bell_state", "ghz_state", "qft", "grover", "superposition"] | |
| }, | |
| "about_tab": { | |
| "description": "Detailed system information", | |
| "features": [ | |
| "Architecture diagram", | |
| "Capabilities table", | |
| "Supported quantum operations", | |
| "Component stack details" | |
| ] | |
| } | |
| }, | |
| "example_questions": { | |
| "beginner": [ | |
| "Create a Bell state circuit", | |
| "Put a qubit in superposition", | |
| "Create a simple NOT gate on qubit 0" | |
| ], | |
| "entanglement": [ | |
| "Generate a 3-qubit GHZ state", | |
| "Create a 4-qubit GHZ state with measurements", | |
| "Build a W state for 3 qubits" | |
| ], | |
| "algorithms": [ | |
| "Create a 4-qubit QFT circuit", | |
| "Build a 2-qubit Grover search circuit", | |
| "Generate a quantum teleportation circuit" | |
| ], | |
| "custom": [ | |
| "Apply H gate to qubit 0, then CNOT from 0 to 1", | |
| "Create a circuit with Rx(π/4) on qubit 0", | |
| "Build a circuit that swaps qubit 0 and qubit 1" | |
| ] | |
| }, | |
| "mcp_endpoints": [ | |
| {"name": "create_circuit", "category": "Creation"}, | |
| {"name": "parse_qasm", "category": "Creation"}, | |
| {"name": "build_circuit", "category": "Creation"}, | |
| {"name": "validate_circuit", "category": "Validation"}, | |
| {"name": "check_hardware", "category": "Validation"}, | |
| {"name": "simulate", "category": "Simulation"}, | |
| {"name": "get_statevector", "category": "Simulation"}, | |
| {"name": "estimate_fidelity", "category": "Simulation"}, | |
| {"name": "score_circuit", "category": "Scoring"}, | |
| {"name": "compare_circuits", "category": "Scoring"}, | |
| {"name": "get_gate_info", "category": "Documentation"}, | |
| {"name": "get_algorithm_info", "category": "Documentation"}, | |
| {"name": "list_hardware", "category": "Documentation"}, | |
| {"name": "list_templates", "category": "Documentation"} | |
| ], | |
| "architectures": { | |
| "naked": { | |
| "description": "Direct LLM-to-QASM generation", | |
| "status": "PRODUCTION_READY", | |
| "success_rate": "100%", | |
| "recommended": true | |
| }, | |
| "quasar": { | |
| "description": "Tiered verification with MCP tools", | |
| "status": "STABLE" | |
| }, | |
| "hybrid": { | |
| "description": "NAKED first, QUASAR fallback", | |
| "status": "STABLE" | |
| }, | |
| "blackboard": { | |
| "description": "Event-driven multi-agent blackboard", | |
| "status": "FIXED" | |
| } | |
| }, | |
| "usage": { | |
| "huggingface": "Visit https://huggingface.co/spaces/NLarchive/Qagents-workflows", | |
| "local": { | |
| "prerequisites": [ | |
| "Activate venv: & .venv/Scripts/Activate.ps1", | |
| "Set GOOGLE_API_KEY environment variable" | |
| ], | |
| "run": "python app.py" | |
| } | |
| } | |
| } | |