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:
- Launch — spawns a Chrome/Chromium process directly via subprocess
- Configure — applies fingerprint (platform, GPU, screen, hardware concurrency), proxy, viewport, locale, timezone
- Connect — establishes CDP WebSocket connection via
cdp-use - Act — navigates, clicks, types with human-like behavioral patterns
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cykani_stealth-1.3.5.tar.gz.
File metadata
- Download URL: cykani_stealth-1.3.5.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73103ff7db9f319f679fa60662d5d5b8c2ce1962905f2fe3061b03adead7e9da
|
|
| MD5 |
48ce8ba01effc2cd16057a92541351a1
|
|
| BLAKE2b-256 |
5f31c100b4ee1e923b71e30232cc7f38ac09154a5aa8f6c306cc4e10a175aaa5
|
File details
Details for the file cykani_stealth-1.3.5-py3-none-any.whl.
File metadata
- Download URL: cykani_stealth-1.3.5-py3-none-any.whl
- Upload date:
- Size: 31.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
668f4ea4008f108dd456fe06ba009679f149f61f6d44a436e18518a98573a212
|
|
| MD5 |
5cf8880699081f423017b9c722f9fe6a
|
|
| BLAKE2b-256 |
7b7d4e96a16c021ca5578f347fb2adeeee3abb1d678523528920d792f6db9c63
|