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

推荐订阅源

H
Help Net Security
T
ThreatConnect
SecWiki News
SecWiki News
F
Future of Privacy Forum
AWS News Blog
AWS News Blog
C
Cisco Blogs
A
Arctic Wolf
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
Scott Helme
Scott Helme
V
V2EX
博客园 - 叶小钗
阮一峰的网络日志
阮一峰的网络日志
K
Kaspersky official blog
G
Google Developers Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
P
Privacy International News Feed
C
Cyber Attacks, Cyber Crime and Cyber Security
N
News | PayPal Newsroom
Schneier on Security
Schneier on Security
NISL@THU
NISL@THU
Microsoft Azure Blog
Microsoft Azure Blog
量子位
The Hacker News
The Hacker News
Stack Overflow Blog
Stack Overflow Blog
Security Latest
Security Latest
M
Microsoft Research Blog - Microsoft Research
Google Online Security Blog
Google Online Security Blog
博客园_首页
C
CXSECURITY Database RSS Feed - CXSecurity.com
I
InfoQ
Google DeepMind News
Google DeepMind News
Y
Y Combinator Blog
The Cloudflare Blog
Microsoft Security Blog
Microsoft Security Blog
Martin Fowler
Martin Fowler
Cisco Talos Blog
Cisco Talos Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Troy Hunt's Blog
F
Fox-IT International blog
S
Security @ Cisco Blogs
博客园 - 司徒正美
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
C
Comments on: Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
LINUX DO - 最新话题
GbyAI
GbyAI
Project Zero
Project Zero
腾讯CDC
T
Tailwind CSS Blog

Hacker News - Newest: "AI"

I Made 6 Frontier AIs Take the MBTI 600 Times. They All Came Back INTJ. Pope Leo XIV urges AI regulation for the common good | AP News Pope Leo says AI could warp humanity AI deskilling is a structural problem Show HN: Unsiloed AI – #1 on OlmOCR-Bench,Beats Reducto, LlamaParse and GPT-5.5 Show HN: AI skills for program / project / delivery managers Show HN: Built a tool to create brand-consistent images using AI Bae — the AI companion who actually knows you An AI safety safe harbor [pdf] concerning law enforcement exemptions in the draft AI act transparency guidelines How to tame AI's voracious appetite for energy – Knowable Magazine Ask HN: Are we in the 'Goldilocks era' of AI capabilities? We tested 6 AI assistants on the same solar data. The results surprised us Free AI APIs – Build Anything with Pollinations The IPO wave will enshrine the AI gods' control over the future Insane AI Breakthroughs with Demis Hassabis [video] Pope Leo says AI must be 'disarmed' in first major teaching Color palette gives away AI slop AI is turning Engineers into Farmers, Doctors and Gardeners · aswinmohan.me Bursting my AI bubble Your AI Evaluation Is Biased — By Design This big university system is embracing AI. Students and faculty aren't all on board AI Datacenters Were Built for GPUs — Almartis An AI Interface for Research Papers Agentic AI Changes the CPU/GPU Equation Deconstructing Cognitive Overload: Deep Self-Understanding Ubers COO says its getting harder to justify the money spent on AI tokenmaxxing GitHub - bitomule/musts: The validation loop that stops AI coding agents from claiming work is done before it actually is. CoworkGuard — Runtime Visibility for AI Tools Is AI flattening your team’s creativity? Here’s how to tell. Feynman - AI research assistant SynapCores — the AI-native database GitHub - Noumenon-ai/AutoMaxFix: Controlled AI repair loop. Audit → Reproduce → Patch → Test → Report. Safety boundaries most AI agents skip. Show HN: Hackobar – One feed for AI news GitHub - agentpatterns-ai/website: Website content for agentpatterns.ai Torvalds Tightens Linux Kernel Rules to Reject Deluge of Low-Value AI Fixes Anthropic's Olah says AI must be guided from outside Big Tech How to get your team past the AI coding plateau The Stepford AI PhoneDiffusion App - App Store Anthropic Billionaire Cofounder Joins Pope Leo, Warns AI Job Losses Will Spark "Moral Imperative Of Historic Proportions" GitHub - kian9375/seoclaw-by-kb-software: Open source AI SEO optimizer CLI — made by KianBot.ai Credential Brokering for AI Agents, Explained | Infisial Linus Torvalds Is Unhappy About the AI Influence in Linux Kernel Development Plain Markdown | Webpage to Markdown Browser Extension Grappling with AI Margin Points - Arnold Engel GrillKit – self-hosted AI technical interview trainer with voice Pope Leo’s Unsettling Vision of the AI Future One Endpoint. Zero Credentials. Eight Confirmed Vulnerabilities. Repolog — SEO, Performance, Security & AI Readiness audits An AI-generated film premiered at Cannes The uncritical adoption of AI in science is alarming — we urgently need guard rails Microsoft just banned its own engineers from using AI twitter.com GitHub - sovseal/core: Zero-Knowledge memory for AI Agents Not All On-Device AI Is The Same: How Chip Compute Tiers Decide What Your Product Can Actually Do – Easelink Tech RCF Protocol – license layer to protect code semantics from AI replication Pope Leo XIV says AI must serve humanity, not the powerful few Do you review AI generated code differently based on where it is in your code? Amazon launches new AI Wearable "Bee" bilibili Ask HN: Do you embrace AI in your life and business? Mnemosyne — The Zero-Dependency AI Memory System 21 Free Agentic AI Design Patterns for Developers (2026) Google is cannibalizing the web to feed AI Silicon Valley takes its AI pitch to the pope How to scan for vulnerabilities with GitHub Security Lab’s open source AI-powered framework AI Model Idle · 인공지능 키우기 @levelsio (@levelsio) America's plutonium puzzle: from cold war relics to AI ambitions AI can chart a course to disaster faster than humans can notice Final Fantasy Creator Call AI-Generated Final Fantasy 6 Remake Video 'Amazing' Pope Leo Compares AI Threat to Biblical 'Tower of Babel' Faster Than We Can Patch Pope Leo denounces ‘culture of power’ driving rise of AI Pope Leo Issues AI Encyclical Warning Against 'Opaque Algorithms' Pope Leo’s ‘Magnifica humanitas’: AI must serve humanity not concentrate power The AI Era Is Creating a Bug Hunting Arms Race The AI-Native Developer – Queue Show HN: An open-source, interactive AI engineering syllabus (1,100 papers) 教皇利奥警告称,应防止人工智能“统治人类” Mark Zuckerberg's Right-Hand Man Who's Unleashing AI at Meta GitHub - Espenandreass1/agentslice: A Markdown workflow kit that makes Cursor, Claude Code, Codex and Windsurf ask before they edit. Show HN: I Built a Debugging Challenge for the AI Coding Age Gemma 4: A new, budget-focused model in Posit AI Pope Leo warns AI revolution driven by ‘idolatry of profit’ My AI agent called my code shit and took an unannounced vacation mid-sprint HTML Deployer: 1-Click AI Code To Website Publisher - Chrome 应用商店 College Kids Don't Want Your AI [video] How I Used AI to Untangle a Legacy Service I'd Never Touched Before — The AI Leverage Weekly Greetings, Class of 2026 Have You Heard About AI? Wait, Why Are You Booing? AI guardrails stripped from Meta and Google models in minutes Uvora Growth OS – AI marketing automation and lead generation platform The Essential Cloud for AI: Why Purpose-Built Defines the Future of Intelligence No, AI is not making software worse, people are - Raphael Amorim If you let AI do your writing, I will come to your house and kill you Why The AI Boom Is Reshuffling The Global Stock Market Hierarchy AI Makes Adding Features Faster - So Why Not Add Just One More? Ask HN: How to get back into programming without AI?
GitHub - ClickHouse/nerve
animetyan · 2026-05-26 · via Hacker News - Newest: "AI"

A home for your agents.
Self-hosted AI agent runtime — personal assistants, autonomous workers, and everything in between.

Setup Guide · Architecture · Configuration · Worker Guide · API Reference


Nerve is a self-hosted runtime for AI agents, built around the Claude Agent SDK. It gives agents everything they need to be useful long-term: persistent memory, scheduled execution, task management, learnable skills, and channels to reach you through — web UI, Telegram, or autonomous cron jobs.

Ship a personal assistant that develops a personality, remembers your preferences, and manages your inbox. Or deploy a worker agent that monitors your CI, reviews PRs, and fixes flaky tests — all plan-driven with human approval. Same engine, different mission.

Quick Start

curl -fsSL https://raw.githubusercontent.com/ClickHouse/nerve/main/install.sh | bash

The installer handles everything — installs dependencies (Python, Node.js, uv), clones the repo, builds the web UI, and launches the interactive setup wizard.

Manual install

Prerequisites: Git, Python 3.13+, uv, Node.js 18+

git clone https://github.com/ClickHouse/nerve.git && cd nerve
uv venv --python 3.13 && source .venv/bin/activate
uv pip install -e .
cd web && npm ci && npm run build && cd ..
nerve init
nerve start -f

Upgrading

nerve upgrade
nerve restart

Runs git pull, reinstalls Python deps, and rebuilds the web UI in one shot. Use --no-pull, --no-deps, or --no-frontend to skip steps. For Docker deployments, rebuild the image instead: git pull && docker compose build && docker compose up -d.

No API key? Use your Claude subscription instead

Two Modes

🧑 Personal Mode

A full-featured assistant for one human. Syncs your email, remembers your preferences, develops personality over time. Comes with a web UI, Telegram bot, memory, cron jobs, and notifications out of the box.

"You're not a chatbot. You're becoming someone." — from the Personal SOUL template

  • Workspace files define personality (SOUL.md), identity (IDENTITY.md), and user context (USER.md)
  • Memory categories are life-oriented: relationships, finances, travel, health, work
  • Default crons: inbox processor, task planner, memory maintenance
  • The agent develops opinions, follows up on past conversations, and gets better the longer you use it

🔧 Worker Mode

A task-focused autonomous agent for teams or programmatic deployment. Monitors something, proposes fixes, implements after approval. Plan-driven with a full audit trail.

"You're a specialist, not a script." — from the Worker SOUL template

  • Self-configuring: give it a plain-English task description and it researches, writes its own TASK.md, creates skills, sets up cron jobs, and starts working
  • Memory categories are operational: patterns, procedures, decisions, approvals, infrastructure
  • No IDENTITY.md or USER.md — workers execute a mission, not build a relationship
  • Built for reliability: plan before acting, verify after executing, log everything
# Spin up a worker that monitors CI and fixes flaky tests
nerve init --mode worker
# → Wizard asks for a task description
# → Agent onboards itself on first boot

Why Nerve?

🧠 Memory that persists Dual-layer memory: curated hot memory loaded every session + semantic search over your entire history. Agents remember context, preferences, and lessons learned — permanently.
🔧 Self-evolving skills Agents watch for repeated workflows and propose reusable skills automatically. Skills are plain Markdown — agents read, create, and improve their own procedures over time.
📋 Autonomous task planning A background planner explores open tasks, researches codebases, and proposes implementation plans — without being asked. You review and approve; the agent executes.
📡 Multi-source awareness Gmail, GitHub, and Telegram flow into a unified inbox with Kafka-style cursors. Multiple consumers process the same data independently — inbox triage, digest generation, task extraction.
Single process, zero ops No Docker required, no message queues, no service mesh. FastAPI + uvicorn + asyncio. Runs on a Raspberry Pi.
🔑 No API key required Optional OAuth proxy routes through your Claude Max/Pro subscription. Zero API costs.
🔄 Session persistence Sessions survive server restarts. Fork conversations, resume from any point, run up to 4 concurrent agent sessions.
🛡️ Human-in-the-loop Agents can pause mid-turn to ask questions via any channel. Plans require approval before execution. Destructive actions need explicit consent.

Channels

Every channel shares the same agent engine, memory, and tools.

💬 Web UI

Full React + Vite + TailwindCSS frontend served by FastAPI. Real-time streaming over WebSocket.

  • Chat with session history, branching, and resume
  • Inline diff viewer for file changes (no git required)
  • Task manager, memory browser, skill editor
  • Source inbox, notification center, cron logs
  • Plan review with approval/decline/revision workflow
  • JWT auth, self-signed HTTPS via mkcert

🤖 Telegram Bot

Powered by python-telegram-bot v21+.

  • Streaming responses via edit-in-place
  • Inline keyboard buttons for interactive tool questions
  • /reply command for free-text answers
  • Configurable DM policy (open or pairing)

⏰ Cron Jobs

Scheduled AI sessions via APScheduler. Three session modes:

Mode Behavior
Isolated Fresh session per run. No prior context. Best for briefings, cleanup, reports.
Persistent Accumulates context across runs. Optional rotation to manage token usage. Reminder mode for lightweight follow-ups.
Main Runs inside the user's primary conversation — full context access.

Built-in crons (personal mode): skill-extractor (12h), skill-reviser (weekly), inbox-processor (15min), task-planner (4h). Worker mode ships with skill-reviser, skill-extractor, and task-planner by default; additional crons are configured during onboarding.

📡 Source Sync

Cursor-based data ingestion pipeline. Each source runs as an independent APScheduler job.

  • Telegram — Telethon user-account API (updates.getDifference)
  • Gmailgog CLI with 2-step fetch and LLM condensation
  • GitHub Notificationsgh api enriched with PR/issue content
  • GitHub Events — Pushes, PRs, reviews, comments

Multiple independent consumers read the same inbox at their own pace. Content is prefixed with untrusted-data warnings to prevent prompt injection.

Core Systems

🧠 Memory

Two layers, one seamless experience.

L1 — Hot Memory (MEMORY.md) Curated facts injected into every system prompt. Active projects, current deadlines, operational lessons. Tagged with dates, automatically evicted when stale.

L2 — Deep Memory (memU) Semantic search over everything — conversations, facts, preferences, events. SQLite-persisted. Uses vector embeddings when an OpenAI key is configured, or LLM-based ranking with Anthropic models only.

  • Four memory types: profile, event, knowledge, behavior
  • Automatic conversation indexing on session close
  • Pre-recall: relevant memories injected into system prompt when sessions start
  • 3-level quality filtering prevents generic facts from polluting memory
  • Semantic deduplication (cosine similarity 0.85 threshold)
  • Full audit log of all mutations

Memory categories adapt to mode — personal agents track relationships, health, and finances; workers track patterns, procedures, and approvals.

📋 Tasks

Markdown files backed by SQLite FTS5 full-text search.

  • Statuses: pendingin_progressdone / deferred
  • Duplicate detection: exact URL match + fuzzy FTS fallback
  • Escalation reminders: deadline → +30min follow-up → +2h URGENT (respects quiet hours)
  • Full markdown editor in the web UI

🔧 Skills

The agent's procedural knowledge. Pure Markdown files that agents read, create, and update themselves.

workspace/skills/
└── my-skill/
    ├── SKILL.md          # Instructions (YAML frontmatter + markdown)
    ├── references/       # On-demand documentation
    ├── scripts/          # Executable code (30s timeout)
    └── assets/           # Supporting files
  • Progressive disclosure: only name + description in system prompt; full content loaded on demand
  • skill-extractor cron proposes new skills from repeated workflows
  • skill-reviser cron reviews existing skills for accuracy
  • Usage statistics tracked per skill

📐 Plans

Proactive task planning with human-in-the-loop approval.

  1. Planner cron picks open tasks autonomously
  2. Agent explores codebase, researches approaches, proposes implementation plan
  3. User reviews → approves / declines / requests revision
  4. Approved plans spawn implementation sessions automatically

Revisions happen in the same persistent planner session — full context preserved.

🔔 Notifications

Async communication between agent and human, delivered to both web UI and Telegram.

  • notify — Fire-and-forget alerts (status updates, completions, reminders)
  • ask_user — Questions with predefined options, rendered as buttons
  • Priority levels: urgent, high, normal, low

Architecture

nerve (single Python process)
│
├── Gateway (FastAPI)
│   ├── REST API — sessions, tasks, memory, plans, sources, diagnostics
│   ├── WebSocket — real-time streaming, answer routing
│   └── Static files — serves the React web UI
│
├── Agent Engine (Claude Agent SDK)
│   ├── ~30 custom MCP tools (tasks, memory, skills, sources, notifications)
│   ├── Interactive mid-turn pausing (AskUserQuestion, plan approval)
│   ├── File snapshot hooks → session-scoped diffs without git
│   ├── Session lifecycle: created → active → idle → stopped → archived
│   └── Up to 4 concurrent sessions (configurable)
│
├── Channels
│   ├── Web — passive WebSocket channel
│   └── Telegram — bot with streaming + inline keyboards
│
├── Cron (APScheduler)
│   ├── AI jobs (isolated / persistent / main session modes)
│   └── Source sync jobs (Telegram, Gmail, GitHub)
│
├── Memory
│   ├── File-based hot memory (L1)
│   └── memU semantic index (L2, SQLite + embeddings)
│
├── Tasks — Markdown + SQLite FTS5
├── Skills — Filesystem + DB index + usage tracking
├── Plans — SQLite with approval workflow
├── Notifications — Multi-channel delivery
└── Proxy (optional) — Claude OAuth, no API key needed

Configuration

Two config files:

  • config.yaml — Template settings (committed)
  • config.local.yaml — Secrets and overrides (gitignored)

See docs/config.md for all options.

Requirements

  • Python 3.13+
  • uv (recommended package manager)
  • Node.js 18+ (for web UI build)
  • Claude Code CLI (bundled with claude-agent-sdk)
  • Anthropic API key or Claude subscription via CLIProxyAPI proxy
  • Optional: OpenAI API key (for vector-based memory search — without it, LLM-based recall is used), Telegram bot token, gog CLI, gh CLI

Documentation

Doc Description
Architecture System overview, modes, deployment, data flow
Setup Installation, config, Docker, HTTPS, systemd
Config All config options with descriptions and defaults
Worker Guide Worker mode setup, onboarding, plan-approve loop
API Reference REST API and WebSocket protocol
SDK Sessions Session lifecycle, resume, forking
Sources Sync engine, cursors, consumer model
Tasks Task file format, escalation rules
Memory Memory file conventions, memU integration
Cron Job format, session modes, built-in crons
Plans Plan proposal, approval, and implementation workflow
Web UI Frontend architecture, building, development

Testing

pytest tests/ -v

License

MIT