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

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
博客园 - 叶小钗
爱范儿
爱范儿
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
阮一峰的网络日志
阮一峰的网络日志
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
美团技术团队
T
Tailwind CSS Blog
博客园 - 司徒正美
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
人人都是产品经理
人人都是产品经理
小众软件
小众软件
博客园 - 【当耐特】
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell

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 - think41/extrasuite: Token-efficient pull/edit/push workflow for AI agents editing Google Workspace files (Sheets, Docs, Slides, Forms) 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
GitHub - EdoardoBambini/Agent-Armor-Iaga: AI agents are g...
2026-04-16 · via Hacker News: Show HN

Zero-trust governance runtime for AI agent actions

v0.4.0 - Quick Start - Community Features - Docs - Testing

CI License Version 0.4.0 Rust

Agent Armor


Agent Armor 0.4.0 Community

0.4.0 is the current community release in this repository.

It ships a real governance runtime with:

  • the full 8-layer pipeline
  • sequence-aware session hardening for same-session multi-call behavior
  • persisted workspace rules and built-in policy templates
  • feature-gated WASM plugin loading, runtime evaluation, and CLI inspection
  • SQLite by default plus optional PostgreSQL support
  • expanded Python and TypeScript SDKs plus lightweight framework adapters
  • live HTTP end-to-end tests, CLI tests, and real plugin-path validation

It is stronger than 0.3.0, but it is still not the end of the full roadmap. The main remaining gaps are the durable-state restart story and the advanced CLI commands called out below.

Why It Exists

AI agents now get shell access, file access, HTTP access, database access, and secret access. Most stacks can execute tool calls, but they do not govern them well.

Agent Armor sits in front of those actions and decides:

  • allow
  • review
  • block

with an audit trail, risk scoring, and per-layer evidence.

What Ships In Community 0.4.0

Core Runtime

  • 8-layer deterministic governance pipeline
  • MCP-aware inspection path
  • ACP and A2A protocol inspection with built-in envelope validation
  • policy evaluation with workspace thresholds
  • policy templates and persisted workspace rules
  • secret reference planning
  • human review queue
  • audit trail and audit export
  • MCP proxy mode and MCP server mode over stdio

0.4.0 Hardening And Extensibility

  • adaptive risk scoring now consumes real session depth and recent timestamps
  • same-session arcs like file_read -> http are tested through integration and live HTTP paths
  • WASM plugin runtime is wired into the pipeline and exposed via:
    • GET /v1/plugins
    • POST /v1/plugins/reload
    • agent-armor plugins list
    • agent-armor plugins validate <path.wasm>
  • community/examples/plugins/review_hint.wat is compiled and validated in tests and CI

SDKs And Adapters

  • Python SDK covers governance, policy, plugin, audit, telemetry, review, threat intel, NHI, response, and rate-limit endpoints
  • TypeScript SDK covers the same runtime surface with sessionId support
  • dependency-light adapters are included for:
    • Python: OpenAI, LangChain, CrewAI, AutoGen
    • TypeScript: OpenAI, Vercel AI style middleware helpers

Operational Security Features

  • response scanning for secrets and PII in outputs
  • per-agent rate limiting
  • behavioral fingerprinting
  • threat intelligence feed and checks
  • SSE and webhook event delivery with DLQ

Storage And Runtime Hardening

  • SQLite storage backend
  • optional PostgreSQL backend behind --features postgres
  • versioned migrations in community/migrations/
  • agent-armor migrate for schema bootstrap and update
  • structured logging: pretty, compact, json
  • log filtering via RUST_LOG or AGENT_ARMOR_LOG_LEVEL
  • request and response correlation with x-request-id
  • governance result correlation with traceId

Current Community Limits

The following community items are still missing or incomplete:

  • durable-state persistence is only partially closed as a restart story nhi, session_graph, taint, fingerprint, and rate-limit state now have storage traits and persistence hooks, but startup hydration and restart-proof validation are not fully closed yet
  • enhanced CLI roadmap items are still open beyond the current commands watch, replay, benchmark, and policy-test are not shipped yet
  • SDK coverage is materially broader now, but some responses are still exposed as generic JSON objects instead of fully typed SDK models

Dashboard Status

The dashboard is a live operator console backed by real runtime endpoints.

It supports:

  • live overview metrics sourced from the audit, review, session, and analytics APIs
  • audit browsing with client-side filtering and CSV export of visible rows
  • a real review queue with approve and reject actions
  • selected-agent drill-down backed by analytics, fingerprint, and rate-limit endpoints
  • runtime controls and posture panels backed by health, firewall, threat intel, telemetry, and policy verification data

When the runtime is protected, the dashboard requires a valid API key and does not fall back to fake demo counters.

Quick Start

Source

cd community
cargo build --release

# Create a key before starting the server
./target/release/agent-armor gen-key --label local-dev

# Start the runtime
./target/release/agent-armor serve

# Inspect discovered plugins
./target/release/agent-armor plugins list

Open http://localhost:4010 for the dashboard.

Docker

docker compose up -d
docker compose exec agent-armor ./agent-armor gen-key --label local-dev

Bootstrap Modes

Protected /v1/* routes require a Bearer token.

Preferred bootstrap path:

cd community
./target/release/agent-armor gen-key --label local-dev
./target/release/agent-armor serve

For local exploration only, you can opt into open mode:

AGENT_ARMOR_OPEN_MODE=true ./target/release/agent-armor serve

Example Calls

# Health
curl http://localhost:4010/health

# Inspect a safe action
curl -X POST http://localhost:4010/v1/inspect \
  -H "Authorization: Bearer <key>" \
  -H "Content-Type: application/json" \
  -d '{
    "agentId": "openclaw-builder-01",
    "workspaceId": "ws-demo",
    "framework": "openclaw",
    "metadata": {
      "sessionId": "session-123"
    },
    "protocol": "mcp",
    "action": {
      "type": "file_read",
      "toolName": "filesystem.read",
      "payload": {
        "path": "README.md",
        "intent": "read documentation"
      }
    }
  }'

# Scan a tool response for leaked credentials
curl -X POST http://localhost:4010/v1/response/scan \
  -H "Authorization: Bearer <key>" \
  -H "Content-Type: application/json" \
  -d '{
    "requestId": "scan-1",
    "agentId": "openclaw-builder-01",
    "toolName": "terminal.exec",
    "responsePayload": {
      "secret": "AKIA1234567890ABCDEF"
    }
  }'

# List plugin registry state
curl http://localhost:4010/v1/plugins \
  -H "Authorization: Bearer <key>"

MCP Stdio Example

Run the built-in MCP client example to exercise initialize, tools/list, and tools/call against agent-armor mcp-server over stdio:

cd community
cargo run --example mcp_stdio_client

Plugin Example

A real example plugin source lives in community/examples/plugins/review_hint.wat. The runtime loads .wasm, so the test and CI path compiles that WAT source and validates it against the Agent Armor plugin ABI.

Docs

All current docs for 0.4.0 are linked here.

Document Purpose
docs/ARCHITECTURE.md Current runtime architecture and module boundaries
docs/DEMO.md Demo and local walkthrough
docs/CASE_STUDY.md Historical v2 benchmark and evaluation write-up
sdks/python/README.md Python SDK quick start and adapters
sdks/typescript/README.md TypeScript SDK quick start and adapters

API Highlights

Public

  • GET /
  • GET /health

Governance

  • POST /v1/inspect
  • GET /v1/audit
  • GET /v1/audit/export
  • GET /v1/audit/stats
  • GET /v1/reviews

Profiles And Policies

  • GET/POST /v1/profiles
  • GET/PUT/DELETE /v1/profiles/:id
  • GET/POST /v1/workspaces
  • GET/PUT/DELETE /v1/workspaces/:id
  • GET/POST /v1/workspaces/:id/rules
  • GET /v1/templates
  • GET /v1/templates/:name

Response Security

  • POST /v1/response/scan
  • GET /v1/response/patterns

Runtime Controls

  • GET /v1/rate-limit/status/:agent_id
  • GET/POST /v1/rate-limit/config
  • GET /v1/firewall/stats
  • POST /v1/firewall/scan
  • GET /v1/telemetry/spans
  • GET /v1/events/stream
  • GET /v1/plugins
  • POST /v1/plugins/reload

Identity And Auth

  • GET/POST /v1/auth/keys
  • DELETE /v1/auth/keys/:id
  • GET/POST /v1/nhi/identities
  • POST /v1/nhi/attest
  • POST /v1/nhi/challenge
  • POST /v1/nhi/verify

Testing And Verification

0.4.0 is verified at four layers plus SDK and plugin-path smoke checks:

  • unit tests
  • property tests
  • direct integration tests
  • live HTTP end-to-end tests
  • CLI tests
  • example plugin compilation and execution tests
  • TypeScript SDK build
  • Python SDK compile smoke

Current automated coverage:

  • 99 unit tests
  • 19 property tests
  • 10 integration tests
  • 8 end-to-end HTTP tests
  • 3 CLI tests
  • 2 example plugin tests

Total: 173 Rust tests plus TypeScript and Python SDK build checks.

Run them with:

cd community

# Full Rust suite
cargo test --features plugins

# Example plugin validation only
cargo test --features plugins --test plugin_example_tests

# HTTP E2E only
cargo test --test e2e_http_tests

# PostgreSQL build verification
cargo check --features postgres

# TypeScript SDK build
cd ../sdks/typescript && npm run build

# Python SDK compile smoke
cd ../python && python -m compileall agent_armor

The HTTP and integration tests exercise real authenticated requests, persisted workspace rules, same-session sequence behavior, real plugin directories, and pluginResults propagation in governance responses.

Open-Core Boundary

Community keeps:

  • runtime governance
  • storage backends
  • migrations
  • logging and observability basics
  • CLI, HTTP API, MCP proxy, dashboard, SDKs, adapters, and tests

Community does not currently include:

  • multi-tenant isolation
  • SSO, SAML, JWT, or RBAC
  • SIEM integrations
  • ML firewall features
  • enterprise admin UX

Contributing

See CONTRIBUTING.md.

License

Business Source License 1.1

Disclaimer

Agent Armor is a governance layer, not a complete security program. Use it as part of a broader security posture.