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

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
Vercel News
Vercel News
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
M
MIT News - Artificial intelligence
The Cloudflare Blog
N
Netflix TechBlog - Medium
GbyAI
GbyAI
Help Net Security
Help Net Security
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
I
Intezer
Martin Fowler
Martin Fowler
量子位
P
Palo Alto Networks Blog
Security Latest
Security Latest
Attack and Defense Labs
Attack and Defense Labs
WordPress大学
WordPress大学
H
Help Net Security
C
Check Point Blog
T
Troy Hunt's Blog
C
CERT Recently Published Vulnerability Notes
Y
Y Combinator Blog
NISL@THU
NISL@THU
L
LINUX DO - 最新话题
V
Visual Studio Blog
C
Cisco Blogs
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Securelist
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
T
The Exploit Database - CXSecurity.com
人人都是产品经理
人人都是产品经理
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Recent Announcements
Recent Announcements
Forbes - Security
Forbes - Security
IT之家
IT之家
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
L
LangChain Blog
AWS News Blog
AWS News Blog
N
News and Events Feed by Topic
Stack Overflow Blog
Stack Overflow Blog
H
Hacker News: Front Page
B
Blog
W
WeLiveSecurity
罗磊的独立博客
Jina AI
Jina AI
博客园 - 【当耐特】

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
AI Agents Won’t Replace Humans — But a Bad Agent Can Break Production
Ghazi saoudi · 2026-06-28 · via DEV Community

Every few months, someone says:

“AI agents will replace developers.”

I don’t think that is the right way to look at it.

AI agents can write code, summarize logs, open pull requests, create tickets, call APIs, run tests, and even deploy software if we allow them to. That is impressive.

But replacing humans is not just about doing tasks.

In real production systems, the hard part is not only writing code. The hard part is understanding context, owning consequences, making trade-offs, protecting users, and taking responsibility when something goes wrong.

An AI agent can execute an action.

A human owns the outcome.

That difference matters.


What is an AI agent?

A simple chatbot answers a prompt.

An AI agent goes further. It can reason over a goal, choose tools, call APIs, read files, modify systems, and continue working through multiple steps.

Example:

Goal: Fix the failing payment pipeline

Agent actions:
1. Read the error logs
2. Search the codebase
3. Modify a retry function
4. Run tests
5. Open a pull request
6. Suggest deployment

That looks useful. And it is.

But now imagine the same agent has access to production credentials, deployment permissions, customer data, or database admin APIs.

Suddenly this is not just automation.

It is operational risk.


The dangerous question is not “Can the agent do it?”

The dangerous question is:

What happens when the agent is confidently wrong?

Humans make mistakes too. But production engineering has decades of safety patterns around human mistakes: code review, staging, rollback, access control, audit logs, incident response, separation of duties, and postmortems.

AI agents need the same discipline.

Actually, they need more.

Because agents can fail in strange ways:

Wrong assumption
   ↓
Wrong plan
   ↓
Wrong tool call
   ↓
Wrong production action
   ↓
Real customer impact

The risk is not that an AI agent is “evil.”

The risk is that it is useful enough to be trusted, but unreliable enough to be dangerous.


A critical production error example

Imagine this scenario:

User: Clean old test data from the database.

Agent:
- Finds a database token
- Misunderstands "test data"
- Connects to production
- Runs a destructive delete query
- Removes real customer records

The agent did not “intend” to destroy production.

But production does not care about intention.

Production cares about impact.

A wrong command from a human and a wrong command from an AI agent can both delete the same database.

That is why we should never give an AI agent unlimited access just because it gives smart answers in a chat window.


Simple architecture schema for safer agents

A production-grade AI agent should not connect directly to critical systems.

It should go through permission layers, approval gates, monitoring, and rollback mechanisms.

flowchart TD
    User[Human User] --> Agent[AI Agent]
    Agent --> Planner[Planner / Reasoning Layer]
    Planner --> Policy[Policy & Permission Engine]
    Policy -->|Read-only actions| Tools[Safe Tools]
    Policy -->|Risky actions| Approval[Human Approval Gate]
    Approval --> Tools
    Tools --> Logs[Action Ledger / Audit Logs]
    Tools --> Sandbox[Staging or Sandbox First]
    Sandbox --> Deploy[Production Deployment]
    Deploy --> Monitor[Monitoring & Alerts]
    Monitor --> Rollback[Rollback / Kill Switch]

The key idea:

The agent can suggest. The system controls. The human approves critical actions.


Agent safety policy schema

Before deploying an agent, define its permissions like you would define infrastructure, security, or API contracts.

Here is a simple YAML-style schema:

agent:
  name: production-assistant
  purpose: "Help engineers investigate issues and propose fixes"
  autonomy_level: supervised

permissions:
  read:
    - logs
    - metrics
    - source_code
    - documentation

  write:
    - draft_pull_request
    - create_ticket
    - comment_on_incident

  forbidden:
    - delete_database
    - modify_customer_data
    - deploy_to_production_without_approval
    - rotate_secrets
    - change_billing_rules

approval_required_for:
  - production_deploy
  - database_migration
  - infrastructure_change
  - customer_notification
  - security_policy_change

observability:
  action_ledger: true
  tool_call_logging: true
  prompt_and_response_audit: true
  alert_on_policy_violation: true

recovery:
  rollback_required: true
  snapshot_before_change: true
  kill_switch: true

This is not over-engineering.

This is basic survival.

If an agent can touch production, it must be treated like a production actor.


Risk formula for AI agents

A simple way to think about agent risk:

Risk = Autonomy × Permission × Irreversibility × Blast Radius

An agent that summarizes logs has low risk.

An agent that can deploy code has medium risk.

An agent that can modify production databases has high risk.

An agent that can modify production databases without approval is a disaster waiting to happen.


What famous tech people are really warning us about

Linus Torvalds has been skeptical of AI hype. His point is important for engineers: do not confuse demos with real-world reliability.

A demo can look magical.

Production is where the truth appears.

Jensen Huang has argued that AI will not simply remove engineers, but increase what productive teams can build. I agree with that more than the “AI will replace everyone” narrative.

The future is not fewer humans.

The future is humans with more powerful tools — and more responsibility.

Yann LeCun’s work also reminds us that current AI systems are still not equivalent to human intelligence. They do not learn from the world like humans and animals do. They do not truly understand business context, social consequences, or moral responsibility.

Sam Altman has said that AI agents may “join the workforce.” That wording is interesting.

Join.

Not replace.

That is the mindset engineering teams should adopt.


Why humans still matter

Humans are not valuable only because they type code.

Humans are valuable because they can ask:

Should we do this?
Who is affected?
What happens if this fails?
Is this legal?
Is this fair?
Can we recover?
Are we solving the right problem?

AI agents are good at generating possible actions.

Humans are responsible for choosing acceptable actions.

That is the boundary.


Production checklist before using AI agents

Before allowing an AI agent into your engineering workflow, ask:

[ ] Does the agent have least-privilege access?
[ ] Can it access production secrets?
[ ] Can it perform destructive actions?
[ ] Are dangerous actions blocked by policy?
[ ] Is human approval required for production changes?
[ ] Are all tool calls logged?
[ ] Can we replay what happened during an incident?
[ ] Is there a rollback plan?
[ ] Is there a kill switch?
[ ] Was the agent tested against prompt injection?
[ ] Does it run in staging before production?
[ ] Are engineers trained to verify its output?

If the answer to these questions is “no,” the agent is not ready for production.

It is ready for a sandbox.


The real future: human + agent

AI agents will change software engineering.

They will make some tasks faster. They will reduce repetitive work. They will help small teams move like bigger teams. They will help developers understand unfamiliar codebases faster.

But they should not replace human judgment.

The best engineering teams will not be the teams that blindly automate everything.

The best teams will be the ones that know what to automate, what to supervise, and what must always remain a human decision.

AI agents are powerful.

But power without control is not intelligence.

It is risk.

So no, AI agents will not replace humans.

But teams that understand how to safely use agents may replace teams that do not.

That is the real shift.