Skip to main content

cykani-sdk

Python SDK — standalone end-to-end stealth browser automation with fingerprint evasion, human-like behavior, and autonomous browsing.

Complete browser automation in Python. Launches Chrome/Chromium directly over CDP, applies fingerprint configuration, and automates with human-like behavioral patterns. No external browser process or Node.js dependency required.

Installation

pip install cykani-sdk

Or with geoip support:

pip install cykani-sdk[geoip]

Quick Start

from cykani_sdk import strike, Maestro

# Launch Chrome directly — fully standalone, no Node.js needed
session = await strike()
await session.goto("https://example.com")
await session.close()

# Or use Maestro for multi-session control
maestro = Maestro()
session = await maestro.launch({"fingerprint": 4242})
await session.goto("https://example.com")
await session.close()

Presets

Preset Hesitation Precision Latency Humor
strike() 0.5 0.7 human off
highTrust() 0.8 0.95 human off
aggressive() 0.1 0.99 robotic off
natural() 0.5 0.7 organic yes
stealth() 0.5 0.7 human yes

What the SDK Does (End-to-End)

cykani-sdk is a complete standalone browser automation SDK. Each preset and launch call handles the full lifecycle:

  1. Launch — spawns a Chrome/Chromium process directly via subprocess
  2. Configure — applies fingerprint (platform, GPU, screen, hardware concurrency), proxy, viewport, locale, timezone
  3. Connect — establishes CDP WebSocket connection via cdp-use
  4. Act — navigates, clicks, types with human-like behavioral patterns
  5. Close — terminates the browser process and cleans up

Behavioral Engine

The Python SDK mirrors cykani-stealth's behaviors.js — same anti-detection patterns, independent implementation:

Feature Description
cognitiveHesitation Pauses before actions based on page interaction density
idleMicroMovement Random cursor jitter simulating natural idle behavior
coffeeBreak Occasional long pauses (8% chance) simulating distraction
bezierCurve / strikeMove Bézier curve mouse movement with drift points and correction curves
typingDelay Per-character typing delays varying by character type (punctuation gets longer)
microTremor Small Gaussian jitter preventing linear cursor tracking
scrollCurve Smooth scrolling with eased acceleration/deceleration
attentionDrift Simulated looking away at the screen, then refocusing

Connecting to an Existing Browser

If you already have a Chrome instance running, connect to it directly:

session = await Session.create({
    "_cdp_endpoint": "ws://127.0.0.1:9222/devtools/browser",
    "fingerprint": 4242,
})

End-to-End in Two Languages

Both SDKs provide complete end-to-end browser automation — choose whichever language fits your team:

cykani-stealth (Node.js) cykani-sdk (Python)
Browser launching Native Chromium binary Spawns Chrome via subprocess
Fingerprint evasion C++ patches in binary CDP-level configuration
Behavioral engine Bézier curves, humanization Same behavioral patterns
CDP protocol Direct CDP WebSocket cdp-use library
Auto-detection Yes Yes
Standalone Yes, no Python needed Yes, no Node.js needed

Both share the same behavioral DNA — same Bézier curves, same typing delays, same cognitive hesitation, same micro-tremor. Pick your language and get the full experience.

Architecture

cykani-stealth/
├── src/                    # Node.js stealth engine (C++ patches, CDP)
│   └── ...                 # Full standalone browser automation
├── packages/
│   └── python/
│       └── cykani-python/  # Python SDK — complete standalone solution
│           ├── src/cykani_sdk/
│           │   ├── maestro.py      # Browser session orchestration
│           │   ├── session.py      # Standalone CDP browser session
│           │   ├── stealth/        # Behavioral engine + stealth
│           │   ├── agents/         # Autonomous navigation agents
│           │   └── utils/          # Cookies, proxy, geoip, session
│           ├── pyproject.toml
│           └── README.md
└── README.md

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cykani_stealth-1.3.4.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cykani_stealth-1.3.4-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file cykani_stealth-1.3.4.tar.gz.

File metadata

  • Download URL: cykani_stealth-1.3.4.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for cykani_stealth-1.3.4.tar.gz
Algorithm Hash digest
SHA256 b1ecfd5cc839a99b7903030a651734b4a84a910ab67f69103bff0f05e5829899
MD5 065b0629e8b9abfd1d07dc2c43fe6178
BLAKE2b-256 1870560f2446c5b103c08497fcf6e60f2d586e66dc8d9e699cc26f0a215dbb8d

See more details on using hashes here.

File details

Details for the file cykani_stealth-1.3.4-py3-none-any.whl.

File metadata

  • Download URL: cykani_stealth-1.3.4-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for cykani_stealth-1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b77c9b32a1473423dfb811e269bed962a1156cf3962a8d22598247a1d31d3e51
MD5 50c89e3448eab7c30b98d07644b427c4
BLAKE2b-256 ae88b4d5434e6ba70b6b61918dd7bf985426d301b323ac5825b96b0cc3131519

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page