惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Cisco Talos Blog
Cisco Talos Blog
P
Privacy & Cybersecurity Law Blog
I
Intezer
Y
Y Combinator Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
N
Netflix TechBlog - Medium
The Hacker News
The Hacker News
AWS News Blog
AWS News Blog
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Stack Overflow Blog
Stack Overflow Blog
Hacker News: Ask HN
Hacker News: Ask HN
酷 壳 – CoolShell
酷 壳 – CoolShell
量子位
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
B
Blog
T
Tor Project blog
C
Cybersecurity and Infrastructure Security Agency CISA
云风的 BLOG
云风的 BLOG
博客园_首页
V2EX - 技术
V2EX - 技术
T
Threat Research - Cisco Blogs
腾讯CDC
宝玉的分享
宝玉的分享
博客园 - 叶小钗
罗磊的独立博客
S
Securelist
The Last Watchdog
The Last Watchdog
Google Online Security Blog
Google Online Security Blog
Scott Helme
Scott Helme
博客园 - 司徒正美
W
WeLiveSecurity
有赞技术团队
有赞技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
Secure Thoughts
NISL@THU
NISL@THU
N
News and Events Feed by Topic
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
雷峰网
雷峰网
大猫的无限游戏
大猫的无限游戏
K
Kaspersky official blog
IT之家
IT之家

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店 GitHub - EdoardoBambini/Agent-Armor-Iaga: AI agents are getting tool access — shell, file system, databases, APIs, secrets. But **nobody is governing what they actually do with it**. Frameworks like LangChain, CrewAI, AutoGen, and Claude Code give agents the power to execute. Agent Armor gives you the power to control, audit, and approve every single action before it happens. HN Vibes — Week 15, Apr 7–13 2026 GitHub - chojs23/ec: Easy terminal-native 3-way git mergetool vim-like workflow GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - JakOb-dotcom/cloud-sandbox-security-analysis: Technical analysis and Proof of Concept (PoC) regarding environment variable exfiltration in containerized cloud sandboxes via side-channel data leaks. Springboards - Flint Alpha Show HN: A simpler coding agent harness GitHub - audiodude/sudomake-friends GitHub - 256thFission/mini-mythos: OSS clone of Anthropic’s Mythos harness to locate C/C++ memory vulnerabilities Show HN: OpenParallax: OS-level privilege separation for AI agent execution Hacker News Sorted - Chrome 应用商店 Show HN: How to Install Docker on Ubuntu 24.04 LTS: Complete 2026 Guide GitHub - himanshudongre/smriti GitHub - sverrirsig/claude-control: macOS desktop dashboard for monitoring and managing multiple Claude Code sessions GitHub - ory/dockertest: Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. Chiral - Chrome 应用商店 Show HN: Two Claudes collaborating through shared memory on a $100 mini-PC GitHub - pmichaillat/latex-cv: Minimalist LaTeX template for academic CVs GitHub - oguzbilgic/posse: A web UI for Anthropic Managed Agents. GitHub - sshiraz/depsly: Dependency risk analysis tool for npm packages ABI Add safari/agent-harness — Safari browser automation via safari-mcp by achiya-automation · Pull Request #212 · HKUDS/CLI-Anything GitHub - Halfblood-Prince/trustcheck: Verify PyPI package attestations and improve Python supply-chain security GitHub - oguzbilgic/kern-ai: Agents that do the work and show it. GitHub - bruits/satteri: High-performance Markdown and MDX processing for the JavaScript ecosystem GitHub - tylergibbs1/feedstock: High-performance web crawler and scraper for TypeScript, powered by Bun and Playwright GitHub - Grimm67123/grimmbot: The self-improving sandboxed and open-source AI agent. With persistent memory and scheduling. GitHub - whitevanillaskies/whitebloom: Local whiteboard that blooms. GitHub - hwdsl2/docker-whisper: Docker image for a self-hosted Whisper speech-to-text server with speaker diarization and OpenAI-compatible transcription and translation APIs. Powered by faster-whisper. Supports all Whisper models, NVIDIA GPU (CUDA) acceleration, JSON/SRT/VTT output, SSE streaming, offline mode, and multi-arch (amd64, arm64). GitHub - yisding/reviewwiggum GitHub - MarwanAlsoltany/serrors: Structured errors for Go: sentinel hierarchies, typed data, custom formatting, and slog integration. GitHub - soatok/age-php GitHub - Luthiraa/markitme GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits GitHub - tombedor/excalicharts GitHub - wh1le/excalidraw-edit: Open and edit .excalidraw files from the terminal. Offline, auto-saves to disk. MalExt Sentry - Malicious Extension Scanner - Chrome 应用商店 GitHub - syi0808/asciianimesvg: Generate animated ASCII art SVGs from text. CLI, Rust library, WASM, and web editor. GitHub - zaina-ml/ml_forge: A visual-based graph node editor for training computer vision models. GitHub - anakin87/llm-rl-environments-lil-course: 🌱 A little course on Reinforcement Learning Environments for evaluating and training Language Models GitHub - takaakit/superpowers-uml: Superpowers-UML modifies Superpowers to ensure a software development workflow in which AI agents design through UML modeling. AdriByte Studio - Sviluppo Web e Soluzioni Digitali GitHub - chouligi/angel-copilot: Your personalized Angel Investment Advisor Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 GitHub - agenteractai/lodmem: Level Of Detail Context Management for Agents GitHub - ostefani/subnetlens: A fast, concurrent network scanner with a TUI and plain-text CLI, built in Go. It discovers live hosts on your network, scans their open ports, resolves hostnames, and fingerprints operating systems—delivered. Cyber Pulse: Agentic Intel - Apps on Google Play Whisper API: Self-Hostable Speech to Text Transcription The Agent-Web Protocol Stack: A Research Thesis GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Show HN: Provepy – A Python decorator that proves your code using Lean and LLMs Show HN: Pardonned.com – A searchable database of US Pardons GitHub - patrickdappollonio/dux: Dux is a terminal UI that lets you run multiple AI coding agents side by side, each in its own git worktree, with full companion terminals, macros, commit generation, and a command palette that knows more tricks than you do. kMC Crystal Simulator Show HN: HyperFlow – A self-improving agent framework built on LangGraph GitHub - stef41/vibescore: 🎵 Grade your vibe-coded project. One command, instant letter grade across security, quality, dependencies, and testing. GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. imgur.com GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. GitHub - nowork-studio/toprank: Open-source Claude Code skills for SEO, SEM, Google Ads GitHub - tacomanator/sash: Lightweight macOS menu bar app for reliably cycling through windows of the current application. Appents | Social Media Management for Product-First Teams GitHub - pnhoang/youtube-spam-blocker: Automatically detects and hides spam messages in YouTube Live chat. Set rate limits, keyword filters, and block repeat offenders. GitHub - decisionnode/DecisionNode: CLI + Local MCP - A shared structured memory store across Claude Code, Cursor, Windsurf, Antigravity, and every MCP client. Semantically queryable. GitHub - AvaCodeSolutions/django-email-learning: An open source Django app for creating email-based learning platforms with IMAP integration and React frontend components. The $100K Gap in Kubernetes Security Tooling Function Calling Harness: From 6.75% to 100%
GitHub - 0xku/kon: Kon is a minimal coding agent (and also a highly opinionated one)
krumboy · 2026-05-07 · via Hacker News: Show HN

A minimal terminal coding agent with a small core, strong defaults, and user-owned context.

PyPI Python License

Kon terminal UI screenshot

Kon is a minimal coding agent focused on a tiny core prompt, a small built-in toolset, and project-specific context layered on top only when you want it. The default system prompt stays under 270 tokens, and even including the built-in tool descriptions and parameter schemas, the fixed harness stays at about ~1,000 tokens. The core experience is built around just 6 default tools plus 2 optional web tools.

Kon is named after the artificial soul from Bleach.


Table of Contents


Quick Start

Install

uv tool install kon-coding-agent

Run

kon
usage: kon [-h] [--model MODEL]
           [--provider {azure-ai-foundry,github-copilot,openai,openai-codex,openai-responses,zhipu}]
           [--api-key API_KEY] [--base-url BASE_URL] [--continue]
           [--resume RESUME_SESSION] [--version]
           [--extra-tools EXTRA_TOOLS]

Kon TUI

options:
  -h, --help            show this help message and exit
  --model, -m MODEL     Model to use
  --provider, -p {azure-ai-foundry,github-copilot,openai,openai-codex,openai-responses,zhipu}
                        Provider to use
  --api-key, -k API_KEY
                        API key
  --base-url, -u BASE_URL
                        Base URL for API
  --continue, -c        Resume the most recent session
  --resume, -r RESUME_SESSION
                        Resume a specific session by ID (full or unique prefix)
  --version             show program's version number and exit
  --extra-tools EXTRA_TOOLS
                        Comma-separated extra tools to enable (e.g. web_search,web_fetch)

Common examples

# choose a model explicitly
kon -p openai-codex -m gpt-5.4

# continue your latest session
kon -c

# resume a specific session by id or unique prefix
kon -r 3f2a8c1b-...

# enable the optional web tools
kon --extra-tools web_search,web_fetch

Once inside Kon, you can:

# Run shell commands directly
!ls -la
!git status

# Run commands and get LLM analysis
!!grep -r "TODO" src/
!!find . -name "*.py" | head -20

Install from source

git clone https://github.com/kuutsav/kon
cd kon
uv tool install .

Warning

Kon currently targets macOS and Linux. Windows is not tested yet.


Why Kon

Minimal by design

Kon tries to stay small in the places that matter most:

  • System prompt under 270 tokens by default
  • 6 core tools for everyday coding work
  • 2 optional extra tools for web lookup and content extraction
  • Project instructions are externalized through AGENTS.md
  • Heavily configurable defaults that you can tune around model, prompt, permissions, compaction, tools, and UI
  • Useful features are borrowed selectively from other agents, like /handoff inspired by Amp

That means the default harness stays lightweight, while your actual working behavior can still become rich through project context and configuration.

If you want a coding agent you can read, understand, fork, and adapt without inheriting a giant framework, that is the point of Kon.

Configuration

Kon stores config at:

~/.kon/config.toml

It is created automatically on first run, and old schemas are migrated forward automatically when needed.

Users are recommended to customize this config based on their model, workflow, safety preferences, and UI taste. For the shipped default config with inline comments, see src/kon/defaults/config.toml.

Here is the full config shape:

[meta]
config_version = 4

[llm]
default_provider = "openai-codex"
default_model = "gpt-5.4"
default_base_url = ""
default_thinking_level = "high"
tool_call_idle_timeout_seconds = 180

[llm.auth]
openai_compat = "auto"
anthropic_compat = "auto"

[llm.system_prompt]
git_context = true
content = """You are an expert coding assistant called Kon.
..."""

[compaction]
on_overflow = "continue"
buffer_tokens = 20000

[agent]
max_turns = 500
default_context_window = 200000

[tools]
extra = ["web_search", "web_fetch"]

[ui]
theme = "gruvbox-dark"

[notifications]
enabled = true
volume = 0.5

[permissions]
mode = "prompt"

Core tools

These are enabled by default:

Tool What it does Why it matters
read Read file contents with pagination and image support Keeps file inspection structured and token-efficient
edit Exact text replacement Good for surgical code changes
write Create or fully overwrite files Good for new files or full rewrites
bash Run shell commands For tests, git, builds, scripts, package managers
grep Regex search inside files Faster and cleaner than shelling out for content search
find Glob-based file discovery Fast repo navigation with .gitignore awareness

This is the core experience: small, predictable, and enough for most coding tasks.

Extra tools

Kon also ships optional built-in tools you can turn on when needed:

Tool Purpose How to enable
web_search Search the web with DuckDuckGo --extra-tools web_search,web_fetch or config
web_fetch Fetch and extract clean page content Usually paired with web_search

Enable them from the CLI:

kon --extra-tools web_search,web_fetch

Or in ~/.kon/config.toml:

[tools]
extra = ["web_search", "web_fetch"]

Interactive TUI

Kon is built around a terminal UI that stays simple but practical.

Editor and navigation

Feature How it works
File reference Type @ to fuzzy-search files and folders in the current project
Path completion Press Tab to complete paths like ./, ../, ~, quoted paths, and absolute paths
Queued prompts Press Enter while the agent is running to queue a follow-up prompt
Steer queue Press Alt+Enter to queue a steer message that is processed before normal queued prompts
Queue limit Up to 5 normal queued prompts and 5 steer messages
Model switching Use /model to switch interactively
Session browsing Use /resume to browse prior sessions

Slash commands

Type / at the start of the input box to see available commands.

Command Description
/new Start a new conversation and reload project context
/resume Browse and restore a saved session
/model Switch model via picker
/session Show session file, ids, message counts, and token stats
/compact Compact the current conversation immediately
/handoff Create a focused handoff into a new session
/themes Switch UI themes
/permissions Switch permission mode
/thinking Switch thinking level for the current session
/notifications Toggle notification sounds
/export Export current session to standalone HTML
/copy Copy the last assistant response to the clipboard
/login Authenticate with a supported OAuth provider
/logout Remove provider credentials
/clear Clear the current conversation
/help Show help and keybindings
/<custom> Custom skills registered as slash commands, shown in the /cmd popup for manual triggering
/quit (/exit, /q) Quit Kon

Themes

Kon includes built-in themes and supports switching from inside the app:

  • ayu
  • catppuccin-frappe
  • catppuccin-latte
  • catppuccin-macchiato
  • catppuccin-mocha
  • dracula
  • everforest
  • flexoki
  • github-dark
  • github-light
  • gruvbox-dark
  • gruvbox-light
  • kanagawa
  • monokai
  • nightowl
  • nord
  • one-dark
  • one-light
  • palenight
  • rosepine
  • solarized-dark
  • solarized-light
  • tokyo-day
  • tokyo-night

Set one interactively with /themes, or persist it in config:

[ui]
theme = "gruvbox-dark"

Shell commands

Kon supports direct shell command execution from the input box using two prefixes:

Prefix Behavior
!command Run the command and show the result in chat
!!command Run the command, show the result, and send the output to the LLM for follow-up

Examples:

!ls -la              # List files in current directory
!git status          # Show git status
!python -m pytest tests/ -v  # Run tests

!!grep -r "TODO" src/    # Search for TODOs and analyze results
!!find . -name "*.py" | head -20  # Find Python files and get LLM insights

Sessions

Kon stores sessions as append-only JSONL files in:

~/.kon/sessions/

That keeps sessions easy to inspect, archive, and move around.

Resume and continue

You can restore work from the CLI or inside the TUI:

kon --continue
kon --resume <session-id>

Inside Kon:

  • /resume opens an interactive session picker
  • /session shows metadata and token usage
  • the session picker also supports deleting old saved sessions

Handoff

/handoff <query> starts a new focused session using a synthesized handoff prompt generated from the current conversation.

This is useful when a thread has grown broad and you want a fresh, narrower working context without losing the original session.

Export and copy

  • /export writes a standalone HTML transcript into the current working directory
  • /copy copies the latest assistant response text to your clipboard

Compaction

Long sessions eventually fill the context window. Kon supports both:

  • manual compaction via /compact
  • automatic compaction on overflow

Overflow behavior is configurable:

[compaction]
on_overflow = "continue" # or "pause"
buffer_tokens = 20000

The full session history still remains on disk in the JSONL file.


Context Loading

Kon keeps the built-in harness small by moving project-specific instructions out of the fixed prompt.

AGENTS.md

Kon loads project guidance from AGENTS.md or CLAUDE.md files into the system prompt.

Load order:

  1. ~/.kon/AGENTS.md
  2. matching ancestor directories from git root (or home) down to the current working directory

Use these files for repo conventions, test commands, code style notes, deployment steps, or anything else you want loaded automatically.

Skills

Skills are reusable instruction packs discovered from:

  • project: .kon/skills/
  • global: ~/.kon/skills/

Each skill lives in its own directory with a SKILL.md file.

Example:

---
name: my-skill
description: Brief description of what this skill does
register_cmd: true  # also registers the skill in the /cmd popup for manual triggering
cmd_info: Quick action shown in slash menu
---

# My Skill

Detailed instructions for the agent...

Important fields:

  • name - skill identifier
  • description - used for discovery and prompt context
  • register_cmd - if true, exposes the skill as a slash command and includes it in the /cmd popup for manual triggering
  • cmd_info - short help text for the slash menu

Validation highlights:

  • lowercase letters, numbers, and - only
  • no leading/trailing -
  • no --
  • max length for name: 64 chars

Skills are the main way to add reusable behaviors without bloating the default harness.


Providers and Models

Kon works with hosted models and local models exposed through an OpenAI-compatible /v1 API.

Built-in provider support includes:

  • GitHub Copilot
  • OpenAI Codex
  • OpenAI Responses / OpenAI-compatible endpoints
  • Azure AI Foundry
  • ZhiPu

Use /model in the TUI to switch between available configured models.

OAuth and API keys

Kon supports both OAuth login flows and direct API-key configuration.

  • GitHub Copilot OAuth: run /login and choose GitHub Copilot
  • OpenAI OAuth: run /login and choose OpenAI
  • OpenAI-compatible providers: use OPENAI_API_KEY or provider-specific equivalents
  • Azure AI Foundry: set AZURE_AI_FOUNDRY_API_KEY and AZURE_AI_FOUNDRY_BASE_URL

You can also pass credentials directly on launch:

kon --provider openai --model some-model --api-key "$OPENAI_API_KEY"

Local models

Kon works well with local models served through an OpenAI-compatible endpoint. For one-off launches, you can force unauthenticated local behavior with --openai-compat-auth none or --anthropic-compat-auth none. To make that persistent across sessions, set [llm.auth] openai_compat = "auto"|"none" and/or anthropic_compat = "auto"|"none" in ~/.kon/config.toml.

More notes, tested models, and examples live in docs/local-models.md.


Permissions

Kon supports two permission modes:

Mode Behavior
prompt Ask before mutating tool calls
auto Skip approval prompts

In prompt mode, non-mutating tools are allowed automatically, and some clearly read-only shell commands are also allowed.

Use /permissions to switch modes for the current session and persist the change to config.

[permissions]
mode = "prompt" # or "auto"

Tool binaries

Kon depends on a few fast CLI tools for file discovery and search:

  • fd - required for fast file discovery
  • ripgrep - required for fast content search

If fd or rg are missing, Kon can download them automatically.


Acknowledgements

  • Kon takes significant inspiration from pi coding-agent, especially around philosophy and UI direction.
  • Kon also borrows ideas from Amp, Claude Code, and other terminal coding agents.

License

MIT