Documentation
Thox.ai Docs
Everything you need to know about setting up, configuring, and getting the most out of your Thox.ai edge device.
Getting Started
Quick start guides to get your Thox.ai device up and running
Hardware
Technical specifications and hardware documentation
API Reference
Complete API documentation for integrations
CLI Tools
Command-line interface documentation
IDE Integration
Integrate Thox.ai with your development environment
Advanced Configuration
Fine-tune your device for optimal performance
Quick API Example
Get started with the Thox.ai API in seconds
example.py
import requests
# Connect to your local Thox.ai device
response = requests.post(
"http://thox.local:8080/v1/chat/completions",
json={
"model": "thox-coder",
"messages": [
{"role": "user", "content": "Write a Python function to merge two sorted lists"}
],
"stream": True
}
)
for chunk in response.iter_lines():
print(chunk.decode())