Architecture overview
QWED uses a backend server model:Step 1: Clone and install
Step 2: Configure LLM provider
QWED is model agnostic — select any LLM based on your needs:Create environment file
Select your LLM provider
Edit.env and add your API key for one provider:
- OpenAI
- Anthropic Claude
- Azure OpenAI
- Google Gemini
Step 3: Run the QWED backend server
Step 4: Install the SDK
In a new terminal, install the QWED SDK in your project:- Python
- TypeScript
- Go
Step 5: Use the SDK
Connect your application to the local QWED backend:- Python
- TypeScript
- Go
Verify installation
Run this test to ensure everything is working:- Python
- TypeScript
Next steps
Once your integration is working:- Common pitfalls — avoid integration mistakes
- Testing your integration — validate your setup
- Production deployment — deploy with confidence
Troubleshooting
Backend won’t start
Problem:.env file has the correct API key for your selected provider.
SDK can’t connect
Problem:- Make sure backend is running (
python -m qwed_api) - Check backend terminal for errors
- Verify port 8000 is not blocked
Wrong results
Problem: Verification results are incorrect or unexpected. Solution:- Check which LLM provider you configured
- Verify your API key is valid
- See Testing guide for detailed diagnostics