Skip to content
Projects

DrEAmSs59/CS2-insight-agent

View on GitHub

About

An all-in-one CS2 content creation suite: a demo library and analysis tools for highlights, entertaining fails, realistic POVs, 2D replays, heatmaps, and cosmetic skin swaps; automatic OBS recording and clip production; a compilation workspace plus LiteCut for precise multitrack editing; and optional sharp-tongued LLM commentary. Zero injection, zero hooking, zero reverse engineering of the game process, with lower-risk local replay.

Security & Privacy

How these counts are measured

Measured star growth

in 24h
+2
in 7 days
+12
in 15 days
+18
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original


CS2-Insight-Agent
CS2-Insight-Agent

简体中文 | English

CS2 Insight Agent: All-in-one CS2 Creation Suite

Demo Analysis · Custom Skins · OBS Auto-Recording · LiteCut · LLM Commentary
Zero Injection · Zero Hooks · Zero Game Reverse-Engineering · Low-Risk Local Replay

release Stars License

User Guide • Contributing • Video Tutorial • Key Features • Installation • Support • Disclaimer • License

screenshot

▶ Video Tutorial BV1PcVj69ExZ

Sample Output

▶ BV1ZkGi6YENF · ▶ BV1TPGq67EFS

Intro/outro BGM and team logos added by the creator; game clips auto-edited by this tool

▶ BV1KF5s6nEed · ▶ BV1G198BkEHd

Both intro/outro BGM and game clips produced by this tool


Key Features

Demo Library Management

  • Local Library Records — List and thumbnail view showing match source, scoreboard, tracked players, display names, notes, and other key info.
  • Auto Directory Monitoring — Supports monitoring demo download directories from 5E, Perfect World, Official Matchmaking, FACEIT, etc., with one-click import.
  • Analysis Handoff — Select one or more demos in the library and open Demo Analysis directly, or upload local demos from the analysis page.

Demo Analysis

A unified match-analysis workspace: loading a demo auto-parses all players; switch the active demo from the top-right, then pick a player on the left to browse clips and data. Main views include:

  • Highlights & Recording — Batch-parse highlight moments; lock targets by Steam ID / platform ID / nickname; auto-categorize Highlights (multi-kills, one-taps, clutches, knife kills, jump shots, defuses), Fails (taser, Deagle, team kills, "human magnet", "human tracing", "shoulder-to-shoulder" moments), Cross-round Compilations (favorite victim, nemesis, kill/death montage, continuous round recording), and Meme Rounds (211/o/i/z series with optional AI round commentary), then queue them for recording. See Clip Types & Tags.
  • Round Timeline / Weapon Kills — Browse kill/death timelines by round and add a shot, a death, or an entire round to the queue; continuous round recording from round start to death or round end, with multi-round stitching.
  • 2D Replay — High-speed local 2D replay for movement, fights, and round flow — no need to launch CS2 first.
  • Heatmaps — Full-match movement density, combat hotspots, kill/death hotspots; filter by player, side, and map floor to study defaults, rotates, and failing positions.
  • Overview / Players / Rounds / Economy — Match overview, roster and personal stats, round-by-round flow, and economy context to grasp the match structure quickly.
  • Cosmetics & Custom Skins — On the Cosmetics tab, inspect weapons, knives, gloves, agents, and more that actually appeared in the demo; support 3D / in-game inspect. Enter Customize skins to pick replacements (wear, seed, etc.) and save a custom skin plan for later replay and recording.

    The skin-rewriting core is closed-source; see License.

Auto Recording

  • Batch Recording Queue — Queue multiple matches and clips; sequentially launch CS2 replay and drive OBS to produce videos; preview the plan before recording, with per-clip timing tweaks in the queue.
  • Pre-recording Spectator Settings — One-click spectator HUD (death notices only, hide IDs/chat/demo bars), FOV and viewmodel, flash brightness, voice, resolution and aspect ratio, OBS transitions between clips; experimental POV first-person HUD can be enabled per match.
  • Diverse Output Styles:
    • Observer view or POV first-person HUD (toggle radar, adjust top player count display)
    • Clean spectator view, custom FOV, hide grenade trajectories
    • Victim POV — After highlight or multi-kill compilations, automatically append victim perspective clips
    • Built-in Keys + Input Visualization — Display keyboard and mouse input directly inside CS2 through the recording VPK, with zero overlay latency
    • Fade in/out transitions between clips
  • Safe Recording Solution:
    • Controls recording via OBS and game state coordination, no injection or game hooking
    • Automatically backs up and restores your keybinds and graphics settings after recording

Compilation Workbench

  • Successfully recorded clips land in the library; drag-and-drop reorder, add BGM/transition themes, export MP4; filter by highlight/fail/compilation/timeline, with intro/outro arrangement.

  • Player Info Card — Optional bottom-left nameplate at each clip start: nickname, clip type, round and scenario tags (e.g. multi-kill, one-tap); upload avatars per player, or fall back to the nickname initial.

  • Best for a lightweight “record → reorder → export” montage flow.

  • FFmpeg export setup — The Compilation Workbench and LiteCut both use ffmpeg.exe for exporting. Choose either option below:

    • Recommended: FFmpeg from FrameMeld — Download the latest release from Releases, extract it, and use the included ffmpeg.exe. It supports regular exports as well as frame interpolation, duplicate-frame repair, and motion blur.
    • Regular exports: FFmpeg 9.0 full build — Use this if you do not need FrameMeld processing. Choose the full build, not an essentials or stripped-down build.
    • Setup — In Settings, select the extracted ffmpeg.exe as the FFmpeg path. Exports prefer GPU encoding (NVENC/QSV/AMF) and automatically fall back to software encoding when unavailable.

LiteCut (Multi-track Editor)

Built-in lightweight NLE for multi-track finishing on top of Insight recordings, or with local media (requires one of the recommended FFmpeg setups above).

  • Project Management — Create / open / duplicate projects with custom canvas size and frame rate; templates, portable project JSON import/export, and crash recovery.
  • Media Bin — Use Insight recordings (filter by highlight/fail/compilation/timeline) or drop in local video, audio, images, and fonts; preview proxies, asset relinking, and mic voiceover.
  • Multi-track Timeline — Video, audio, and text/overlay tracks; split, trim, ripple delete, slip, group, A/V link/unlink; markers and snapping; undo/redo and shortcuts.
  • Packaging & Color — Titles/text styles, filters/color grade (esports, cool/warm, night, etc.), fixed speed and speed ramps, transform/volume keyframes, in/out transitions (fade, flash, wipe, glitch, and more); save and reuse style presets.
  • Kill Axis — Kill timestamps embedded in recorded clips follow trim/move/speed changes for rhythm spotting (read-only; not baked into export).
  • Export — Export by project settings and in/out range, preferring hardware encoding.

AI Commentary (Optional)

  • OpenAI-Compatible Multi-Provider — Built-in support for DeepSeek, Tongyi Qwen, Zhipu GLM, MiniMax, OpenAI, OpenRouter; local models via Ollama, LM Studio.
  • Sarcastic Persona Prompt — Hype for highlights, roast for fails, meme deaths as jokes; hard constraint under 100 characters, single-line JSON output, no off-topic chatter.
  • Round Meme Compilation Review — 211/o/i/z meme rounds trigger "Round Comprehensive Review", independent from clip-level scoring.

Installation

Download the latest CS2-Insight-Agent-Setup-x.x.x.exe from the Releases page, run the installer and follow the prompts.

After installation, launch from desktop or start menu. No browser or manual backend start is required. The lightweight Tauri shell starts the bundled Python backend and renders the UI with the Windows system WebView2 runtime.

The app does not run a background updater. Download new versions directly from the Releases page.

Recommended: Installation path without Chinese characters. e.g., D:\CS2-Insight-Agent\ ✅, D:\游戏工具\CS2-Insight-Agent\ ❌


Roadmap

  • V1
    • Highlight Parsing
    • AI Commentary
    • Auto Director
  • V2
    • Lightweight Tauri Desktop
    • Compilation Workbench (FFmpeg Export)
    • POV HUD Experimental Feature
    • Round Timeline Browse & Queue Recording
    • Pre-recording Spectator Warm-up / Victim POV / Virtual Keyboard OBS Overlay
    • Demo Map Analysis (2D Replay / Heatmaps, etc.)
  • V3
    • Tactical Coach (Grenade Trajectory Analysis / Route Review)

Top contributors:


License

This project is released under the PolyForm Noncommercial 1.0.0 license.

  • Personal learning, research, hobby, review, and other non-commercial uses are permitted. Under this license, you may read, modify, build, and distribute this project's source code and derivatives.
  • Without written authorization, commercial use is prohibited, including but not limited to: commercial software, paid services, commercial editing/recording services, commercial platform integration, sales, rental, resale, or distribution as part of commercial products.
  • 📦 If you distribute compiled products, installers, or modified versions of this project, please retain this project's license statement and comply with all third-party open source component licenses listed in THIRD_PARTY_LICENSES.md.
  • 🔒 The custom skin (skin rewriting) feature under Demo Analysis → Cosmetics is a closed-source proprietary component and is not covered by the open-source license above:
    • Scope: Includes, without limitation, the “Customize skins / custom skin plan” UI capabilities, skin replacement and write-back logic, and the underlying closed-source components (such as the skin-core binary and related implementations). The open-source repository provides call sites only and does not include the skin-rewriting algorithms or core implementation source code.
    • Rights: All intellectual property in this feature and its closed-source implementations belongs to the rights holder. It is not released as open source, no reverse-engineering permission is granted, and openness of other project parts does not imply any license over this component.
    • Prohibited acts: Without prior written authorization from the rights holder, no person or organization may reverse engineer, decompile, disassemble, debug/trace, crack, bypass integrity or authorization checks, tamper with, extract algorithms/protocols/keys from, copy, re-package, redistribute, or otherwise obtain, disclose, or exploit the internal implementation of this closed-source component.
    • Legal consequences: Upon discovery of any such activity, the rights holder reserves the right to pursue all available civil, administrative, and criminal remedies, including but not limited to injunctive relief and damages. Commercial licensing inquiries: [email protected].

Disclaimer

Counter-Strike 2, CS2, Counter-Strike, Steam, Valve and related names, trademarks, and logos belong to their respective owners.

This project is not affiliated with, partnered with, sponsored by, authorized by, or endorsed by Valve Corporation, Perfect World Arena, 5E Arena, OBS Studio, or other related platforms or software owners.

Safe Usage Tips

  • Default Recording Process launches CS2 with -insecure for local demo playback only; no DLL injection or hooking; does not modify .dem files on disk, does not connect to, modify, or interfere with any official game servers, matchmaking services, or anti-cheat systems, nor does it provide any cheating, detection bypass, or fair-play disruption features. Do not use in parallel with a CS2 client logged into matchmaking servers to avoid triggering unnecessary anti-cheat warnings.
  • If you actively enable POV in "Common Parameters → Experimental Features", the program temporarily writes pov.vpk to CS2's game/csgo directory and incrementally modifies gameinfo.gi's SearchPaths to load POV HUD resources; automatically restored after recording or abnormal termination. This mode also forces -insecure when launching CS2. Do not use to connect to VAC-secured servers.
  • Recording temporarily modifies several CS2 archive cvars and keybinds. This project automatically backs up your original config.cfg / video.txt / user_convars_*.vcfg to the program data directory's .cs2_config_backup when starting recording, and restores them afterward; if settings were overwritten due to abnormal exit, manually retrieve original files from that directory.

Support

If this project saved you editing time, consider buying me a coffee ☕ Your support goes toward demo parsing, recording compatibility testing, and future feature maintenance.

Support Method 1 Support Method 2

Explore related projects

Loading…