KryptixDocs
05 · RPA API

Quick start

Install the client, connect to a profile and click your first button.

Pro planPython 3.8+ · Node 16+1 min readUpdated November 2026
  1. Copy the client next to your script

    Pick the file for your language. There is nothing to install.

  2. Check three things

    Kryptix is running (it listens on 127.0.0.1:8777). Your plan is Pro. If you set an API key under Settings → Local API, pass it with kryptix_connect(api_key=…) or the KRYPTIX_API_KEY environment variable. A different port goes in kryptix_connect(api=…) or KRYPTIX_API.

  3. Run your first script

    kryptix_open takes a profile id or its exact name, opens it in RPA mode and waits for the engine. The browser stays open when your script ends; close it with kryptix_close().

    Python
    from kryptix_rpa import *
    
    kryptix_open("My profile")                 # opens it in RPA mode, waits for the engine
    kryptix_goto("https://example.com")
    kryptix_click("text=More information")
    kryptix_fill("input[name=q]", "hello world")   # real, human-timed key events
    kryptix_press_key("Enter")
    print(kryptix_title(), kryptix_url())
    kryptix_close()
    Node.js
    import { kryptix_open, kryptix_goto, kryptix_click, kryptix_fill,
             kryptix_press_key, kryptix_title, kryptix_url, kryptix_close } from "./kryptix_rpa.mjs";
    
    await kryptix_open("My profile");          // opens it in RPA mode, waits for the engine
    await kryptix_goto("https://example.com");
    await kryptix_click("text=More information");
    await kryptix_fill("input[name=q]", "hello world");   // real, human-timed key events
    await kryptix_press_key("Enter");
    console.log(await kryptix_title(), await kryptix_url());
    await kryptix_close();

Prefer objects? The classic Kryptix / Page / Locator API is still in the same file and works exactly as before; both styles can be mixed.

from kryptix_rpa import Kryptix

kx = Kryptix()
page = kx.open("My profile")
page.goto("https://example.com")
page.click("text=More information")