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

Metadata

Release files for cykani-stealth 1.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cykani-stealth 1.3.6
File Size Uploaded
cykani_stealth-1.3.6.tar.gz 24.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cykani-stealth 1.3.6
File Interpreter ABI Platform
cykani_stealth-1.3.6-py3-none-any.whl Python 3 none any Details

Total release size: 55.2 kB

Release files / cykani_stealth-1.3.6.tar.gz

Download URL cykani_stealth-1.3.6.tar.gz
Size 24.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2faa51eb0784e154b776e1d9494fbcb65a17b45a33bd9701d6df6b475774c5ae
BLAKE2b-256 checksum
How to use checksums
0e52f20408718a25c95bd9cf957d4ee0b0a77d7b1bcf76cb173c86e7be0cb244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / cykani_stealth-1.3.6-py3-none-any.whl

Download URL cykani_stealth-1.3.6-py3-none-any.whl
Size 31.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6314e46b1ace6c8e59479bee2fe3f6127dfe932aaa6f415c0d30c1b057943d3f
BLAKE2b-256 checksum
How to use checksums
833ce70640bb2726c7f9e05c3fd16ca119487c9694418c39f6512b7d20bf2c3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

1.3.6 This release

2 release files

1.3.5

2 release files

1.3.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page