# Obsidian Peaks console: the guides for AI agents and scripts

Obsidian Peaks rents NVIDIA GPU machines by the hour from this console (its own RTX 5090s in the
Stockholm region, Sweden, and community hosts' machines in the EU) and lets GPU owners in the EU
rent their own machines out through it, keeping 75 % of the rental. Two journeys, one guide each:

- Rent a GPU here: https://client.obsidianpeaks.com/rent/agents.md
  Open the account, add an SSH key, read the live prices. The human clicks the e-mail link and
  adds the card in the console; starting an instance is done in the console too (it charges the card).
- Offer a GPU machine (community host): https://client.obsidianpeaks.com/host/agents.md
  Open the host account, add the machine, get the one install command, watch the checks, set a
  price, list. The human clicks the e-mail link and runs the install command as root on the box.

One human step in each journey: the e-mail verification link. An agent cannot pay.

## Prices and boxes, no key needed
- https://client.obsidianpeaks.com/api/public/offers: JSON, schema 1. on_demand.boxes[].gpu_hour_sek is the box's hour in SEK
  ex VAT (per GPU times gpus: a box is let whole, 1 GPU on most, 4 on the RTX PRO 6000 box); fx.USD
  and fx.EUR are SEK per unit; vat is the rate; status says whether a box is free.
- https://client.obsidianpeaks.com/api/public/pricing.json: the dedicated (monthly) price list.
- https://client.obsidianpeaks.com/api/host/v1/market: the going per-GPU hourly rate of each GPU class on the open market and
  a host's side of it. An estimate, not a guarantee.

## Rules for every call
- Errors are `{"error": "plain text"}` with a 4xx status; `fields` names a wrong field when there is one.
- Bearer keys (`ophk_` for hosts, `oprk_` for renters) are shown once, at creation. Never paste one anywhere.
- Calls are idempotent where it matters: adding an SSH key twice adds it once; a machine added by a
  name that is still waiting for its agent returns the same machine; an instance name is unique per account.
- Terms for renters: https://client.obsidianpeaks.com/terms. The host agreement (a DRAFT while the programme is new): https://client.obsidianpeaks.com/host.
- The website, in plain words: https://obsidianpeaks.com/llms.txt and https://obsidianpeaks.com/agents
