Developer Center /0.2
Build on
HarchOS.
The complete developer platform for sovereign AI infrastructure.
SDKs, CLI tools, API playground, and comprehensive documentation. Deploy your first model in under 4 minutes on 100% renewable GPU compute across Morocco.
Quick Start
From Zero to
Deployed in Minutes
Three steps to get your first AI workload running on the HarchOS mesh. No credit card required for the Starter tier.
Create Account
Sign up for a free HarchOS developer account. No credit card required. Instant access to the Starter tier with 10 GPU hours/month free tier.
Get API Key
Generate your API key from the dashboard. Install the SDK with a single command. Authenticate in seconds with our streamlined onboarding.
Deploy First Model
Deploy your first AI model to the HarchOS mesh in under 4 minutes. Choose your GPU type, region, and sovereignty level. Go live instantly.
$ pip install harchos
Successfully installed harchos-0.2.1
$ harchos --api-key hsk_... carbon MA
Morocco: 47.0 gCO2/kWh | Renewable: 81.5%
$ harchos hubs
5 hubs | 1,798 GPUs | 100% carbon-aware
$
Python SDK
# Install
pip install harchos
# Use
from harchos import HarchOSClient
with HarchOSClient(api_key="hsk_...") as client:
carbon = client.carbon.get_intensity("MA")
print(f"Morocco: {carbon.carbon_intensity_gco2_kwh} gCO2/kWh")
print(f"Renewable: {carbon.renewable_percentage}%")
TypeScript SDK
// Install
npm install @harchos/sdk
// Use
import { HarchOSClient } from "@harchos/sdk";
const client = new HarchOSClient({ apiKey: "hsk_..." });
const carbon = await client.carbon.getIntensity("MA");
console.log(`Morocco: ${carbon.carbonIntensityGco2Kwh} gCO2/kWh`);
console.log(`Renewable: ${carbon.renewablePercentage}%`);
Developer Tools
Everything You Need
to Build
Purpose-built tools for sovereign AI development. From CLI to IDE extensions, every workflow is covered.
HarchOS CLI
Command-line interface for deploying, managing, and monitoring workloads. Terraform provider and Kubernetes operator included for infrastructure-as-code workflows.
SDKs
Native SDKs for Python, TypeScript, Go, and Rust. Full type safety, async support, and automatic retry logic built in. Install and start building in seconds.
VS Code Extension
Deploy directly from your editor. Syntax highlighting for HarchOS configs, inline documentation, and one-click deployment to any mesh hub.
API Playground
Interactive sandbox to test API endpoints, build requests, and explore responses. Auto-generates code snippets in curl, Python, TypeScript, and Go.
Observability Suite
Integrated Grafana dashboards, Prometheus metrics, and Jaeger distributed tracing. Full visibility into workload performance, GPU utilization, and carbon metrics.
API Playground
Explore the API.
Test endpoints, build requests, and explore responses in our interactive sandbox. Auto-generates code in every language.
Request Body
{
"gpu_type": "H100",
"count": 8,
"region": "morocco-dakhla",
"sovereignty": "strict",
"carbon_aware": true,
"image": "pytorch/2.2.0-cuda12.1"
}
{
"deployment_id": "d-7f3a2b1c",
"status": "running",
"hub": "harch-alpha",
"gpu_nodes": 8,
"carbon_score": "A+",
"endpoint": "mesh.harchos.com/d-7f3a2b1c"
}
Code Example
Deploy in
Three Lines.
The @harchos/sdk provides a clean, intuitive API that gets out of your way. Type-safe, async-first, and built for production workloads.
import HarchOS from '@harchos/sdk';
// Initialize with sovereign defaults
const harch = await HarchOS.create({
region: 'morocco',
sovereignty: 'strict',
carbonAware: true,
});
// Deploy an H100 cluster with carbon-optimal scheduling
const job = await harch.deploy({
gpu: 'H100',
count: 256,
schedule: 'carbon-optimal',
image: 'pytorch/2.2.0-cuda12.1',
});
console.log(`Deployed to ${job.hub}`);
// → Deployed to harch-alpha
Developer Experience
DX by the
Numbers.
We obsess over developer experience. Every millisecond of latency, every API design decision, every documentation page is measured and optimized.
12ms
API Response Time
p99 latency
94%
SDK Satisfaction
developer survey
87%
Documentation Coverage
API endpoints documented
4.2min
First Deploy Time
average onboarding
Open Source
Built in the
Open.
Our core SDKs and tooling are open source. Contribute, fork, or audit every line of code that runs your sovereign infrastructure.
Community
Join the Mesh.
Connect with thousands of developers building sovereign AI infrastructure. Get help, share knowledge, and shape the future of HarchOS.
Discord
4,200+ members
Real-time conversations with 4,200+ developers. Get help, share projects, and connect with the core team.
discord.gg/harchosGitHub Discussions
1,800+ members
Feature requests, RFCs, and deep technical discussions. Shape the roadmap with your input.
github.com/harchcorp/discussionsStack Overflow
900+ members
Find answers to common questions. Tag [harchos] for visibility with our developer advocates.
stackoverflow.com/questions/tagged/harchosStart Building
Your Next Deploy
is One Command Away.
Free Starter tier with 10 GPU hours/month free tier. No credit card required. Deploy on 100% renewable sovereign infrastructure with carbon-aware scheduling, real-time monitoring, and pricing APIs.