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

推荐订阅源

Cloudbric
Cloudbric
有赞技术团队
有赞技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Threat Research - Cisco Blogs
L
LangChain Blog
Simon Willison's Weblog
Simon Willison's Weblog
Project Zero
Project Zero
Latest news
Latest news
S
Schneier on Security
Cisco Talos Blog
Cisco Talos Blog
MyScale Blog
MyScale Blog
C
Check Point Blog
IT之家
IT之家
P
Palo Alto Networks Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
CERT Recently Published Vulnerability Notes
Scott Helme
Scott Helme
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
G
Google Developers Blog
T
Tor Project blog
T
Threatpost
D
DataBreaches.Net
博客园 - 【当耐特】
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Troy Hunt's Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Vercel News
Vercel News
云风的 BLOG
云风的 BLOG
NISL@THU
NISL@THU
P
Privacy & Cybersecurity Law Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
Cisco Blogs
博客园_首页
S
Securelist
T
The Exploit Database - CXSecurity.com
Last Week in AI
Last Week in AI
量子位
U
Unit 42
Know Your Adversary
Know Your Adversary
Hugging Face - Blog
Hugging Face - Blog
S
Security Affairs
Google Online Security Blog
Google Online Security Blog
Hacker News: Ask HN
Hacker News: Ask HN
Webroot Blog
Webroot Blog
S
SegmentFault 最新的问题
Engineering at Meta
Engineering at Meta
N
News and Events Feed by Topic
P
Proofpoint News Feed
阮一峰的网络日志
阮一峰的网络日志

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 - lambda-alpha-labs/Graphenium: Persistent structural memory for AI coding agents. Turns your repo into a fast, MCP-native knowledge graph so assistants stop grepping and start querying.
Graphenium · 2026-06-24 · via Hacker News: Show HN

Persistent structural memory for AI coding agents.

Graphenium turns your repository into a queryable graph so Claude, Cursor, and other MCP-compatible assistants can answer these in ~20 ms, without reading a single file. Especially valuable in large, multi-module, or unfamiliar codebases where grep-and-trace navigation breaks down:

  • What calls this function?
  • What depends on this module?
  • What are the architectural hubs?
  • What is the shortest path between these components?
  • Which files belong to the same community?

It replaces grep-and-trace navigation, not source-code understanding.

Demo


Why Graphenium exists

AI coding assistants are good at reading code, but they navigate repositories like a human using grep: search for a symbol, open the file, follow imports, open more files, infer relationships. Then do it all again in the next session.

In a 50-file project, grep works. In a 5,000-file monorepo with deep import chains, it doesn't. That workflow has five persistent problems:

  • Repeated cold starts. Every new session begins without a durable model of the repository.
  • Context window pressure. Raw source files are large; navigation consumes tokens that could be used for reasoning.
  • No structural memory. After reading files, the assistant has no persisted graph of how modules, functions, and concepts relate.
  • Missed cross-file relationships. Grep surfaces text matches, not architectural topology, hubs, communities, or paths.
  • Scale multiplies the pain. Every new file and dependency makes the grep-and-trace loop slower and more expensive. The graph stays fast regardless of repo size.

Graphenium runs analysis once, persists the result as a graph, and exposes it to assistants via an MCP server. The graph becomes the assistant's long-term memory for your repository.

What changes:

  • Orientation in seconds, not minutes. architecture_summary gives a 30-second map of the codebase before the assistant reads a single file.
  • Context stays focused. Instead of filling the context window with raw source during navigation, the assistant reasons over compact graph output and reads only the files that matter.
  • Memory survives sessions. The graph persists. A new AI session starts with the same structural knowledge the last one had.

What it's good at (and what it's not)

Good at

  • Navigating large codebases. In 50+ file repos, monorepos, or unfamiliar projects, grep-and-trace wastes context; the graph replaces it.
  • AI-assisted code navigation: answer structural questions without repeatedly reading files.
  • Impact analysis: identify connected nodes before changing a function, class, or module.
  • Onboarding: get a high-level architectural map of an unfamiliar repo fast.
  • Refactoring planning: find god nodes, low-cohesion communities, and surprising cross-boundary edges.
  • Code review: inspect symbols, degrees, and hotspots before reviewing a changed file.
  • Keeping the graph current with watch mode during active development.

Not a replacement for

  • Reading source code. The graph captures structure and relationships, not implementation logic. An assistant still needs to read actual code.
  • A full language server. It does not perform complete type checking or language-specific semantic analysis at LSP depth.
  • Runtime tracing. It is static analysis plus optional LLM extraction; it does not execute the program.
  • Semantic search / embeddings. Graphenium uses keyword scoring and graph traversal, not vector similarity.
  • Security scanning. Relationship graphs are not a substitute for dedicated SAST tools.

20-second example

Without Graphenium:
grep → read file → trace imports → read more files → infer architecture

With Graphenium:
query_graph → get_neighbors → shortest_path → read only the right files
# Build a graph for your project (no API key needed)
gm run . --no-semantic --no-viz

# Ask structural questions
gm query "what calls build_from_extraction?"

# Or connect an AI assistant via MCP and ask directly

Quick start

One-line install

curl -fsSL https://raw.githubusercontent.com/lambda-alpha-labs/Graphenium/main/install.sh | sh

From source

Requires Rust 1.75+ (rustup).

git clone https://github.com/lambda-alpha-labs/Graphenium
cd Graphenium
cargo install --path .

The binary is installed as gm.

First run

# Build a graph (no API key needed)
gm run . --no-semantic --no-viz

# Query it
gm query "authentication login session" --budget 1000

# Check your installation
gm doctor

Map vs traffic overlay

Graphenium has two extraction modes. Both are useful; they serve different purposes.

Mode What you get Best for API key
AST-only Imports, containment, methods, symbols, structural communities Architecture map, blast radius, orientation No
Semantic Uses, conceptual dependencies, rationale, inferred cross-file relationships Behavioural tracing, richer agent reasoning Yes

AST-only mode gives the assistant a map. Semantic mode adds the traffic overlay.

# AST-only, local, no key needed
gm run . --no-semantic --no-viz

# Semantic: adds LLM-inferred relationships
export ANTHROPIC_API_KEY=sk-ant-...
gm run . --provider anthropic    # also: openai, deepseek, openrouter

The graph_stats tool always reports the edge confidence breakdown, so the assistant knows what it's working with.


MCP setup

Add Graphenium to your AI assistant's MCP config. The server uses the standard MCP stdio transport. Or run gm setup <target> to print the config for your assistant.

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "graphenium": {
      "command": "gm",
      "args": ["serve", "--graph", "/absolute/path/to/graphenium-out/graph.json"]
    }
  }
}

Cursor (~/.cursor/mcp.json):

{
  "mcpServers": {
    "graphenium": {
      "command": "gm",
      "args": ["serve", "--graph", "/absolute/path/to/graphenium-out/graph.json"]
    }
  }
}

CodeWhale (~/.codewhale/mcp.json):

{
  "servers": {
    "graphenium": {
      "command": "/absolute/path/to/gm",
      "args": ["serve", "--graph", "/absolute/path/to/graphenium-out/graph.json"],
      "env": {}
    }
  }
}

After updating config, quit and relaunch the AI tool completely (Cmd+Q on macOS, not just close the window). MCP servers are only loaded at startup.


AI Skill

The repo ships an AI Skill at skills/graphenium/SKILL.md that teaches assistants which tool to reach for, how to interpret confidence levels, and how to fall back to gm query when MCP is unavailable.


What the assistant can ask

Once connected, the assistant has access to 13 graph tools.

Read tools:

Tool Purpose
graph_stats Node/edge counts, file types, confidence breakdown
architecture_summary Communities, focus paths, god nodes, confidence summary
query_graph Keyword-scored BFS/DFS traversal within a token budget
get_node Full node details by ID or label
get_neighbors Direct neighbours with edge types and confidence
get_community All nodes in a community cluster
god_nodes Top N most-connected hub nodes
shortest_path Path between any two components
summarize_file Every symbol extracted from a source file
reload_graph Hot-swap the graph without restarting

Write tools:

Tool Purpose
add_node Register concepts the AST can't capture
add_edge Record relationships confirmed through inspection
remove_edge Correct false positives or stale relationships

All writes persist to disk immediately.


Repository memory model

Graphenium models a codebase as three things.

Nodes

Nodes represent meaningful entities: functions, methods, classes, modules, structs, traits, documents, images, and architectural concepts. Each node carries metadata: label, qualified label, file type, source file, source location, and community ID.

Edges

Edges are typed, directed relationships.

Relation Meaning Source
imports Module-level import/include AST
contains Module/class contains a symbol AST
method Method belongs to a class/type AST
calls Function calls another function AST / semantic
uses Cross-file usage dependency AST / semantic
inherits OOP inheritance AST / semantic
implements Interface/trait implementation AST / semantic
depends_on Conceptual dependency Semantic
rationale_for Document/comment explains code Semantic

Topology

Graphenium analyzes the graph to surface communities, hub nodes, shortest paths, surprising cross-community connections, and architectural focus paths. The assistant can orient itself structurally before reading implementation details.


Trust model

Every edge carries a confidence level.

Level Source How to treat it
EXTRACTED Deterministic static extraction Ground truth, directly present in source
INFERRED LLM or heuristic reasoning Strong hint, useful for navigation; verify before risky changes
AMBIGUOUS LLM-flagged uncertainty Question to investigate, not a fact

A good assistant workflow:

  1. Trust EXTRACTED edges as fact.
  2. Use INFERRED edges as strong hints.
  3. Treat AMBIGUOUS edges as leads to inspect.
  4. Read source code before making implementation changes.

graph_stats reports the confidence breakdown so you know what kind of graph you're working with.


Language support

Graphenium uses tree-sitter for AST extraction across 9 languages.

Language Extensions Extracted features
Python .py Classes, functions, imports, call graph
JavaScript .js, .mjs, .cjs Classes, functions, arrow functions, imports
TypeScript .ts, .tsx JavaScript features + type declarations
Rust .rs Structs, enums, traits, impl blocks, functions, use
Go .go Functions, methods with receivers, import blocks
Java .java Classes, methods, package imports
C .c, .h Functions, include directives
C++ .cpp, .cc, .cxx, .hpp Classes, functions, include directives
C# .cs Classes, methods, using directives, namespaces

Semantic extraction also processes documents (.md, .rst, .txt), PDFs, and images.

Build with only the languages you need:

cargo build --release --no-default-features --features lang-python,lang-rust

Features: lang-python, lang-js, lang-ts, lang-rust, lang-go, lang-java, lang-c, lang-cpp, lang-csharp.


Commands

gm run

Run the full analysis pipeline on a directory.

Option Description
PATH Directory to analyse (default: .)
--no-semantic Skip LLM extraction; use AST-only results
--no-viz Skip HTML generation
--provider NAME AI provider: anthropic (default), openai, openrouter, deepseek, openai-compatible
--model NAME Model to use (defaults to provider-specific default)
--api-key KEY API key (overrides provider-specific env var)
--api-base URL API base URL for openai-compatible provider
--mode deep Aggressive LLM inference
--update Incremental: only re-extract changed files
gm run . --no-semantic --no-viz      # Fast AST-only scan
gm run . --provider openai           # With LLM semantic extraction
gm run . --update                    # Incremental after editing files

gm query

Query an existing graph with keywords.

gm query "<keywords>" [OPTIONS]
Option Default Description
--graph PATH graphenium-out/graph.json Path to graph file
--budget N 2000 Output token budget
--dfs off Use depth-first search
gm query "authentication login session"
gm query "parser ast walker" --dfs --budget 4000

gm serve

Start an MCP server exposing the graph over stdio.

Option Default Description
--graph PATH graphenium-out/graph.json Path to graph file

gm watch

Watch a directory and auto-rebuild the graph on changes.

gm watch [PATH] [OPTIONS]
Option Default Description
PATH . Directory to watch
--debounce SECS 3.0 Wait after last event before rebuild
--incremental true Patch changed files; false for full rebuild
gm watch . --debounce 2.0

gm doctor

Run diagnostic checks on your Graphenium installation: binary location, graph file health, tree-sitter languages, API keys, and graph quality.

gm setup

Print ready-to-paste MCP config for an AI assistant.

gm setup <claude|cursor|codewhale> [--graph PATH]
gm setup claude
gm setup cursor
gm setup codewhale

Output files

Graphenium writes outputs to graphenium-out/ inside the analysed directory.

File Purpose
graph.json Machine-readable graph for gm serve and gm query
GRAPH_REPORT.md Markdown architecture report
graph.html Self-contained visual graph inspection page
manifest.json mtime index for incremental updates
cache/ Per-file semantic extraction cache (SHA256 keyed)

Architecture

src/
  extract/     tree-sitter extraction for 9 languages
  model/       graph, node, edge, hyperedge types
  build/       graph construction from extraction results
  cluster/     Louvain community detection, cohesion, split/focus
  detect/      file classification, sensitive-file skipping, corpus warnings
  analyze/     god nodes, surprising connections, architectural questions
  serve/       MCP server (rmcp), tool handlers, graph traversal
  semantic/    LLM client, prompt builder, response parser
  export/      JSON export, HTML visualisation
  cache/       mtime manifest, semantic extraction cache
  watch/       file-system watcher with incremental patching

Limitations

  • AST-only graphs are structural, not behavioural. Without semantic extraction, edges are mostly imports, containment, and method declarations. Control-flow relationships (calls, uses, implements) come from the semantic pass.
  • Label collisions. Common names like new, mod, run appear across modules. Qualified labels help disambiguate when available. graph_stats reports collision counts so you know when results may be fuzzy.
  • Large corpora. Projects with many vendored dependencies should use .grapheniumignore to exclude target/, node_modules/, .rust-toolchain/, and similar directories.

Contributing

Contributions are welcome, especially language extractors, MCP integrations, and fixtures. See CONTRIBUTING.md.

Good first issues → · Worked examples → · Demo script →