> ## Documentation Index
> Fetch the complete documentation index at: https://hub.hcompany.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> H Platform has four products: the Agents API (managed computer-use agents, base URL https://agp.eu.hcompany.ai/api/v2 or https://agp.hcompany.ai/api/v2 for the US), the Models API (OpenAI-compatible Holo vision-language models at https://api.hcompany.ai/v1), HoloDesktop CLI (Holo on the user's own desktop), and HoloTab (a free no-code Chrome extension that runs Holo in the user's browser, with recordable routines and schedules).
> Authenticate with a bearer API key from the HAI_API_KEY environment variable. SDKs: `pip install hai-agents` (Python, `from hai_agents import Client`) and `npm install hai-agents` (TypeScript, `import { HaiAgentsClient } from "hai-agents"`). CLI: `hai`.
> Agents do work in a browser or on a desktop; describe the task as an imperative instruction. To run a task quickly, prefer the pre-built agent `h/web-surfer-flash`. Read results from the session's `latest_answer` after it reaches a terminal status.
> Sessions are the unit of work; wait for a terminal status (completed, failed, timed_out, interrupted) before reading the answer. Use webhooks or the `changes` long-poll endpoint to follow progress.

# Routines and schedules

> Record a HoloTab routine by doing the task once, run it from the / menu with new variables, and schedule it to run daily, weekly, or monthly.

<Frame>
  <img src="https://mintcdn.com/hcompany/2D0h3LjVGVT0_s43/images/holotab/create-routine.webp?fit=max&auto=format&n=2D0h3LjVGVT0_s43&q=85&s=ab0872c8aad6371cc49b296d4fae880f" alt="Recording a routine in HoloTab: the panel shows the routine name, a variable, and the recorded steps while a spreadsheet is being filled" width="1600" height="1000" data-path="images/holotab/create-routine.webp" />
</Frame>

A routine is a saved, reusable task: a name, optional variables, and the steps HoloTab follows. Run it on demand or on a schedule.

## Routines

### Record one

<Steps titleSize="h4">
  <Step title="Start recording">
    Click **Record a routine** above the prompt box. HoloTab watches the active tab and listens to the microphone.
  </Step>

  <Step title="Do the task, and say why">
    Click through the task as you normally would. Narrate as you go ("I'm adding the exhibitor name to column A"): your voice gives the routine the intent behind each step, not just the clicks.
  </Step>

  <Step title="Stop and review">
    Stop the recording. HoloTab generates a routine with a `/name`, the variables it detected (for example `{exhibitor_name}`), and the step list. Edit any step, then save.
  </Step>
</Steps>

### Run one

Type `/` in the prompt box to open your library, pick a routine, and fill its variables. Steps are written in plain language, so HoloTab runs them with the agent rather than replaying recorded clicks.

### Pre-built routines

A few routines ship with HoloTab so you can see what a good one looks like.

<CardGroup cols={3}>
  <Card title="/digest-gmail-inbox" icon="envelope">
    Reviews the first five unread Gmail conversations, summarizes them by sender, and saves a draft reply for each in your tone. Nothing is sent until you review.
  </Card>

  <Card title="/create-listing-ebay" icon="tag">
    Lists a resale item on eBay end to end.
  </Card>

  <Card title="/create-spotify-playlist" icon="music">
    Builds a playlist of last week's top 20 tracks in a region and adds it to your library.
  </Card>
</CardGroup>

## Schedules

<Frame>
  <img src="https://mintcdn.com/hcompany/2D0h3LjVGVT0_s43/images/holotab/schedule-form.webp?fit=max&auto=format&n=2D0h3LjVGVT0_s43&q=85&s=fe231df66ba6cc684c9c0f888625eb6f" alt="HoloTab schedule form: routine name, frequency and time, and the routine's variables" width="1600" height="1001" data-path="images/holotab/schedule-form.webp" />
</Frame>

Open **Schedules** in the panel, pick a routine, fill its variables, and choose daily, weekly, or monthly plus a time. Use the toggle to turn a schedule on or off.

<Frame>
  <img src="https://mintcdn.com/hcompany/2D0h3LjVGVT0_s43/images/holotab/schedules.gif?s=4cf94ce3049a8964f5988d20b472bd2b" alt="The Schedules list in HoloTab with a routine toggled on to run every Monday at 9:00" width="704" height="424" data-path="images/holotab/schedules.gif" />
</Frame>

Schedules run in the background in your browser: Chrome has to be open at the scheduled time. Runs follow your [autonomy mode](/holotab/autonomy-and-safety#autonomy-modes), so a routine set to ask before sending or booking will wait for you.

## Voice input

Tap the microphone in the prompt box and speak the task. Voice works exactly like typed text, for one-off tasks and for narrating a recording.
