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

推荐订阅源

W
WeLiveSecurity
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
Stack Overflow Blog
Stack Overflow Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
Cloudbric
Cloudbric
The Register - Security
The Register - Security
小众软件
小众软件
PCI Perspectives
PCI Perspectives
G
Google Developers Blog
AI
AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
Google DeepMind News
Google DeepMind News
宝玉的分享
宝玉的分享
Recent Commits to openclaw:main
Recent Commits to openclaw:main
量子位
TaoSecurity Blog
TaoSecurity Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
F
Full Disclosure
N
Netflix TechBlog - Medium
博客园_首页
Last Week in AI
Last Week in AI
A
Arctic Wolf
B
Blog RSS Feed
J
Java Code Geeks
C
Cybersecurity and Infrastructure Security Agency CISA
I
InfoQ
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
NISL@THU
NISL@THU
MyScale Blog
MyScale Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Jina AI
Jina AI
有赞技术团队
有赞技术团队
S
Schneier on Security
L
Lohrmann on Cybersecurity
P
Privacy & Cybersecurity Law Blog
T
Threat Research - Cisco Blogs
P
Palo Alto Networks Blog
S
Security @ Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
Security Latest
Security Latest
Vercel News
Vercel News
博客园 - 司徒正美
Webroot Blog
Webroot Blog
Hacker News: Ask HN
Hacker News: Ask HN
A
About on SuperTechFans

Hacker News

Introducing Claude Opus 4.7 Qwen Studio The Future of Everything is Lies, I Guess: Where Do We Go From Here? GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis Moving a large-scale metrics pipeline from StatsD to OpenTelemetry / Prometheus GitHub - Nightmare-Eclipse/RedSun: The Red Sun vulnerability repository GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - macOS26/Agent: Any AI, replaces Claude Code, Cursor, OpenClaw. Over 18 LLM providers (Claude, OpenAI, Gemini, Ollama, Zai, HF, Qwen) wired into a native Mac app that writes code, builds Xcode projects, bumps versions, manages git, automates Safari, use AppleScript, JS or Accessibility, extend Agent! w/ MCP Servers, run tasks from your iPhone via Messages. YouTube now lets you turn off Shorts I Made a Terminal Pager Burgers | マクドナルド公式 Commands — HackerNews CLI documentation ChatGPT for Excel PiCore - Raspberry Pi Port of Tiny Core Linux Live Nation illegally monopolized ticketing market, jury finds Google Broke Its Promise to Me. Now ICE Has My Data. Founding Engineer at Adaptional | Y Combinator CRISPR takes important step toward silencing Down syndrome’s extra chromosome GitHub - saffron-health/libretto: The AI toolkit for building reliable browser automations US v. Heppner (S.D.N.Y. 2026) no attorney-client privilege for AI chats [pdf] Unexpected €54k billing spike in 13 hours: Firebase browser key without API restrictions used for Gemini requests Retrofitting JIT Compilers into C Interpreters IPv6 – Google The Accursèd Alphabetical Clock Cybersecurity Looks Like Proof of Work Now Fragments: April 14 Cal.com Goes Closed Source: Why AI Security Is Forcing Our Decision | Cal.com - Scheduling Software for Online Bookings Laravel raised money and now injects ads directly into your agent When moving fast, talking is the first thing to break Too much Discussion of the XOR swap trick – Heather Cafe Introduction to Spherical Harmonics for Graphics Programmers The Grand Line Building a Z-Machine in the worst possible language High-Level Rust: Getting 80% of the Benefits with 20% of the Pain GitHub - duguyue100/midnight-captain: Inspired by Midnight Commander, tailored to my taste. How to build a `git diff` driver · Jamie Tanna | Software Engineer Center for Responsible, Decentralized Intelligence at Berkeley The Local Universe’s Expansion Rate Is Clearer Than Ever, but Still Doesn’t Add Up - A new synthesis of astronomical measurements confirms a persistent mismatch that could point to physics beyond current models The air throughout our homes is infused with microplastics. But there are things you can do to breathe less of them The disturbing white paper Red Hat is trying to erase from the internet – OSnews The Future of Everything is Lies, I Guess: Annoyances ‘Abhorrent’: the inside story of the Polymarket gamblers betting millions on war Productive procrastination — Max van IJsselmuiden maps, territory and LMs 447 Terabytes per Square Centimetre at Zero Retention Energy: Non-Volatile Memory at the Atomic Scale on Fluorographane Show HN: Pardonned.com – A searchable database of US Pardons 20 Years on AWS and Never Not My Job The Seasons are Wrong Artemis II crew splashes down near San Diego after historic moon mission We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs How a dancer with ALS used brainwaves to perform live On filing the corners off my MacBooks Installing every* Firefox extension OpenClaw’s memory is unreliable, and you don’t know when it will break Steve Blank Nowhere Is Safe Chimpanzees in Uganda locked in vicious 'civil war', say researchers watgo - a WebAssembly Toolkit for Go linux/Documentation/process/coding-assistants.rst at master · torvalds/linux GitHub - callumlocke/json-formatter: Makes JSON easy to read. Founding Product Engineer at Bild AI | Y Combinator A compelling title that is cryptic enough to get you to take action on it GitHub - Keychron/Keychron-Keyboards-Hardware-Design: Industrial design files for Keychron keyboards and mice. 100+ models with CAD assets in STEP, DXF, DWG, and PDF. Source-available, with commercial use allowed for original compatible accessories within the license terms. [ANNOUNCE] WireGuardNT v0.11 and WireGuard for Windows v0.6 Released 1D-Chess Helium Is Hard to Replace Cooperative Vectors Introduction | Evolve Keeping a Postgres queue healthy — PlanetScale Our response to the Axios developer tool compromise Do Americans read print books, e-books or audiobooks more? The Zettelkasten Method in Obsidian: A Practical Setup Guide Artemis II Is Competency Porn and We Are Starving For It WeakC4 Flight Viz — Cockpit View A Mexican surveillance giant you’ve never heard of is now watching the U.S. border Surelock: Deadlock-Free Mutexes for Rust RISC-V 101 – what is it and what does it mean for Canonical? | Ubuntu The Problem That Built an Industry How Much Linear Memory Access Is Enough? | Solidean Investigating Split Locks on x86-64 Simplest hash functions Sybilproof reputation mechanisms (2005) [pdf] What is a property? How Complex is my Code? Static code analysis in Kotlin — tools overview Toffoli gates are all you need PGLite evangelism dcmake: a new CMake debugger UI Clojure on Fennel part one: Persistent Data Structures Fragments: April 2 Python Release Python install manager 26.1 The Life and Death of the Book Review - Liberties Introducing Database Traffic Control — PlanetScale Bitcoin miners are losing $19,000 on every BTC produced as difficulty drops 7.8% God sleeps in the minerals Building slogbox Apple Silicon and Virtual Machines: Beating the 2 VM Limit Who was “Not Even Wrong” first? Pokemon Evolution Vs Darwinian Evolution The APL Programming Language Source Code
GitHub - serverless-dna/tendril
2026-04-27 · via Hacker News

A self-extending agentic sandbox that demonstrates the Agent Capability pattern — where the model discovers, builds, and reuses tools autonomously across sessions.

Built with AWS Strands Agents SDK and Tauri.

What it does

You ask Tendril to do something. It checks its capability registry. If a tool exists, it uses it. If not, it writes one, registers it, and executes it — all without asking. Next time you need the same thing, the tool is already there.

You: "fetch the top stories from Hacker News"

Tendril:
  → searchCapabilities("fetch url hacker news")    # nothing found
  → registerCapability(fetch_url, code)             # builds a tool
  → execute("fetch_url", {url: "https://..."})      # runs it by name
  → "Here are the top stories: ..."

You: "now fetch Lobsters and compare"

Tendril:
  → listCapabilities()                              # found: fetch_url ✓
  → execute("fetch_url", {url: "https://lobste.rs"})# runs it — no rebuild

The registry grows with use. Every session is smarter than the last.

The Agent Loop

The core of Tendril is a Strands agent with three bootstrap tools. That's it — three tools to rule them all.

Where it lives

tendril-agent/src/
├── agent.ts              ← Agent configuration (Strands model + tools)
├── index.ts              ← Orchestrator — wires loop to transport
├── loop/                 ← The agentic loop
│   ├── tools.ts          ← 4 bootstrap tools in cycle order
│   ├── prompt.ts         ← System prompt (autonomous behaviour rules)
│   ├── registry.ts       ← Capability registry (index.json CRUD)
│   └── sandbox.ts        ← Deno subprocess execution with sandboxing
└── transport/            ← Conversation framing + stream observation
    ├── protocol.ts       ← ACP JSON-RPC over stdio
    ├── stream.ts         ← SDK events → loop phases (think/act/observe)
    └── errors.ts         ← Provider error classification

How it works

agent.ts — Creates the Strands agent with a Bedrock model and three tools:

import { Agent } from '@strands-agents/sdk';
import { BedrockModel } from '@strands-agents/sdk/models/bedrock';

const agent = new Agent({
  model: new BedrockModel({ modelId: '...', region: '...' }),
  systemPrompt: TENDRIL_SYSTEM_PROMPT(workspacePath),
  printer: nullPrinter,   // suppress SDK stdout — we own the protocol
  tools: [
    listCapabilities(registry),
    registerCapability(registry),
    executeCode(registry, workspacePath, config),
  ],
});

index.ts — Observes the agentic loop and bridges it to the ACP protocol:

// The agentic loop runs inside agent.stream().
// We observe each phase and forward to the UI.
for await (const event of agent.stream(userText)) {
  const { phase, event: e } = classifyEvent(event);
  switch (phase) {
    case 'think':   emitUpdate(handleThink(e));    break;  // text delta
    case 'act':     emitUpdate(handleAct(e));      break;  // tool call
    case 'observe': emitUpdate(handleObserve(e));  break;  // tool result
  }
}

loop/prompt.ts — The system prompt that makes the agent autonomous:

BEFORE acting on any request:
1. Call searchCapabilities(query) to check if a relevant tool exists
2. If found: call loadTool(name) then execute(code, args)
3. If NOT found: you MUST build the tool yourself.

RULES:
- NEVER ask "would you like me to create a tool?" — just build it.
- If a tool fails, read the error, fix the code, and retry.
- NEVER answer from training data when a tool could get live information.

The "too many tools" solution

Most agent frameworks give the model a big bag of tools and hope it picks the right one. Tendril inverts this — the model always sees exactly three tools. It searches a registry, builds what it needs, and the registry grows over time. The tool surface never changes; the capabilities do.

Architecture

┌─────────────────────────────────────────┐
│ Tauri Shell (Rust)                      │
│                                         │
│  ACP Host ──stdin/stdout──► Agent       │
│  (acp.rs)    NDJSON        (Node.js SEA)│
│     │                         │         │
│  Events  ◄── session/update ──┘         │
│  (events.rs)                            │
│     │                                   │
│  Tauri Events ──►  React Frontend       │
│                    (TailwindCSS v4)     │
└─────────────────────────────────────────┘

Agent internals:
  Strands SDK ── BedrockModel ── Claude
       │
  4 bootstrap tools
       │
  ┌────┴────┐
  │ Registry │ ←→ index.json + tools/*.ts
  └─────────┘
       │
  ┌────┴────┐
  │ Sandbox  │ ←→ Deno subprocess (scoped permissions)
  └─────────┘

Communication: JSON-RPC 2.0 over NDJSON (newline-delimited JSON) on stdin/stdout. The agent is a standalone process — the Tauri host spawns it as a sidecar.

Protocol: Implements the Agent Integrator Specification (ACP) — the same protocol used by Claude Code and similar agent hosts.

Tech Stack

Component Technology
Desktop shell Tauri 2.x (Rust)
Frontend React 18 + TailwindCSS v4
Agent TypeScript (Node.js SEA binary)
Agent framework @strands-agents/sdk
Inference AWS Bedrock (Claude via Strands BedrockModel)
Code sandbox Deno (bundled, subprocess with permission flags)
Protocol JSON-RPC 2.0 / NDJSON over stdio

Prerequisites

  • Node.js 22+ (for building the agent)
  • Rust toolchain (for Tauri)
  • AWS credentials configured for Bedrock access (~/.aws/credentials)

Quick Start

git clone https://github.com/serverless-dna/tendril.git
cd tendril
make dev

This will:

  1. Install dependencies (npm install for agent and UI)
  2. Build the agent (esbuild bundle)
  3. Download Deno (bundled as sidecar)
  4. Create sidecar shims with platform triple
  5. Launch Tauri dev mode

On first launch, pick a workspace folder. Configure your AWS profile and model in Settings.

Configuration

All settings live at ~/.tendril/config.json:

{
  "workspace": "/Users/you/tendril-workspace",
  "model": {
    "provider": "bedrock",
    "modelId": "us.anthropic.claude-sonnet-4-5-20250514",
    "region": "us-east-1",
    "profile": "your-aws-profile"
  },
  "sandbox": {
    "denoPath": "deno",
    "timeoutMs": 45000,
    "allowedDomains": []
  },
  "agent": {
    "maxTurns": 100
  }
}

allowedDomains: empty = unrestricted network. Set ["api.example.com"] to restrict.

Capability Registry

Capabilities are stored in the workspace as plain files:

~/tendril-workspace/
  index.json          ← registry (name, triggers, suppression rules)
  tools/
    fetch_url.ts      ← tool implementation (TypeScript, runs in Deno)
    summarize_text.ts
    parse_json.ts

Each capability has:

  • name: snake_case identifier
  • capability: one-sentence description
  • triggers: conversational signals that should invoke it
  • suppression: conditions that prevent invocation

The model writes these definitions. You can inspect, edit, or delete them — they're just files.

Makefile Targets

make dev       Build agent + sidecars, launch Tauri dev
make build     Build agent (esbuild bundle)
make test      Run agent tests (vitest)
make lint      tsc --noEmit + cargo clippy
make fmt       cargo fmt --check
make check     Full quality gate (fmt + lint + test)
make release   Quality gate + cargo tauri build
make clean     Remove all build artifacts

Project Structure

tendril/
  tendril-agent/        TypeScript Strands sidecar
    src/                Agent source (see "The Agent Loop" above)
    tests/              vitest tests
    package.json
    sea-config.json     Node.js SEA build config

  tendril-ui/           Tauri + React desktop app
    src/                React components + hooks
    src-tauri/          Rust backend (ACP host, event forwarding)
    package.json

  docs/                 Specs and reference implementations
  specs/                Feature specifications and plans
  Makefile

License

MIT