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

推荐订阅源

MyScale Blog
MyScale Blog
博客园 - 叶小钗
小众软件
小众软件
宝玉的分享
宝玉的分享
Apple Machine Learning Research
Apple Machine Learning Research
Jina AI
Jina AI
Last Week in AI
Last Week in AI
量子位
腾讯CDC
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
有赞技术团队
有赞技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
Visual Studio Blog
爱范儿
爱范儿
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
雷峰网
雷峰网
V
V2EX
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
阮一峰的网络日志
阮一峰的网络日志
K
Kaspersky official blog
Vercel News
Vercel News
L
LINUX DO - 热门话题
The Hacker News
The Hacker News
The Register - Security
The Register - Security
IT之家
IT之家
C
Cybersecurity and Infrastructure Security Agency CISA
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
人人都是产品经理
人人都是产品经理
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
N
News | PayPal Newsroom
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Attack and Defense Labs
Attack and Defense Labs
S
Securelist
T
The Blog of Author Tim Ferriss
GbyAI
GbyAI
Microsoft Security Blog
Microsoft Security Blog
H
Hacker News: Front Page
博客园 - 聂微东
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Project Zero
Project Zero
I
InfoQ
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
PCI Perspectives
PCI Perspectives

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 - GistNoesis/MaragingLoop: Autonomous Bare-Metal OS Agent
GistNoesis · 2026-05-17 · via Hacker News: Show HN

Autonomous Bare-Metal OS Agent | 📝 Code → 🖥️ VM Interact → 👁️ Inspect → 🔨 Harden

Python 3.9+ OpenAI Tool Format VirtualBox


🔍 Overview

MaragingLoop is a ReAct-style AI agent engineered for autonomous bare-metal OS and kernel development. By orchestrating large language models with automated compilation, robust VirtualBox VM lifecycle control, and vision-based screenshot inspection, it iteratively writes, builds, tests, and refines low-level C code until the target system boots and behaves as specified.

Unlike text-only coding agents, MaragingLoop treats code generation and VM interaction as equally critical pillars of its development cycle. The LLM doesn’t just write code in isolation—it actively modifies kernel source, compiles it, boots a live virtual machine, injects I/O, captures visual feedback, and then rewrites the code based on real-world execution results. This closed-loop process bridges abstract reasoning with bare-metal reality.


👤 Quick Note from the human author (Read or Skip this as you like)

Highly Experimental !!!

You can see some images here -> https://gistnoesis.github.io/MaragingLoop/ and in the docs folder

This project is LOCAL first, -> performance lags behind frontier models, and NO Consideration for CREDENTIALS were tested (DISCLAIMER : Use at your own risk for example if you put credentials in and they get leak, that's not my responsibilty).

Everything was created Locally through prompting. Development took 10 days. I've constructed them through interacting with the llama webui. And the kernels, either via the chat interface or via a single initial prompt starting from a current os folder state, (higher towers in full autonomy like in the shoggoth.db project have not been included here to keep the project minimal)

The single builderagent.py has been kept below 1000 lines (currently ~900 lines), you should read it make sure it correspond to what you want to run (like editing the system_prompt and summary_prompt, and compaction threshold).

The model used is unsloth/Qwen3.6-35B-A3B-GGUF/Qwen3.6-35B-A3B-UD-IQ4_NL_XL.gguf with llama.cpp

./llama-server --model unsloth/Qwen3.6-35B-A3B-GGUF/Qwen3.6-35B-A3B-UD-IQ4_NL_XL.gguf --mmproj unsloth/Qwen3.6-35B-A3B-GGUF/mmproj-BF16.gguf --image-min-tokens 1024 --image-max-tokens 1024 --temp 1.0 --top-p 0.95 --min-p 0.00 --jinja --top-k 20 --ctx-size 150000 --reasoning_budget 3000 --presence_penalty 1.5 -ctk f16 -ctv f16 --host 0.0.0.0 --port 8080 --no-mmap

The options are not very rigid, but keeping a small reasoning_budget help. the host 0.0.0.0 is because the LLM is on an other machine of the network (it allows anyone who can connect to your machine to use your llama server so set this option according to your needs), the ctx-size is kept small for speed and memory issues. If you need up to 250000 ctx-size you should offload the vision stack to the cpu, or you will encounter out of memory crashes. The image number of tokens can be adapted to trade speed for quality.

With a 4090 this produces ~150 tokens/s (starting at 180tok/s and slowing down to 110tok/s )

You'll need to use virtualbox and create a virtual machine called "agentos" and select the os/os.iso that will be generated by the first compilation and put this on the virtual optical drive, and configure the boot order.

The installation scripts are only necessary if you want more isolation of the LLM through Access Control List, the scripts were also vibecoded from the permission.md files I (the human) write. I have tested them and they worked (aka with the permissions set by the script the agent tools where functional, including the VM could create sreenshots, inspect_screenshots, send keyboard commands, ...) on my machine but in this process I had to regenerate them a lot of times so read permissions.md and use at your own risk, they were designed to use from the directory where they sit without having to specify arguments. I have put them in the repo for easier onboarding, but because permissions are highly dependent on your current setup they are for advanced users only and to help your trusted LLM agents to write a working script for your specific machine.

What doesn't work yet : I couldn't get the mouse pointer to work, nor write a correct network driver detect some network packet coming from the host configured as NAT with port forwarding while vibecoding even using reference PCFastIII driver from linux (looks like it would almost work, but that was at the beginning of the development phase). (The network stack need extra-tools for builderagent.py)

The project is a boiler plate, you can easily add your own tools by asking your local llama. Give it the single builderagent.py and describe the new tool you want, then either copy paste in place, or regenerate the full content.

I have used virtual-box but you can ask your local llama to generate a qemu version instead. In particular with virtual-box the mouse-pointer seems to require some guest-additions, (currently couldn't get the mouse doesn't work for baremetal os).

For examples you can try adding a copy_file_from_reference or adding a sqlite database memory like is done in my other project : https://github.com/GistNoesis/Shoggoth.db/

This agent control loop with vision like when it plays snake, is quite similar to my other project (Not yet on github) about driving a Robot with a LLM to get towards an object (Works but it is too slow for real-time robotics natively but can be used to generate some initial dataset to train specific neural networks.

I have tried to respect good engineering practice but I'm only human. It was designed with Security in mind. This is a harness with strong constraints, contrary to the other agents who abandonned all control hope to the whims of the LLM (what we used to call polymorphic malware) . Here you are still in control. LLM can't run arbitrary command, except inside the virtualbox. On your host permissions are severely restricted to writing to specific folder .c or .h files, and calling specific commands. But information on any files on your host can be trivially read by the LLM with simple tricks. I've also proposed a solution using Access Control Lists.

Like in the Shoggoth.db project, the main idea is setting up the foundation of a self-building tower. Make sure the keep control of the foundation, and push the safety problem to the big binary blob that are the model weights but they are generated deterministically from a dataset, which is also self-distilled from interaction with a VM, and known wiki.

"reflections on trusting trust"

Remember it's all AI slop.


🔄 Core Workflow

The agent operates in a continuous think → code → interact → observe → refine cycle. Code manipulation and VM interaction are the twin engines that drive iteration forward.

  1. Reason: The LLM plans the next step using the thinking tool.
  2. 📝 Code Generation & Modification: The agent writes or updates .c/.h files in the os/ directory, implements kernel functions, adjusts linker scripts, or modifies GRUB configs based on the current goal and prior feedback.
  3. 🔨 Build & Compile: Automated toolchain invocation (gcc -m32, ld, grub-mkrescue) transforms source into a bootable os.iso.
  4. 🖥️ VM Interaction (Critical Step): The agent boots a headless VirtualBox VM, waits for the bootloader/kernel to load, and injects precise keyboard/mouse input. This simulates real hardware boundaries and exposes runtime behavior that static analysis cannot reveal.
  5. 👁️ Vision Inspection: A screenshot is captured, base64-encoded, and fed directly into the LLM’s context for visual analysis (boot logs, VGA output, kernel panics, GRUB errors, or unexpected behavior).
  6. Refine: Based on vision feedback, the agent iterates—rewriting code, fixing compilation errors, adjusting I/O sequences, or recovering VM states—until the kernel meets the specified requirements.

🛠️ Key Features

Category Capabilities
📝 Code Generation & Modification Directly creates/edits .c/.h files, manages references, and writes kernel entry points. The LLM shapes the actual OS logic through precise file I/O tools.
🖥️ Critical VM Interaction Full VirtualBox lifecycle: headless boot, ACPI power cycling, precise mouse/keyboard injection, and robust state recovery (locked, crashed, running).
Vision-Driven Feedback Captures VM screens, encodes to base64, and feeds them to the LLM for real-time visual debugging and behavior verification.
Bare-Metal Build Pipeline Automated 32-bit cross-compilation: gcc -m32, ld -m elf_i386, as --32, and grub-mkrescue for ISO generation.
Context Management Auto-summarization when token/message limits are reached. Prevents context overflow while preserving session state.
Graceful Interruption Custom SIGINT handler finishes the current VM/build step before halting. Safe for long-running iterations.
Dual Usage Modes Single-query mode for automation, or interactive chat mode for step-by-step guidance.

📋 Prerequisites

  • Python 3.9+
  • llama.cpp server running locally:
    llama-server --model <path-to-model> --host 0.0.0.0 --port 8080
  • VirtualBox with VBoxManage in PATH
  • 32-bit Cross-Compilation Toolchain:
    • gcc-multilib / gcc -m32
    • binutils (for ld, as)
    • grub-mkrescue (from grub2-common or grub-pc-bin)
  • requests Python package

🚀 Installation & Setup

# 1. Clone the repository
git clone https://github.com/<your-username>/MaragingLoop.git
cd MaragingLoop

# 2. Create a virtual environment
python -m venv .venv
source .venv/bin/activate          # Linux/macOS
# .venv\Scripts\activate           # Windows

# 3. Install dependencies
pip install requests

Update the server endpoint in builderagent.py or use .env file (with no spaces) if needed:

COMPLETION_API_URL="http://localhost:8080/v1/chat/completions"  # Default llama.cpp

💻 Usage

# Run a single task
python builderagent.py "Make the kernel print 'Hello Maraging' to the VGA console and halt."

# Enter interactive chat mode
python builderagent.py chat

Environment Variables (Optional):

Variable Default Description
COMPLETION_API_URL http://localhost:8080/v1/chat/completions LLM server endpoint
VM_NAME agentos VirtualBox VM name to control
MAX_ITERATIONS 3000 Safety limit for the ReAct loop

🧰 Tool Ecosystem

Group Tools
📝 Code & Build write_file, read_file, read_reference_file, compile_kernel, compile_kernel_files, write_kernel
🖥️ VM Interaction & Lifecycle start_vm, stop_vm, set_mouse_position, send_keyboard_input, launch_current_vm
Vision Feedback take_screenshot, take_screenshot_and_inspect, inspect_snapshot
Agent Flow thinking, finish, calculator

📐 Design Philosophy

The name MaragingLoop draws from maraging steel—an ultra-high-strength alloy that hardens through controlled precipitation aging. Just as maraging steel gains resilience through repeated thermal and mechanical stress, MaragingLoop hardens bare-metal code through an iterative dual-process: 📝 active code generation and 🖥️ live VM interaction.

Code is where the LLM shapes the kernel’s logic, memory layout, and hardware interfaces. VM interaction is where that logic is stress-tested against real execution boundaries, bootloader behavior, and VGA output. Neither step is optional: the agent writes code to solve the problem, boots it to see reality, reads the screen to understand what broke, and rewrites the code to fix it. Each cycle precipitates stability, transforming fragile prototypes into production-ready bare-metal systems.


📜 License & Contributing

This project is released under the MIT License. Contributions, bug reports, and feature requests are welcome. Please follow standard fork/pull-request workflows.


🙏 Acknowledgments

  • llama.cpp for the high-performance local LLM server
  • Oracle VM VirtualBox for robust VM automation and VBoxManage CLI
  • OpenAI Function Calling specification for the native tool format
  • The bare-metal OS community for relentless inspiration

Built for developers who want AI to actually touch metal, boot it, and fix what breaks. 🔧🖥️💻