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

推荐订阅源

WordPress大学
WordPress大学
O
OpenAI News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
Webroot Blog
Webroot Blog
GbyAI
GbyAI
S
SegmentFault 最新的问题
Cyberwarzone
Cyberwarzone
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
J
Java Code Geeks
Google DeepMind News
Google DeepMind News
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
博客园 - 【当耐特】
S
Secure Thoughts
酷 壳 – CoolShell
酷 壳 – CoolShell
AWS News Blog
AWS News Blog
Engineering at Meta
Engineering at Meta
S
Security Affairs
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
D
DataBreaches.Net
云风的 BLOG
云风的 BLOG
Hugging Face - Blog
Hugging Face - Blog
Google DeepMind News
Google DeepMind News
Spread Privacy
Spread Privacy
T
Threatpost
Forbes - Security
Forbes - Security
C
Cisco Blogs
Scott Helme
Scott Helme
Attack and Defense Labs
Attack and Defense Labs
Simon Willison's Weblog
Simon Willison's Weblog
腾讯CDC
The Last Watchdog
The Last Watchdog
Cloudbric
Cloudbric
Last Week in AI
Last Week in AI
Recorded Future
Recorded Future
小众软件
小众软件
V
Vulnerabilities – Threatpost
美团技术团队
人人都是产品经理
人人都是产品经理
有赞技术团队
有赞技术团队
Apple Machine Learning Research
Apple Machine Learning Research
Hacker News - Newest:
Hacker News - Newest: "LLM"
I
Intezer
月光博客
月光博客
C
Cyber Attacks, Cyber Crime and Cyber Security
博客园 - 司徒正美
C
Cybersecurity and Infrastructure Security Agency CISA
Martin Fowler
Martin Fowler
博客园 - 聂微东

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor GitHub - GenAI-Gurus/awesome-eu-ai-act: Curated tools, official sources, OSS, templates, and guides for EU AI Act compliance. Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders How to Switch AI Chatbots and Why You Might Want To GitHub - MattMessinger1/agentic_refund_guardrail: Safe refund policy layer for AI agents — Python + TypeScript. Same behavior, shared tests. Adam/papers/emergent_values_whitepaper.md at master · strangeadvancedmarketing/Adam Ask HN: How do you stop playing 20 questions with your AI coding tools How far can automation and AI support psychotherapy? - @theU GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits A Mac Studio for Local AI — 6 Months Later A History of the Early Years of AI at the University of Edinburgh Why AI Coding Tools Still Feel Stuck on Localhost MSN AI Datacenters Are Becoming Strategic Targets twitter.com Penn Researchers Use AI to Surface Unreported GLP-1 Side Effects in Reddit Posts Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 AI models are terrible at betting on soccer—especially xAI Grok GitHub - xialeistudio/echoic GitHub - HimashaHerath/github-dev-wrapped: AI-powered weekly GitHub activity reports deployed to GitHub Pages GitHub - alejandrobalderas/claude-code-from-source: Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps AI and Tech brief: Ireland ascendant GitHub - Titovilal/context0: Context0 - Never Surrender Training for a Marathon with an AI Coach: What Worked and What Didn't Cyber Pulse: Agentic Intel - Apps on Google Play I Built an AI PR Reviewer That Catches Bugs by Not Looking for Bugs Gen Z workers are so fearful AI will take their job they’re intentionally sabotaging their company’s AI rollout | Fortune How AI Is Reimagining the Game of Golf–For Both Players and Courses GitHub - nattergabriel/reseed: A CLI tool for managing and distributing agent skills across projects Is SVG the final frontier? My AI workflow evolved from prompts to a near-autonomous workflow MLSharp Help - 3DGS Viewer & Generator I put my cognitive field based AI's runtime on GitHub Is Numble the first AI-proof game? A3: Kubernetes for autonomous AI agent fleets | Emergent Principles Deepali Vyas ("The Elite Recruiter") GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Unionized ProPublica staff are on strike over AI, layoffs, and wages Unleashing the Advantage of Quantum AI We're heading for an AI-fueled 'dementia crisis,' brain scientist warns The AI-Assisted Breach of Mexico's Government Infrastructure [pdf] GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. MSN GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs AI Code is Hollowing Out Open Source, and Maintainers are Looking the Other Way What leaked "SteamGPT" files could mean for the PC gaming platform's use of AI AI is the boss at this retail store. What could go wrong? GitHub - Wuzu11517/agentic-proxy: Local proxy meant to help reduce With Drones, Geophysics and ArtificiaI Intelligence, Researchers Prepare to Do Battle Against Land Mines A Single Operator, Two AI Platforms, Nine Government Agencies: The Full Technical Report 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - inevolin/resume-cli: Hit Claude usage limits? Resume any AI coding session elsewhere. Switch tools at zero friction. 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. How to Build a Secure AI PR Reviewer with Claude, GitHub Actions, and JavaScript This Startup Wants You to Pay Up to Talk With AI Versions of Human Experts Intel Arc Pro B70 Brings 32GB VRAM to Local AI for $949 WordPress 7.0: The Good, the AI, and the Still Missing AI on the couch: Anthropic gives Claude 20 hours of psychiatry IatroBench: Pre-Registered Evidence of Iatrogenic Harm from AI Safety Measures AI Agents Know About Supabase. They Don't Always Use It Right. The history and future of AI at Google, with Sundar Pichai Inside an AI‑enabled device code phishing campaign How Meta Used AI to Map Tribal Knowledge in Large-Scale Data Pipelines AI for Systems: Using LLMs to Optimize Database Query Execution Forecasting the Economic Effects of AI Introducing Tinker: Play with AI, bring your ideas to life AI sheds light on an ancient gaming mystery People really hate AI but not as much as Iran—or Democrats | Fortune What is an AI Product Engineer? Phoebe Gates wants her $185 million AI startup to succeed with 'no ties to my privilege or my last name': 'I have a chip on my shoulder' | Fortune
Lowdefy v5.3: AI Agents in 30 Lines of YAML
gervwyk · 2026-05-11 · via Hacker News - Newest: "AI"

A Lowdefy app can now run AI agents that call your existing endpoints as tools. Add a provider connection and an agent to your app config, drop an AgentChat block on a page, and you have streaming chat wired to the API you already have. The same endpoint a button calls when a user clicks it can be called by the model mid-conversation: same routine, same connections, same auth context, same operators.

The agent's model, system instructions, tool list, and loop limits all live in YAML alongside your existing connections, endpoints, and pages. The AgentChat block ships streaming, message rendering, tool-call display, attachments, and tool approval out of the box. Multi-provider support, MCP servers, sub-agents, and page state the agent can read and write all sit in the same shape as the simplest chat.

What an agent is

An agent is a language model that uses tools in a loop. Hand it a goal in plain English ("find me a laptop under $1000") and it picks which tools to call, reads each result, and decides what to do next. The loop ends when the model gives a final answer without calling another tool, or when it hits a step limit you set.

That's the difference from a one-shot prompt. A one-shot prompt returns text. An agent picks its own path through tools and stops on its own. Three things shape that path: the model, the system instructions that set the goal and constraints, and the tool list that defines what the agent can do.

Lowdefy spreads that definition across four places, each with a different responsibility:

LayerResponsibilityLowdefy key
ConnectionProvider credentialsconnections
AgentModel, instructions, tools, loop controlagents
ToolWhat the model can call to act on the worldapi
BlockThe chat UIpages.blocks

Each layer has its own job. Connections hold credentials, separate from any individual agent. Agents are reusable behavior: define one, drop it into any page. Endpoints already exist in Lowdefy as the way you expose backend logic to the rest of your app; adding two fields makes them callable by a model as well. Blocks stay pure UI, with no AI-specific config of their own. A block references an agent by ID and renders whatever messages come back.

Adding an agent

A chatbot in around thirty lines

plugins: - name: '@lowdefy/connection-anthropic' version: 5.3.0 connections: - id: claude type: Anthropic properties: apiKey: _secret: ANTHROPIC_API_KEY agents: - id: chat_bot type: ClaudeAgent connectionId: claude properties: model: claude-haiku-4-5-20251001 instructions: You are a helpful assistant. Keep responses concise. pages: - id: chat type: PageHeaderMenu properties: title: Chat blocks: - id: chat type: AgentChat properties: agentId: chat_bot welcome: title: Chat description: Ask me anything

Drop your Anthropic API key into a secret called ANTHROPIC_API_KEY and the page serves a streaming chat with markdown rendering, a welcome screen, copy-message actions, and a typing indicator while the model is generating. The AgentChat block ships the things you'd otherwise wire up by hand: streaming, scroll behavior, error and abort handling, role-based avatars, an empty state, file attachments. None of those need extra config.

Streaming chat with markdown rendering from the 30-line example

Endpoints as tools

An agent's tools list contains endpoint IDs. Add a description and a payloadSchema to the endpoint and it becomes eligible to be called by the model:

api: - id: search-products type: Api description: Search for products by name or category. payloadSchema: type: object properties: query: type: string description: Search query required: - query routine: - id: search type: AxiosHttp connectionId: catalog_api properties: url: _string.concat: - /products/search?q= - _payload: query - '&limit=5' - :return: _step: search.data.products agents: - id: product_bot type: ClaudeAgent connectionId: claude properties: model: claude-haiku-4-5-20251001 instructions: You help users find products. Search the catalog and summarize results. tools: - search-products

This endpoint is a regular Lowdefy API. A page can hit it through a CallApi action; another endpoint can compose it as a routine step. Adding description and payloadSchema doesn't change any of that. It only makes the endpoint discoverable to the model. When the agent calls it, _payload carries the model's tool input, the same as if a page had sent it.

An agent has the same surface area as the rest of your app. Every operator, every connection, every secret, every authenticated user reference (_user) is available inside a tool's routine. An insert endpoint that writes to MongoDB is already a tool. An endpoint that calls a third-party API with a stored key is already a tool. The agent isn't a new server, it's a different caller of the server you already have.

For tools that shouldn't be exposed to the browser at all, change the type from Api to InternalApi. The endpoint stops serving HTTP requests and stays callable from agents and from other endpoints.

MCP servers by ID

Many capabilities you'd want an agent to have already exist as MCP servers: documentation lookups, web search, Slack, GitHub, Linear. Lowdefy treats an MCP server as a connection, then lets the agent pull in its tools by ID:

connections: - id: mcp_deepwiki type: Mcp properties: transport: http url: https://mcp.deepwiki.com/mcp agents: - id: repo_bot type: ClaudeAgent connectionId: claude properties: model: claude-haiku-4-5-20251001 instructions: You answer questions about public GitHub repos using the DeepWiki MCP server. mcp: - mcp_deepwiki

The agent picks up every tool the MCP server exposes: list, search, fetch, whatever the server publishes. Endpoint tools and MCP tools end up in the same pool by the time the model sees them. All three MCP transports are supported: Streamable HTTP (http), sse, and stdio. Prefer http for anything you're going to deploy, since stdio spawns a child process and won't survive serverless environments.

Sub-agents

An agent can call other agents as tools. The orchestrator hands the sub-agent a prompt; the sub-agent runs its own tool loop with its own model, instructions, tools, and step limit, and returns the text it produced. Define each specialist as its own agent, then list them on the orchestrator under agents:

agents: - id: product_researcher type: ClaudeAgent connectionId: claude properties: model: claude-haiku-4-5-20251001 instructions: | Research products. Search first, then look up details for the most relevant matches. Summarize findings clearly. tools: - search-products - get-product-details - id: user_researcher type: ClaudeAgent connectionId: claude properties: model: claude-haiku-4-5-20251001 instructions: Look up user information by ID and summarize. tools: - lookup-user - id: orchestrator_bot type: ClaudeAgent connectionId: claude properties: model: claude-sonnet-4-20250514 instructions: | Coordinate specialists. Delegate product questions to product_researcher and user lookups to user_researcher. Synthesize results yourself. agents: - agentId: product_researcher description: Search and analyze products from the catalog - agentId: user_researcher description: Look up user information by ID

The orchestrator sees each sub-agent as a single tool whose description decides when it delegates.

What sub-agents buy you over packing everything into one agent: each one runs in its own context. The specialist's intermediate tool calls, raw API responses, and reasoning never enter the orchestrator's prompt. The orchestrator only sees the summary text. The specialist's tool list stays narrow, which makes tool selection more reliable. And each agent picks its own model, so coordination can run on Sonnet while the legwork runs on Haiku.

Built-in tools

Two tool sets appear automatically when you set certain agent properties, no tools: list entry required. They land in the same pool as endpoint, MCP, and sub-agent tools by the time the model sees them.

File system

Set fileSystem.basePath on the agent and four tools land in the pool: read-file, list-files, search-files, stat-file. Every path is resolved against the base directory and any path that escapes is rejected, so the agent can browse the directory and nothing else.

agents: - id: docs_bot type: ClaudeAgent connectionId: claude properties: model: claude-haiku-4-5-20251001 instructions: You answer questions using the knowledge base. fileSystem: basePath: ./knowledge-base

This is the simple way to point an agent at a corpus: a directory of markdown files, a snapshot of internal docs, a vendored SDK source tree. Reads are capped at 512 KB per file, search caps at 200 matches and skips files over 1 MB. In production builds the directory is copied into the server bundle automatically.

Page state

The AgentChat block can expose a slice of page state to the agent. Set sharedState on the block to an operator expression that evaluates to an object. The agent then receives an update-page-state tool that lets it write back. If the agent also sets pageContext: true, the current values are sent in its prompt as a context block on every message.

agents: - id: form_bot type: ClaudeAgent connectionId: claude properties: model: claude-haiku-4-5-20251001 pageContext: true instructions: | Help the user fill in the form. Read sharedState to see what's already entered. When the user provides new values, call update-page-state with an `updates` object. pages: - id: form type: PageHeaderMenu properties: title: Form slots: content: blocks: - id: company_name type: TextInput - id: employee_count type: NumberInput - id: chat type: AgentChat properties: agentId: form_bot sharedState: _state: true

sharedState: { _state: true } exposes the whole page state; a curated shape like { company: { _state: company_name } } exposes a subset. Writes are scoped to the keys you exposed and applied through SetState, so the page re-renders without extra wiring.

Agent reading and writing page state on a form

Going further

Routing across providers

An agent can route through the Vercel AI Gateway and reach Claude, GPT, Gemini, and self-hosted open models with one config. Use the gateway connection and a provider/model string, optionally hand it a fallback list, and the gateway handles failover, attribution, and bring-your-own-key credentials per request:

connections: - id: ai_gateway type: AIGateway properties: apiKey: _secret: AI_GATEWAY_API_KEY agents: - id: chat_bot type: AIGatewayAgent connectionId: ai_gateway properties: model: anthropic/claude-sonnet-4.6 fallbackModels: - openai/gpt-5-mini - google/gemini-2.5-pro tags: [production, chat] instructions: You are a helpful assistant.

Set zeroDataRetention: true to restrict routing to providers that don't retain prompts. The agent config doesn't change. Only the routing does.

React to what the agent is doing

An agent fires lifecycle events at six points: onStart, onStepStart, onToolCallStart, onToolCallFinish, onStepFinish, onFinish. Each one can fire a Lowdefy endpoint with the event payload. Persisting a conversation, recording usage, sending a Slack notification when a tool runs, or streaming a custom data part back to the page are all just endpoint calls:

agents: - id: chat_bot type: ClaudeAgent connectionId: claude properties: model: claude-haiku-4-5-20251001 instructions: You are a helpful assistant. hooks: onFinish: - save-conversation - record-usage

Hooks run with the same connection, operator, and auth context as any other endpoint. You're calling endpoints you'd already write.

Citations

When a tool returns source citations (many public MCP servers do), the chat can render them inline beneath the answer. Set messageDisplay.showSources: true on the chat block:

- id: chat type: AgentChat properties: agentId: docs_bot messageDisplay: showSources: true

Sources arrive as source-url and source-document parts in the agent's response stream and surface as expandable cards next to the message. No extra wiring on the agent side. If a tool publishes sources, the block displays them.

Tool approvals

Some tools want a human to approve them before they run. Set confirm: true on the tool reference and the chat block renders an approve/reject card inline:

agents: - id: leave_bot type: ClaudeAgent connectionId: claude properties: model: claude-haiku-4-5-20251001 instructions: | You help with leave requests. Use search to look up policies. Submit only when the user agrees. tools: - search-policies - endpointId: submit-leave confirm: true

search-policies is read-only and runs immediately. submit-leave writes to the database, so the model's tool call surfaces in the chat as a card showing the proposed input alongside approve and reject buttons. The endpoint runs only after approval. The two forms in the tools list (the bare ID and the object with endpointId) both work; the object form unlocks per-tool flags. confirm: true also works on MCP tools.

Tool approval card with approve and reject buttons


There's a lot more to discover: drawer mode for floating chat, message regeneration, custom roles and avatars, file attachments, dynamic per-step tool phasing, message history pruning, custom data parts. See the docs for the full set.

The agent runtime is the Vercel AI SDK under the hood, and the AgentChat block sits on Ant Design X.

Your Lowdefy app can now have an agent that knows what your app knows.