--- title: SmolLM3-3B LangGraph Conductor API emoji: ⚙️ colorFrom: blue colorTo: purple sdk: docker app_port: 7860 pinned: true --- # SmolLM3-3B API for LangGraph Conductor This Space hosts a FastAPI backend for the SmolLM3-3B model, providing an OpenAI-compatible API for LangGraph-based Tech→Econ analysis. ## 🚀 Quick Start ```python import requests API_URL = "https://gsstec-cond.hf.space" # Health check response = requests.get(f"{API_URL}/health") print(response.json()) # Chat completion chat_response = requests.post(f"{API_URL}/chat", json={ "messages": [{"role": "user", "content": "Analyze tech score 0.1172"}], "enable_thinking": True }) print(chat_response.json()) ``` ## 🔧 API Endpoints - `GET /health` - Health check - `POST /chat` - Chat completion (OpenAI compatible) - `GET /models` - List available models ## 🏗️ Architecture - **Model**: SmolLM3-3B (3B parameters) - **Framework**: FastAPI + Transformers - **Deployment**: Docker on Hugging Face Spaces - **Purpose**: LangGraph Conductor backend for Tech→Econ analysis ## 📊 Usage in LangGraph This API serves as the LLM backend for the AEGIS-10 LangGraph conductor, processing technical analysis scores and generating economic insights.