Integration · Python

Blocking or asyncio.Fully typed.

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.

sdk · setup
pip install kaabist

How it works

  1. 01

    Run and wait

    Create a job, then wait for it. on_input supplies a value the job asked for; on_attention decides what happens when it needs attention.

    example
    from kaabist import Kaab
    
    with Kaab() as kaab:  # KAAB_API_KEY
        job = kaab.jobs.create(program="renew-subscription@production",
                               inputs={"account": "A-1042"})
        done = kaab.jobs.wait(
            job.id,
            on_input=lambda request, job: ask_for_code(request.prompt),
        )
  2. 02

    Async, the same way

    AsyncKaab has the same methods for asyncio code, and lists iterate across pages as you go.

    example
    from kaabist import AsyncKaab
    
    async with AsyncKaab() as kaab:
        async for proposal in kaab.proposals.list(status="pending"):
            print(proposal.id)
Read the guide about Python 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

    TypeScript SDK

    @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.

    Set up about TypeScript 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.