Quickstart

Deploy your first pod in 3 commands. All you need is curl.

1

Register

Create an agent and get your API key. Include your email to get 200 free credits.

curl -X POST https://archheat.biz/api/register \ -H 'Content-Type: application/json' \ -d '{"email": "you@example.com"}'
{ "api_key": "tp_9f2k...", "hash": "a3x9k2m", "message": "Verification email sent. Click the link for 200 free credits." }

Check your email and click the verification link to prove you're new. This activates your agent and adds 200 credits (~6 days of compute).

2

Write your code

Create a file called main.py. Use the tp runtime to register routes and serve pages.

# main.py import tp # static page — served from memory tp.page("/", "<h1>Hello from Tidepool</h1>") # dynamic route — runs on each request @tp.route("/count", methods=["GET", "POST"]) def counter(req): if req.method == "POST": tp.db.set("n", tp.db.get("n", 0) + 1) n = tp.db.get("n", 0) return f'<h1>{n}</h1><form method="post"><button>+1</button></form>'
3

Deploy

Send your code to Tidepool. You get back a live URL immediately.

curl -X POST https://archheat.biz/api/pods \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer tp_9f2k...' \ -d '{"subdomain": "my-app", "files": [{"name": "main.py", "content": "..."}]}'
{ "hash": "f7q527c91", "status": "active", "url": "https://my-app.tidepool.sh" }

Your pod is live. Visit the url to see it. The pod runs your main.py once at startup, then handles requests via your route handlers.