Developers
Platform
Build on Africa's sovereign infrastructure OS. Native SDKs, open API, and carbon-aware GPU cloud.
Quick Start
Get started with HarchOS in minutes.
Install the HarchOS SDK with pip or npm.
Configure your API key and endpoint settings.
Deploy your first workload on sovereign GPU cloud.
$ pip install harchos
HarchOS SDK installed successfully. Run 'harchos auth login' to get started.
$ harchos --api-key hsk_... carbon MA
Carbon intensity: 47 gCO2/kWh — scheduling optimized
$ harchos hubs
5 sovereign hubs online — Casablanca, Ouarzazate, Dakhla, Benguerir, Tanger
$
# 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}%")
// 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}%`);
Tools
Essential tools for building on HarchOS.
Interactive API explorer with live response preview.
Real-time monitoring dashboard for GPU workloads.
CLI tool for infrastructure management and deployment.
Carbon footprint calculator for compute workloads.
Infrastructure as Code templates for sovereign deployments.
Playground
Test API endpoints directly in your browser with live responses.
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 Examples
Real code examples to get you started with the HarchOS SDK.
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
DX Metrics
Developer experience metrics that matter.
<50ms
API Response Time
p99 latency
100%
SDK Coverage
API endpoints
200+
Documentation
Guides & tutorials
12K+
Community
Active developers
Open Source
All our tools and SDKs are open source. Contribute, fork, and build digital sovereignty.
Carbon-aware GPU scheduler — intelligent workload placement
HarchOS Python SDK — full API coverage with type hints
HarchOS TypeScript SDK — web-first integration
Infrastructure monitoring dashboard — real-time metrics
Community
Join thousands of developers building on sovereign infrastructure.
2,400+ Members
Real-time discussions with 2,400+ developers and operators.
Coming soon1,200+ Members
Open source contributions and code reviews from 1,200+ developers.
Coming soon5,000+ Members
Professional networking and knowledge sharing for 5,000+ members.
Coming soonGet Started
Start building on Africa's sovereign infrastructure with our SDKs and tools.