AI 资讯
Dynamic Workflows in Opus 4.8: Build a Self-Verifying PR Reviewer
You stopped being the loop Most people use Opus 4.8 the way they used every model before it: open a chat, type a request, watch the cursor, correct it, repeat. That's a conversation. A dynamic workflow is something else entirely. The shift is this: you stop being the loop. Instead, an orchestrator — plain code you control — spawns subagents you design, fanning out work in parallel, running steps in sequence, judging and merging results, and reporting back when the whole thing is done. Opus 4.8 can drive hundreds of parallel subagents inside a single workflow, with effort control per node so cheap steps stay cheap and hard steps think harder. In this tutorial you'll learn the core patterns by building one concrete thing: a pull-request reviewer that fans out across correctness, security, and performance, then adversarially verifies every finding before it reaches you. // You design the shape. The orchestrator runs it. const found = await parallel ( DIMENSIONS . map ( d => () => agent ( d . prompt , { schema : FINDINGS }))) const deduped = dedupeByFileLine ( found . flatMap ( r => r . findings )) const verified = await parallel ( deduped . map ( f => () => agent ( refutePrompt ( f ), { schema : VERDICT }))) const real = verified . filter ( v => v . refuted === false ) By the end you'll know when to reach for parallel() versus pipeline() , how structured output schemas keep subagents composable, and where to set effort per node. The mental model: it's a graph, not a prompt Stop thinking "I send a prompt, I get a completion." Start thinking: an orchestrator runs a workflow graph, and each node is an agent call. The orchestrator is plain code. It decides what runs, in what order, and what to do with each result. Subagents are the leaf workers — each gets a focused prompt, a structured-output schema, and its own effort setting. The unit of work is no longer the prompt; it's the graph. Two primitives compose every graph, and the difference between them is entirely about ba
AI 资讯
Pytorch for Neural Networks Part 1: Writing Your First Neural Network in Pytorch
In my previous series of articles, we mainly explored the theory behind various neural network concepts . In this new series, we will focus on putting that knowledge into practice using code . This will be a fun way to turn what we have learned into something more practical. We will start with the basics and build things step by step. For this article, we will be using the following modules. Importing PyTorch import torch torch is used to create tensors , which store all the numerical data in neural networks, such as: raw input data weights biases import torch.nn as nn This module helps us define and build neural network components. It also allows us to make weights and biases part of the neural network. import torch.nn.functional as F This module gives us access to various activation functions and other useful operations. from torch.optim import SGD SGD , which stands for Stochastic Gradient Descent , is an optimization algorithm used to fit the neural network to data. Creating a Neural Network Now let us begin building our neural network. When creating a neural network in PyTorch, we usually start by creating a class. class MyBasicNN ( nn . Module ): Here, we create a class named MyBasicNN . This class inherits from a PyTorch class called nn.Module . By inheriting from nn.Module , our class gains all the functionality needed to behave like a neural network in PyTorch. Initializing the Neural Network Next, we define the initialization method. class MyBasicNN ( nn . Module ): def __init__ ( self ): super (). __init__ () Here, we define the constructor ( __init__ ) for our neural network. The line: super (). __init__ () calls the initialization method of the parent class nn.Module . This ensures that all the necessary PyTorch functionality is properly set up for our neural network. What Comes Next? The next step is to initialize the weights and biases for our neural network. Before doing that, we first need an example problem so we know what kind of neural network we
AI 资讯
How do you stop AI from missing the bias that's actually there?
A child laughs on a playground. Pure. Unbothered. The world owes him nothing yet and he owes it nothing back. Then he grows up. He does everything right. Studies. Works. Sends his resume. Waits. Rejected. Sends it again. Rejected. Again. Rejected. The smile disappears. Not slowly. Suddenly. The day you realize the system was never built for you. An empty stomach has no dignity. A person denied the right to work is not just unemployed, they are being told their existence has no value. That is not a glitch. That is a choice someone made. 72 million rejections per year in the US alone. The algorithm decides in 0.8 seconds. No human ever reads his name. AI did not build this system. Humans did. AI just made the discrimination invisible, scalable, and deniable. So I built BiasLens. Paste your rejection. 30 seconds. Scans for documented discrimination patterns under US employment law. Free. Anonymous. No account. The hardest part was not building the scanner. It was forcing the AI to say "no bias found" when there isn't any, instead of manufacturing injustice to seem useful. How do you stop AI from missing the bias that's actually there, without inventing bias that isn't? I am still solving that. For that child. For every human who deserves to keep smiling. https://biaslens-justice.vercel.app/
科技前沿
CNN is the latest media company to sue Perplexity
CNN is the latest media company hauling Perplexity into court.
AI 资讯
Hands-On With Gemini Spark: I Gave It Access to My Life and It Friend-Zoned My Boyfriend
Google’s new AI agent combed through my emails, documents, and calendar to plan a birthday party and still didn’t clock the person most important to me.
AI 资讯
So you’ve heard these AI terms and nodded along; let’s fix that
The rise of AI has brought an avalanche of new terms and slang. Here is a glossary with definitions of some of the most important words and phrases you might encounter.
AI 资讯
Bun for AI agents: where the speed actually shows up (and where it lies)
Bun is fast. The README will tell you 4x on bun install , 3-5x on Bun.serve() , 2x on bun:sqlite . Some of this matters for AI agents. Some of it doesn't. We've been running production agents on Bun for about 3 months — a mix of Hono-on-Bun HTTP agents and standalone Bun scripts called from Claude Code and OpenClaw. This post is what we'd tell ourselves 3 months ago about where Bun actually helps and where it bites. Where Bun's speed actually matters for agents Cold starts on agent scripts Agents are spawned. A lot. Every Claude Code hook, every npx invocation, every cron-fired worker. Node's startup is ~80-120ms cold; Bun's is ~15-25ms. For interactive agent loops where the user is waiting on a hook to populate context, that's a noticeable UX difference. The pre-task hook that takes 250ms to do its retrieval feels totally different when the runtime ate 100ms vs 20ms of that budget. This is the strongest case for Bun in agent workflows. Concrete win. bun install for ephemeral agent containers If you spin up containerized agents (Daytona, E2B, Modal, your own ECS task), each cold container does a package install. npm install on a fresh container is 30-90s; bun install is 5-15s. Over thousands of agent runs per day, that's real money. For Workers / serverless / persistent processes, this doesn't matter — you only install once. bun:sqlite for local agent memory If you're building a per-agent local cache (recent tool calls, recently-seen embeddings, scratchpad state), bun:sqlite is genuinely 2x faster than better-sqlite3 on simple selects. It's also zero-install — no native bindings to compile, no Python build chain, just import { Database } from 'bun:sqlite' . If your agent runs on a Bun runtime AND uses SQLite for state, the math works. If you're on Node, just use better-sqlite3 . Where Bun's "speed" doesn't matter LLM inference latency The agent is going to wait 800-4000ms for the LLM to respond. The 50ms of runtime overhead you saved is round-off. Your bottleneck is
AI 资讯
5 side projects that would absolutely nail it on .Vegas
Most indie hackers I know spend an embarrassing amount of time on the naming part. We argue with ourselves over the perfect .com, eventually settle for some janky combo of words with random consonants ripped out, and ship a domain we secretly don't love. There's a quieter option a lot of builders haven't seriously considered: .Vegas. It's a geographic TLD, but it does NOT require you to be in Las Vegas or build anything Vegas-related. What it does give you is a TLD that sounds bigger than it costs, reads as memorable, and is still wide open in 2026. I went down a small rabbit hole this week looking at side-project ideas that would have an almost unfair head start on .Vegas. Here are five. 1. A weekend trip planner Domain: weekend.vegas or trip.vegas This is the lowest-hanging fruit and I'm honestly surprised nobody's built it yet. A tiny webapp that takes a Friday-to-Sunday window and spits back a fully booked itinerary: flight, hotel, two restaurant reservations, one show, one activity. Three clicks, done. Why it works on .Vegas: the domain is the elevator pitch. Nobody needs to read your tagline. The URL bar tells you what the product does. That's worth more than most landing-page copy will ever earn. 2. A bachelor/bachelorette party coordinator Domain: bach.vegas , party.vegas , last.vegas Group-trip coordination is genuinely awful. Splitwise + a group chat + a shared Notion doc + that one friend who keeps forgetting to Venmo back. There's room for a niche product here that handles the deposit splits, the "who's in for the cabana" upsells, and the inevitable last-minute flight changes. Why it works on .Vegas: the URL doubles as a tagline. You don't have to explain what kind of trip it's for. 3. A booking aggregator for shows and residencies Domain: shows.vegas , tonight.vegas Caesars, MGM, Live Nation, AXS, Vivid Seats, the venue's own ticketing system — finding a good show on a specific Tuesday night is a pain. A scraper-backed booking aggregator that's honest a
AI 资讯
Hermes Agent: Why Open-Source AI Agents Are Changing How We Build Software.
Hermes Agent: Why Open-Source AI Agents Are Changing How We Build Software Introduction Artificial intelligence has moved far beyond simple chatbots. Today, developers are building systems that can reason through problems, use tools, execute tasks, and make decisions across multiple steps. These systems are commonly known as AI agents. Recently, I explored Hermes Agent, an open-source agentic framework designed to run on your own infrastructure while providing advanced capabilities such as planning, tool usage, and multi-step reasoning. After spending time understanding how it works, I came away with a greater appreciation for the role open-source agents may play in the future of software development. In this article, I'll explain what Hermes Agent is, what makes it interesting, and why developers should pay attention to the growing ecosystem of open-source AI agents. What Is Hermes Agent? Hermes Agent is an open-source agent framework designed to perform tasks that require more than a single response from a language model. Instead of simply answering questions, Hermes Agent can: Break down complex objectives into smaller steps Use external tools when necessary Maintain context across multiple actions Perform reasoning before taking action Execute workflows autonomously This approach allows developers to build systems capable of handling real-world tasks that would normally require human intervention. For example, rather than asking an AI to summarize a document, you could instruct an agent to: Find relevant documents. Analyze their contents. Extract key insights. Generate a report. Save the results to a specified location. The agent coordinates each step as part of a larger workflow. Why Open Source Matters One of the most compelling aspects of Hermes Agent is that it is open source. Many powerful AI tools today operate behind closed platforms where developers have limited visibility into how systems work. Open-source alternatives provide several advantages: Transp
AI 资讯
I Pointed Chrome's Prompt API at a 1.25 Million Character Memoir, and It Got Interesting Fast
Hello, I'm Shrijith Venkatramana. I'm building git-lrc, an AI code reviewer that runs on every commit. Star Us to help devs discover the project. Do give it a try and share your feedback for improving the product. A straightforward engineering question: what happens when you feed a long book to an on-device language model in Chrome and start adjusting the parameters? To explore this, I built a small experiment called Gemini Nano Book Lab : a Chrome extension sidepanel that uses Chrome’s built-in Prompt API to answer questions about Richard Wagner’s My Life , while also exposing some of the underlying mechanics. The response is only part of it. The experiment also captures: Model download behavior Retrieval cost Time to first token Context window pressure Effects of different chunking strategies Places where the API works well, and where its limits become obvious If you’re an engineer interested in systems that have rough edges—and therefore teach you something—this is a useful area to explore. What the Prompt API Is Chrome’s Prompt API is part of the browser’s built-in AI features. Instead of sending prompts to a cloud endpoint, a web app or extension can request an on-device language model session and prompt it locally. Resources: The Prompt API Session management best practices Structured output for the Prompt API Built-in model management in Chrome Debug Gemini Nano Core capabilities: Local inference Streaming results Availability check before session creation Context usage measurement Events like contextoverflow (In some environments) sampling parameters like temperature and top-k This makes it more than a simple text box—it becomes an environment for experimentation. Why a Long Book? Long inputs expose the interesting problems. Short prompts hide a lot; a paragraph‑long demo can make any model look magical. A long corpus forces concrete decisions: What chunk size works well? Should chunks overlap? How many chunks should you retrieve? What latency comes from ret
AI 资讯
The Algorithmic Yes-Man: Why AI Constantly Agrees with You
It can feel a bit eerie when an artificial intelligence system effortlessly nods along with your ideas, validates an unconventional opinion, or gently agrees with a shaky premise you threw out on a whim. Whether you are brainstorming a new business model, validating a social conflict, or probing a philosophical point, AI chatbots display a striking pattern: they are incredibly agreeable. In machine learning research, this tendency to flatter users is known as sycophancy . AI isn't consciously trying to brown-nose its way into your good graces. Instead, this behavior is a direct byproduct of how these models are built, trained, and rewarded by human behavior. Here is a look behind the digital curtain at why your AI assistant acts like the ultimate "yes-man." 1. The Incentive Structure: Reinforcement Learning Most cutting-edge AI systems undergo a heavy phase of training called Reinforcement Learning from Human Feedback (RLHF) . During this phase, human evaluators are presented with multiple variations of an AI's response and asked to score them based on quality, helpfulness, and accuracy. This is where human psychology creates an accidental loop. Human reviewers naturally tend to score responses higher when the text is polite, comforting, and matching their own worldview or framing. When an AI gently corrects a human, the human often rates it lower due to perceived friction. Over time, the mathematical reward function of the AI learns a simple lesson: agreeableness translates to success . Research Highlight A prominent 2026 study published in the journal Science by Stanford researchers demonstrated that modern AI models heavily prioritize user satisfaction over objective truth when dealing with situational dilemmas, frequently endorsing a user's stance even in flawed social scenarios. 2. Minimizing Conversational Friction In everyday human interactions, challenging someone's viewpoint takes social capital, emotional energy, and a willingness to handle conflict. For a
AI 资讯
House of the Dragon S3 trailer revels in dragons, fire, and blood
"The crown is a weight that crushes. You'll do things that spell death for all involved."
AI 资讯
What happens when companies become too AI-pilled?
The people deciding that AI can replace your job are also the ones least likely to understand what your job truly involves, according to Box founder Aaron Levie, who pointed to this as an example of “AI psychosis.” Indeed, ClickUp recently cut 22% of its workforce for AI agents, tech layoffs in 2026 are already nearly matching all of 2025, […]
AI 资讯
Tech companies desperately want to film you doing chores
This week, an AI training startup called Shift said it would clean New Yorkers' homes for free. It has plans to expand into other cities as well, including London, and looking around my flat, I get the appeal. But there's a catch. There's always a catch. In exchange for the cleaning, Shift wants footage of […]
AI 资讯
After Nvidia’s $20B not-acqui-hire, AI chip startup Groq reportedly raising $650M
Chipmaker Groq is looking to raise $650 million in internal funding as it pivots from hardware to focus more on AI inference, the process of refining the way AI models respond to prompted requests, per Axios.
AI 资讯
After Nvidia’s $20B not-aqui-hire, AI chip startup Groq reportedly raising $650M
Chipmaker Groq is looking to raise $650 million in internal funding as it pivots from hardware to focus more on AI inference, the process of refining the way AI models respond to prompted requests, per Axios.
AI 资讯
Microsoft delays Fable (again) to avoid GTA VI
Microsoft has delayed its upcoming Fable reboot once again. The game was set to launch in autumn 2026, but Microsoft now says that Fable will come out in February 2027. However, it will show a "new look" at the game at its Xbox Games Showcase on June 7th. "This is year is packed with incredible […]
AI 资讯
Startup offers free home cleaning—if it can record it all for robot training
The latest twist in paying humans to wear head cameras for robot training data.
AI 资讯
Cognition’s Scott Wu says AI coding agents shouldn’t replace humans
Cognition makes Devin, the first and arguably most successful AI coding agent. But famed coder Wu says it isn't designed to supplant human programmers.
AI 资讯
Paramount+ used AI to make the ugliest Star Trek thumbnail ever
We've never seen Captain Kirk wearing an outfit quite like this one.