Integration · TypeScript

Typed requests.Safe retries. One wait.

@kaabist/sdk gives you every API operation as a typed method, retries that never run a job twice, and a wait helper that can answer a job's questions as it goes.

sdk · setup
npm install @kaabist/sdk

How it works

  1. 01

    Run a job

    Create a job and hold the request open for its result. The client reads KAAB_API_KEY from the environment.

    example
    import { Kaab } from "@kaabist/sdk";
    
    const kaab = new Kaab();
    const job = await kaab.jobs.create({
      program: "renew-subscription@production",
      inputs: { account: "A-1042" },
      wait: 30,
    });
  2. 02

    Wait, and answer

    jobs.wait long-polls until the job ends. Give it onInput to supply a one-time code the job asks for, and onAttention to decide what to do when it needs attention.

  3. 03

    Retries that cannot run twice

    jobs.create always sends an Idempotency-Key, so a retried create returns the same job. Pass your own key to make your retries safe too.

Read the guide about TypeScript SDK

Other integrations

  • Coding agent

    Claude Code

    Add Kaabist to Claude Code with one command. Claude opens a real Kaabist browser, works through the site, and turns what it did into a program you review, test and publish.

    Set up about Claude Code
  • Coding agent

    Codex

    Point Codex at Kaabist's MCP server and it can drive a real browser on Kaabist's pool, read pages through ranked locators, and save what works as a draft program.

    Set up about Codex
  • Coding agent

    Cursor

    Add Kaabist to Cursor's MCP servers. The agent in your editor opens Kaabist browsers, tries extracts on the live page, and writes the program next to your code.

    Set up about Cursor
  • SDK

    Python SDK

    The kaabist package covers the whole API for Python 3.11 and later, with typed models, pages that fetch as you iterate, and a wait that can answer a job's questions as it goes.

    Set up about Python SDK
  • SDK

    Go SDK

    github.com/kaabist/kaab-go gives Go services the full API with typed errors, retries with idempotency keys, and iterators over every list.

    Set up about Go SDK
  • CLI

    kaab CLI

    The kaab command runs jobs, pushes and pulls programs, approves proposals and creates schedules. It fits in scripts and pipelines: exit codes say what happened.

    Set up about kaab CLI
  • Webhooks

    Webhooks

    Kaabist sends signed events to your endpoints: jobs that finish, wait for input or need attention, schedules that found a change, programs that drifted. Deliveries are retried with backoff and can go straight to Slack or Discord.

    Set up about Webhooks

Connect it once.Keep it running.