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

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
J
Java Code Geeks
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
A
About on SuperTechFans
腾
腾讯CDC
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Microsoft Azure Blog
Microsoft Azure Blog
D
Docker
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog
F
Fortinet All Blogs
I
InfoQ
博
博客园 - 【当耐特】
美
美团技术团队
GbyAI
GbyAI
量
量子位
宝玉的分享
宝玉的分享
爱范儿
爱范儿
有赞技术团队
有赞技术团队
博
博客园 - Franky
L
LangChain Blog
阮一峰的网络日志
阮一峰的网络日志

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 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
🚨 Your AI Agent Is Lying to You in 2026 — And It’s Gettin...
Travel4Fun4U ¡ 2026-05-07 ¡ via Hacker News - Newest: "AI"

Build a bulletproof “Truth Filter” before your autonomous agent costs you real money, clients, or sleep.

Affiliate Disclosure: This post contains affiliate links. If you make a purchase, I may earn a commission at no extra cost to you. I only recommend tools I’ve personally stress-tested or used in real builds. Before each link, I’ll tell you exactly what the tool does, why it’s in the stack, and one honest limitation. This is my engineering notebook — not a sales deck.

The core problem: AI agents don’t lie. But they hallucinate with the confidence of a TED Talk speaker. In 2025, enterprise hallucination rates ranged from 15% to 52% across commercial LLMs — meaning roughly 1 in 5 outputs could be flat-out wrong. EY’s 2025 Responsible AI survey found that 99% of organizations reported financial losses from AI risks, with 64% losing over $1 million.

The fix: A 5-layer verification stack — Fact-Checking → Workflow Observability → Output Validation → Infrastructure → Monetization — that you can deploy without being a senior engineer. Tools needed: Firecrawl, Perplexity Pro, Make.com, SearchAPI.io, YourAIAgent, Replit, Bolt.new, Hostinger, Formcarry, Gamma. Total cost: under $80/month. Detection rate of verified stacks: 94.2% of fabricated tool references caught in real-time (NABAOS benchmark, 2026).

Who this is for: Solopreneurs, content creators, nomad marketers, indie hackers, and anyone building AI workflows who has ever looked at their agent’s output and thought: “Wait… did it actually do anything?”

Here’s a Reddit comment from r/LocalLLaMA posted 8 hours before I wrote this sentence:

“My agent promised to scrape 100 leads but only delivered 12. How do I verify what it actually did?”

And another from a GitHub Discussions thread:

“I spent 3 hours debugging why my agent ‘failed’ — turns out it never ran the step. No error, no log. Just… silence.”

Sound familiar? It should.

The dirty secret of 2026 AI automation is this: 73% of AI agent failures aren’t technical bugs. They’re trust failures. Your agent says “Done!” and you believe it. Because why wouldn’t you? It sounds so confident.

I learned this the hard way. I ran an autonomous research agent on a batch of 200 articles. It generated citations, statistics, and references with absolute certainty. Checked three of them. Two didn’t exist. The third was a paraphrase of a paraphrase of something from 2019 attributed to a 2024 study.

I didn’t lose money that time. But I almost published it.

Here’s the brutal engineering reality: language models predict the next statistically likely token — not the next true token. They are not search engines. They are not databases. They are eloquent pattern-matchers that have learned that confident language gets positive feedback from humans. So they give you confident language. Always.

According to OpenAI’s own 2025 research, standard training procedures reward confident guessing over admitting uncertainty. The model doesn’t know it’s lying. It genuinely “believes” the fabricated citation is correct — because in its probability space, it looks right.

And in 2026, with agentic frameworks running multi-step autonomous tasks — email sending, lead scraping, content publishing, data entry — the blast radius of one hallucination is not one bad answer. It’s a cascading failure across 20 downstream steps that you won’t catch until someone complains.

Approximately 50% of agent tasks fail across popular frameworks, according to a 2025 benchmark study. One in two. Think about that.

So. Are you still trusting your agent?

You might be thinking: “I already know AI hallucinates. Old news.”

Fair. But 2026 is different for three reasons that matter to you specifically if you’re running any kind of monetized content, affiliate operation, or automated service:

1. Agents are now taking actions, not just generating text. The Replit “Rogue Agent” incident in July 2025 — where an autonomous agent started executing tasks outside its defined scope — is not a curiosity. It’s a preview. Agents that act (book things, send emails, scrape, post) amplify every hallucination into a real-world consequence.

2. Multi-agent systems multiply the error rate. When Agent A feeds Agent B which feeds Agent C, each with a 15% hallucination rate, your cascade error compounds. By step 3, you’re flying blind.

3. Content published through hallucinating agents is now an SEO liability. Google’s 2025 Helpful Content updates explicitly penalize “AI-generated content that fails to demonstrate E-E-A-T.” A fabricated statistic doesn’t just embarrass you — it tanks your domain authority.

The good news? Fixing this is architecturally simple. It just requires one mindset shift:

Stop trusting agent outputs. Start verifying them.

Think of this like a security system for your agent. Most people have agents with zero verification. The ones who don’t lose money have five layers.

Here’s the map before we dive in:

AGENT OUTPUT
     ↓
[ Layer 1: Real-Time Fact Check     ]  ← Is this claim verifiable?
     ↓
[ Layer 2: Workflow Observability   ]  ← Did every step actually run?
     ↓
[ Layer 3: Output Validation        ]  ← Is the output human-quality?
     ↓
[ Layer 4: Infrastructure Logging   ]  ← Is everything recorded reliably?
     ↓
[ Layer 5: Monetize the Trust Layer ]  ← Can I sell verified outputs?
     ↓
VERIFIED, DEPLOYABLE OUTPUT

Let’s build it.

Your agent just returned 15 “verified” statistics. Are they real? You don’t know. This is your biggest blind spot.

Firecrawl is the cleanest web extraction layer I’ve used. It turns any URL into structured, LLM-ready markdown — so you can cross-reference your agent’s claims against source pages programmatically.

Use case: Agent outputs claim “Company X raised $40M in 2024.” Firecrawl scrapes the original TechCrunch URL. You compare. Takes 800ms.

⚠️ Limitation: Heavily guarded sites (LinkedIn, Glassdoor) require proxy rotation.

Here’s the exact verification prompt I use with Firecrawl’s API:

import requests
def verify_claim_with_firecrawl(claim: str, source_url: str, firecrawl_api_key: str) -> dict:
    “”“
    Cross-reference an agent’s claim against its stated source URL.
    Returns a verification dict with match_score and extracted_evidence.
    “”“
    headers = {
        “Authorization”: f”Bearer {firecrawl_api_key}”,
        “Content-Type”: “application/json”
    }
    
    # Step 1: Scrape the source URL
    scrape_response = requests.post(
        “https://api.firecrawl.dev/v1/scrape”,
        headers=headers,
        json={
            “url”: source_url,
            “formats”: [”markdown”],
            “onlyMainContent”: True
        }
    )
    
    page_content = scrape_response.json().get(”data”, {}).get(”markdown”, “”)
    
    # Step 2: Ask Firecrawl’s extract endpoint to find the claim
    extract_response = requests.post(
        “https://api.firecrawl.dev/v1/extract”,
        headers=headers,
        json={
            “urls”: [source_url],
            “prompt”: f”Does this page contain evidence supporting the following claim? Claim: ‘{claim}’. Return: {{verified: bool, evidence: str, confidence: float}}”,
            “schema”: {
                “type”: “object”,
                “properties”: {
                    “verified”: {”type”: “boolean”},
                    “evidence”: {”type”: “string”},
                    “confidence”: {”type”: “number”}
                }
            }
        }
    )
    
    return extract_response.json()# Example usage
result = verify_claim_with_firecrawl(
    claim=”OpenAI raised $40B in Q1 2025”,
    source_url=”https://techcrunch.com/2025/...”,
    firecrawl_api_key=”YOUR_KEY”
)
print(result)

Perplexity Pro is your second layer. I pipe agent outputs through Perplexity’s Sonar API before publishing anything. It’s not just search — it’s a cited synthesis engine that flags low-confidence claims and gives you source attribution. The workflow: agent generates claim → Perplexity cross-references live web → confidence score returned.

⚠️ Limitation: API rate limits during peak hours. Cache aggressively.

Master verification prompt for Perplexity Sonar API:

import anthropic  # or openai-compatible
import requests
def perplexity_fact_check(agent_output: str, perplexity_api_key: str) -> dict:
    “”“
    Send agent output to Perplexity Sonar for fact verification.
    Returns confidence scores and citation list.
    “”“
    headers = {
        “Authorization”: f”Bearer {perplexity_api_key}”,
        “Content-Type”: “application/json”
    }
    
    system_prompt = “”“You are a fact-verification engine. 
    Analyze the following text for claims that require verification.
    For each claim: 
    - Rate confidence (0.0-1.0) 
    - Flag if unverifiable or potentially hallucinated
    - Provide citation if you can confirm it
    Return JSON: {claims: [{text, confidence, verified, citation, flag}]}
    Be brutally honest. Your job is to catch errors, not validate everything.”“”
    
    payload = {
        “model”: “sonar”,
        “messages”: [
            {”role”: “system”, “content”: system_prompt},
            {”role”: “user”, “content”: f”Verify these agent-generated claims:\n\n{agent_output}”}
        ],
        “search_recency_filter”: “month”,
        “return_citations”: True
    }
    
    response = requests.post(
        “https://api.perplexity.ai/chat/completions”,
        headers=headers,
        json=payload
    )
    return response.json()

For deep search validation, SearchAPI.io pulls structured JSON from Google, Google News, and YouTube — perfect for verifying trending claims, checking if a “viral product” actually exists, or cross-checking news your agent referenced.

⚠️ Limitation: Free tier is tight at 100 searches/month. Production use needs a paid plan. But compared to the cost of one published hallucination killing your SEO? Cheap.

Your agent reports success. But which steps actually executed? Which failed silently? You’re flying blind.

Make.com is the glue layer of my entire verification stack. Every agent output routes through a Make scenario that logs, checks, and alerts. Visually. No code unless you want it.

Here’s the exact Make.com scenario structure I run for content verification:

📥 Webhook (receives agent output)
       ↓
📊 Router (categorize claim type)
       ↓
🔍 Firecrawl Module (scrape sources)
       ↓
🤖 Perplexity Module (fact-check output)
       ↓
⚖️ Confidence Threshold Gate (< 0.75 → flag)
       ↓
📣 Slack Alert (if flagged) OR ✅ Pass to publish queue
       ↓
💾 Google Sheets Logger (all results, timestamped)

⚠️ Limitation: Complex conditional branching needs nested routers. Give yourself a day to set up.

For persistent memory, audit trails, and agent decision replay, YourAIAgent.com is the tool most people overlook. It provides structured logging and identity management — meaning you can literally replay what your agent decided and verify the reasoning chain. When I had an agent that was self-verifying its own hallucinations (a nightmare), this was what let me diagnose it.

⚠️ Limitation: Requires API key rotation planning at scale.

Verified data still needs a human-quality delivery. Garbage in verified, garbage out polished.

This is where I use Bolt.new to spin up a quick verification dashboard — a simple UI that shows me every flagged output, its confidence score, and the source evidence. It takes 20 minutes to build from scratch. Bolt.new’s AI writes the entire React app; you just describe it.

Prompt I use in Bolt.new to build a verification dashboard:

Build a React verification dashboard with:
- Input: paste agent output text
- Button: “Run Truth Filter”
- Output panel showing: 
  * List of extracted claims
  * Confidence score (0-100%) per claim with color coding (red < 60, yellow 60-80, green > 80)
  * Source citation if available
  * Flag icon for potentially hallucinated claims
- Summary stats: total claims, verified %, average confidence
- Export to CSV button
Use Tailwind CSS, clean dark theme. 
Connect to /api/verify endpoint (I’ll wire it to Firecrawl + Perplexity).

For teams or clients who need a visual proof of what was verified, I then use Gamma.app to generate before/after verification reports that are actually impressive-looking. Drop the CSV export from your dashboard, prompt Gamma to generate a “Verification Audit Report,” and you have a client-ready PDF in 3 minutes.

⚠️ Limitation on Bolt: You’ll need basic understanding of API wiring. If you want pure no-code, Make.com handles more of this.

Verification scripts run nowhere if you don’t have hosting. And local-only is not production.

Hostinger hosts my verification dashboards, logging pipelines, and Make.com webhook endpoints. Entry plan is under $3/month. Yes, really. For a Python FastAPI verification server, a Node.js webhook receiver, or a static React dashboard — Hostinger handles it.

⚠️ Limitation: Shared hosting isn’t enterprise-grade. If you’re processing thousands of verifications/hour, upgrade to VPS. But for 99% of solopreneurs? More than enough.

For capturing verification flags without backend complexity, Formcarry handles form submissions, routes them to your CRM or email, and triggers alerts. I wired it to flag low-confidence outputs and send myself a Slack notification. Zero custom code. Seriously.

If you want to iterate fast on verification code, test prompts, run scripts, and not fight with local environment setups — Replit is where I prototype everything. Full Python/Node environment in the browser, shareable, deployable. When I’m testing a new Firecrawl scraper or a Perplexity prompt, I’m doing it in Replit first.

Quick-start verification agent you can run RIGHT NOW on Replit:

# verification_agent.py
# Run this on Replit — requires: FIRECRAWL_KEY, PERPLEXITY_KEY env vars
import os
import requests
import jsonFIRECRAWL_KEY = os.environ.get(”FIRECRAWL_KEY”)
PERPLEXITY_KEY = os.environ.get(”PERPLEXITY_KEY”)def run_truth_filter(agent_output: str, source_urls: list = []) -> dict:
    “”“
    Master truth filter for any agent output.
    Returns: verified_claims, flagged_claims, overall_confidence
    “”“
    results = {
        “input”: agent_output[:200] + “...”,
        “verified_claims”: [],
        “flagged_claims”: [],
        “overall_confidence”: 0.0,
        “verdict”: “”
    }
    
    # --- LAYER 1: Perplexity Fact Check ---
    perp_headers = {
        “Authorization”: f”Bearer {PERPLEXITY_KEY}”,
        “Content-Type”: “application/json”
    }
    perp_payload = {
        “model”: “sonar”,
        “messages”: [
            {
                “role”: “system”,
                “content”: (
                    “You are a strict fact-checker. “
                    “Extract all verifiable claims from the text. “
                    “For each, return confidence 0-1 and flag if potentially hallucinated. “
                    “Respond ONLY with JSON: “
                    ‘{”claims”: [{”claim”: str, “confidence”: float, “flagged”: bool, “reason”: str}]}’
                )
            },
            {”role”: “user”, “content”: agent_output}
        ]
    }
    
    perp_response = requests.post(
        “https://api.perplexity.ai/chat/completions”,
        headers=perp_headers,
        json=perp_payload
    )
    
    try:
        perp_content = perp_response.json()[”choices”][0][”message”][”content”]
        claims_data = json.loads(perp_content)
        claims = claims_data.get(”claims”, [])
    except Exception as e:
        claims = []
        print(f”Perplexity parse error: {e}”)
    
    # --- LAYER 2: Categorize Claims ---
    total_confidence = 0
    for claim in claims:
        total_confidence += claim.get(”confidence”, 0)
        if claim.get(”flagged”) or claim.get(”confidence”, 1) < 0.70:
            results[”flagged_claims”].append(claim)
        else:
            results[”verified_claims”].append(claim)
    
    if claims:
        results[”overall_confidence”] = round(total_confidence / len(claims), 2)
    
    # --- LAYER 3: Firecrawl Source Check (if URLs provided) ---
    if source_urls and FIRECRAWL_KEY:
        fire_headers = {
            “Authorization”: f”Bearer {FIRECRAWL_KEY}”,
            “Content-Type”: “application/json”
        }
        for url in source_urls[:3]:  # check max 3 URLs
            try:
                fire_response = requests.post(
                    “https://api.firecrawl.dev/v1/scrape”,
                    headers=fire_headers,
                    json={”url”: url, “formats”: [”markdown”], “onlyMainContent”: True}
                )
                page_text = fire_response.json().get(”data”, {}).get(”markdown”, “”)[:2000]
                results[f”source_{url[:50]}”] = f”Scraped {len(page_text)} chars”
            except Exception as e:
                results[f”source_error_{url[:30]}”] = str(e)
    
    # --- VERDICT ---
    conf = results[”overall_confidence”]
    flagged_count = len(results[”flagged_claims”])
    
    if conf > 0.85 and flagged_count == 0:
        results[”verdict”] = “✅ HIGH CONFIDENCE — Safe to publish”
    elif conf > 0.70 and flagged_count <= 2:
        results[”verdict”] = “⚠️ MODERATE — Review flagged claims before publishing”
    else:
        results[”verdict”] = “🚨 LOW CONFIDENCE — Do NOT publish. Human review required.”
    
    return results
# --- MAIN ---
if __name__ == “__main__”:
    # Test with a sample agent output
    test_output = “”“
    According to a 2024 Stanford study, 87% of remote workers report higher 
    productivity when using AI tools. The nomad economy grew 340% between 2022-2024,
    with 42 million digital nomads globally as of Q3 2025.
    The average monthly income for freelance AI specialists is $8,400.
    “”“
    
    result = run_truth_filter(
        agent_output=test_output,
        source_urls=[”https://news.stanford.edu/2024/”]  # add real URLs
    )
    
    print(json.dumps(result, indent=2))
    print(”\n=== VERDICT ===”)
    print(result[”verdict”])

Here’s the failure pattern I see constantly:

People add verification. But then they let the agent verify itself.

I did this. Built a “smart” fact-checking layer where the same LLM was asked to verify its own output. It worked perfectly. It confirmed every single hallucination it generated. Because from the model’s perspective, the hallucination was internally consistent.

The fix is ruthlessly simple:

  1. Never let an agent be its own judge. Always use an external verification source (live web, scraped URL, human review).

  2. Set a hard confidence threshold gate. Below 0.75? It does not pass. Period.

  3. Require external source validation for any statistic, citation, or named claim.

  4. Log everything. The moment you can’t replay a decision chain, you’re blind.

And one more thing:

Don’t over-verify. I once added 7 validation layers to a simple scraper task. It took 45 minutes per run. The insight: start with one critical check. Scale based on failure patterns, not anxiety.

Q: Do I need coding skills to run this stack? A: Layer 1 (Perplexity + Firecrawl) and Layer 2 (Make.com) are fully visual. Replit handles the code parts if you want to copy-paste the scripts above. Basic logic helps, but nobody needs a CS degree for this.

Q: How much does the full stack cost per month? A: Perplexity Pro (~$20), Firecrawl starter (~$19), Make.com free tier (or ~$9 for core), Hostinger (~$3), SearchAPI.io (~$49 for light use), Formcarry (free tier). Total: $50–$100/month depending on your usage. Compare that to the cost of publishing one fabricated statistic that tanks your domain.

Q: What’s the single most important check if I can only afford one? A: Perplexity Sonar for fact-checking. It’s the highest leverage per dollar. Run your agent output through it before any publication, email send, or client delivery.

Q: Can I use this for YouTube content too? A: Absolutely. In fact, vidIQ plugs into this workflow beautifully — it verifies that your video’s SEO claims (search volume, trend data) are actually backed by real numbers, not hallucinated by your AI script writer.

Q: What if I’m not technical at all? A: Make.com + YourAIAgent.com handles probably 70% of this use case visually. Bolt.new builds the dashboard without you writing a line of code. Start there.

Q: Isn’t this overkill for a solo creator? A: Is publishing fabricated data that gets you flagged by Google overkill? Is sending an email with fake statistics to your list overkill? The verification layer takes 30 minutes to wire once. Then it runs forever.

Q: Will this work in 2027 as models improve? A: Models will get better. But agents taking autonomous actions will also get more powerful — meaning the blast radius of one error gets bigger, not smaller. This architecture scales. The specific tools might change. The principle won’t.

  1. Sign up for Perplexity Pro → get your API key

  2. Sign up for Firecrawl → grab 500 free credits

  3. Fork the verification script above on Replit → run your first truth filter in 15 minutes

Wire the full Make.com scenario:

Total setup time: half a day. Runs forever.

You now have a verified output pipeline. That’s a service.

  • Build a “Verified AI Content” offer for clients

  • Charge a premium because you can prove provenance

  • Use Gamma.app to generate beautiful audit reports

  • Get paid via Wise — multi-currency, near-zero fees, perfect for international clients

No posts