JStone2934

JStone2934 / KAgent

Public

把 Agent 的每次改文件,画成一支「股票」的 K 线

17
0
85% credibility
Found May 30, 2026 at 17 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

KAgent is a code editor extension that transforms file edits into a stock market visualization, where each file becomes a tradeable stock with candlestick charts showing edit history, line count changes, and volume.

How It Works

1
💡 Discover a creative new way to track your work

You hear about an extension that turns your coding sessions into a stock market, where every file you edit becomes a tradeable stock with real-time charts.

2
📦 Install the extension in your editor

You add KAgent to your Cursor or VS Code editor using the built-in marketplace or by downloading a package file.

3
🔌 Connect the tracking system

You run a simple command to set up the hooks that watch your files, letting the extension know when changes happen.

4
📊 Your workspace becomes a living market

As you or your AI assistant edits files, they appear in the sidebar like stocks on a trading platform, each with its own candlestick chart showing the history of changes.

5
Choose how you want to watch the market
🇨🇳
Chinese market style

Red candles show when your file grew, green when it shrank

🇺🇸
American market style

Green candles show when your file grew, red when it shrank

6
📈 Watch your project evolve over time

You click on any file to see its full history as candlesticks, with each bar showing how many lines changed in each editing session.

🎉 See your entire project as a thriving market

Every file you touch becomes part of your personal stock market, with new files 'going public' and deleted files gracefully 'retiring' from the list.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 17 to 17 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is KAgent?

KAgent is a VS Code and Cursor extension that turns AI agent file edits into stock market candlestick charts. Each file in your workspace becomes a "stock ticker," its first edit becomes an "IPO," and every subsequent edit round becomes a candlestick with open/high/low/close data based on line count changes. The extension installs as a sidebar panel showing your entire workspace as a market, complete with volume bars and trend indicators. It captures edits through Cursor Hooks or optional save-time recording, storing everything locally in NDJSON format with no network required.

Why is it gaining traction?

The hook is immediately clear: developers can finally see their AI agent's productivity as a living market. Watching files "trade" as the agent modifies them gives tangible feedback on what the agent is actually doing versus what you expected. The CN/US market style toggle (red up vs green up) shows thoughtful localization, and the ST delisted state for deleted files adds a layer of realism. The offline bundled charting means zero latency and no privacy concerns.

Who should use this?

Cursor and VS Code users who work heavily with AI agents and want visual feedback on edit patterns. Product teams could use it to track which files get the most churn. Developers debugging agent behavior will appreciate seeing edit volatility at a glance rather than scrolling through git diffs.

Verdict

This is a clever concept with solid execution for its stage, but the 17-star count and early maturity mean you should test it on a non-critical project first. The documentation is thorough and bilingual, which helps, but test coverage and community activity are unknowns at this scale. Worth trying if you want a novel way to monitor agent activity.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.