Why I'm Skipping Claude Duet
This week I was looking into system design, and one idea stuck with me. Start from the users and customers, then work backward all the way to the tech stack. Picking the database before you’ve met a single customer is how you build a very scalable app for nobody.
This issue covers two weeks, since there was no issue last week. Inside, Claude Duet and why I’m skipping it, the Railway breach that froze Tradion’s deploys, a new Claude API version, a poisoned LiteLLM release, Claude’s web search called directly, five repos, a fix for databases left open to the internet and one app idea.
Talk of the Town
Anthropic released Claude Duet on October 21 as a research preview. It’s an assistant that works in the background instead of waiting for you to type. It watches your email, calendar and other apps, sends you a morning brief, flags what needs you, and drafts replies you approve before anything goes out. It can also build a deck or a dashboard from what it finds.
It runs on Opus 5.5 and works with more than 6,000 connectors and plugins. A connector is a link that lets Claude read one of your apps. MacRumors reports that it works on its own virtual machine with its own browser, checks your apps every few hours, and asks before it sends a message, pays for something, signs a document or deletes a file.
For now it’s a waitlist for Pro and Max subscribers in the US, on the mobile app and at claude.ai. Team and Enterprise plans aren’t in yet.
It blew up fast. It reached 565 points on Hacker News, TLDR AI led its October 22 issue with it, and it made the rounds on r/ClaudeAI and r/singularity. MacRumors framed it as Anthropic’s answer to Meta’s Muse agent and OpenAI’s Dots agent.
The appeal is easy to see, an assistant that does the inbox triage you keep putting off and still asks before anything goes out. The pushback is about access and limits. It’s a US-only waitlist, and Duet shares your plan’s usage limits, so every background check spends the same allowance you use for chat and Claude Code.
Ecosistema Startup called that the tension, the more useful it gets, the faster it eats your plan. Even Anthropic’s own page warns it “may misread a thread or miscalibrate what’s urgent.”
I haven’t tried it, and I don’t plan to. My Claude plan goes to Claude Code, and Duet’s background checks count against the same limits.
I’d rather spend them on code than on my inbox. My inbox has never shipped a feature. Still, it’s the launch everyone talked about this week, so it’s worth knowing what it does even if you skip it.
This Week in AI
Railway breach
On October 21, Railway, the cloud platform that deploys your app from a Git push, disclosed a breach. From October 20, an attacker escalated privileges inside Railway’s build infrastructure, pulled encrypted secrets, then CI credentials, and went after AI and platform API keys. Railway says at most 1.85% of workspaces, about 100,000, may have had their environment variables exposed, and it told customers to roll every variable right away.
Environment variables are where most apps keep their API keys and database passwords, so this reaches well past Railway. Running apps stayed online, but Railway paused new builds and deploys, revoked every access token, and only fully reopened deploys late on October 22.
Tradion runs on Railway. The app stayed up, but every deploy and update was blocked for about two days. That’s on them, and they still haven’t said how the attacker got in.
→ Railway’s preliminary report
Claude API version 2026-10-21
Anthropic shipped Claude API version 2026-10-21, the first new version since 2023-06-01. The new SDKs, the official libraries you call the API with, now default to it, including Python SDK 2.0.0 and TypeScript SDK 1.0.0. In the new version, temperature, top_p and top_k, the settings that control how random answers are, return a 400 error even at their default values. Text Completions is gone from the SDK, and the SDKs and CLI move from the MIT license to Apache 2.0.
Requests on 2023-06-01 keep working, so nothing changes until you move to the new SDK. Then any code that sets those three settings fails. Claude Code v2.1.307 adds /claude-api api-version to move your code over.
Upgrade on a branch, not on a Friday. Search your code for temperature, top_p and top_k first, because the new SDK turns all three into errors. It’s worth trying now, just not on main.
LiteLLM hacked on PyPI
LiteLLM is a Python library that lets one app call many AI providers through one interface. On October 21, an attacker used three developers’ stolen GitHub CLI credentials to push version 1.107.0 through LiteLLM’s own release pipeline, which built, signed and published it. Seven malicious wheels, Python’s ready-to-install packages, sat on PyPI for about 1 hour 45 minutes, and the Docker tags v1.107.0, latest, main-latest and main-stable were bad until 14:20 UTC.
It stole SSH keys, cloud and CI/CD credentials, AI tool tokens, browser passwords and LLM provider keys, and left a backdoor in sitecustomize.py. It came through the project’s real pipeline, signed, so it looked like any other release.
If anything you run installs litellm without a pinned version, check it today. Pin 1.106.2, meaning lock it to that exact version, and look for cook.pth in site-packages.
Workflows & Hacks (Steal This!)
Steal #1. Claude’s web search, called directly
What it is. Claude’s API has two built-in tools, web search and web fetch, that Anthropic runs for you. You list them in your request, and Claude searches or reads a page mid-answer, with no search API of your own. Tradion’s Portfolio Analyst used Brave for search until October 16. I moved it to these two tools because the rest of Tradion’s AI already runs on Claude, and one system beats two. There’s no separate Brave bill now, though Claude’s searches aren’t free either.
The newest versions run through dynamic filtering by default, where Claude writes code to trim results before reading them. When I tested both on Sonnet 5.5, calling the tools directly returned citations and ran 2 to 3 times faster.
How to install. Nothing to install beyond the Anthropic SDK. Add both tools to the tools list in your request and set allowed_callers to ["direct"], which turns dynamic filtering off. max_uses caps how many searches or fetches one request can make. The web search docs have full examples in every SDK.
How to use it. Ask a question that needs the web. Search results always come back with citations. Fetch only reads URLs that are already in the conversation, so put the page link in your message or let a search find it first. If a long turn stops with pause_turn, send the paused reply back unchanged and Claude carries on.
The artifact.
"tools": [
{
"type": "web_search_20260318",
"name": "web_search",
"allowed_callers": ["direct"],
"max_uses": 5
},
{
"type": "web_fetch_20260318",
"name": "web_fetch",
"allowed_callers": ["direct"],
"max_uses": 5
}
]
Watch out for. Reading whole pages costs more. When I asked it to read two named pages, the direct call took 6 seconds and about $0.078, while dynamic filtering took 18 seconds and about $0.033, because direct puts the whole page into context. Search also costs $10 per 1,000 searches on top of tokens.
Builder Radar
- DeepInfer is DeepSeek’s open-source inference framework for its own models, Apache 2.0, built to serve DeepSeek-V4.1-Flash on NVIDIA SM100 or Huawei Ascend 950 hardware. It hit 2,347 points on Hacker News, and it’s a rare look at how a lab serves its own models.
- Omnara is a self-hostable alternative to Claude Managed Agents and OpenAI’s Agents API, Apache 2.0, running on Docker Compose. Hosted agents are easy until you want the data on your own servers.
- Corgi is a terminal multiplexer, one window that holds many terminal sessions, built for people and coding agents. It runs Claude Code, Codex, Pi and OpenCode on macOS, Linux and WSL. For everyone whose agent tabs stopped fitting on the screen.
- rederive is a Claude Code skill that teaches you a codebase by making you re-derive its design decisions yourself, MIT. Reading code tells you what it does. Working out why it was built that way is how you own it.
- BeautifulRust is a Claude Code plugin that teaches Claude to write idiomatic Rust, with write, review and port skills plus a clippy config (Rust’s linter), MIT. Rust is on my stack list, and a review skill plus a linter config is a cheap way to keep generated Rust honest.
Fix it before you ship
Your database is taking calls from the whole internet
A lot of AI-built apps ship with the database reachable from the public internet. It’s often left over from setup, when a public address made the first connection easy. After that, anyone who finds the address can try passwords on it, and one leaked password is your whole database. Railway told every customer to remove public network access to databases after its breach.
- Point your app at the database’s private address. On Railway that’s
<service-name>.railway.internal, which only services in the same project and environment can reach. - Delete the database’s public address. On Railway, open the database’s Settings, then Networking, and remove the TCP proxy.
- Change the database password, then update it everywhere the app uses it.
- Reach the database from your own computer through a tunnel, not a public port. On Railway,
railway connectopens one over SSH.
Check how this app connects to its database and lock it down before
launch. First list every database the app uses, and for each one report:
host | reachable from the public internet (yes/no) | where the connection
string is set. Change nothing until I approve. Then point the app at the
hosting platform's private network address for each database (on Railway,
SERVICE_NAME.railway.internal), and tell me exactly which public address
or TCP proxy to remove in the platform's dashboard. Remind me to change the
database password afterwards and to update it everywhere it is used. Never
print a password or a full connection string.
App Ideas
Here’s an app idea from my week. I load tested Tradion on October 16 and 17 to get ready for a sudden rush of traffic, and one web process handled 300 heavy users at once with no errors. Every app should get that answer before launch, not during it.
I want a tool that records real sessions from your app, replays them as hundreds of users against a local copy with outside services faked, and tells you what breaks first. It’s for solo developers and small teams who’d rather find their limit before their users do.
How I’d build it with Claude. Plain code records, scrubs and replays the sessions, fakes the outside services, and measures every response time and error. Claude reads the results, names the first bottleneck in plain English, and writes the report.
Interview & Sketch prompt.
I want to design a "load test in a box" tool for my web app. It records
real user sessions (the requests a real visit makes, in order, with
timing), scrubs anything private, then replays them as hundreds of users
at once against a local copy of my app, with outside services like
payments, email and AI APIs replaced by fakes. Then it reports where the
app breaks first: slowest endpoints, first errors, CPU and memory, and the
user count where it fell over. Before sketching anything, interview me one
question at a time about my own setup: my stack and how I run it locally,
which outside services I call, how users log in, what a heavy session
looks like in my app, where I host production, and how many users I
expect at launch. Keep going until you can design around my real app, not
a generic one. Then sketch an architecture: how to record and scrub
sessions, how to replay them with realistic timing, how to fake each
outside service, what to measure, how to find the first bottleneck, and
how to compare one run with the next. Give me the answer as a numbered
list of implementation phases.
Demo/Mockup prompt.
Build a dummy-data prototype called "Stampede", a tool that replays real
user sessions against a local copy of a web app and shows where it breaks
first.
## Design & Theme
- Dark theme, near-black background, off-white text
- One accent color for "broke here" and nothing else colorful
- Clean sans-serif UI font, monospace for timings, counts and endpoints
- Minimal and calm. No gradients, no glow, no emoji, no bubbly cards
- Desktop-first, works on a laptop screen at minimum
## Pages
### 1. Overview (/)
- Top bar: app name, recorded session count, "Start run" button with a
user-count picker (50, 100, 300, 1,000)
- Four headline cards: users reached before the first error, slowest
endpoint (p95 time), error rate at peak, peak CPU and memory
- A line chart of response time (p50 and p95) and error rate as simulated
users climb, with a marker where the first error appeared
- A "Breaks first" panel that names the first bottleneck in plain English
### 2. Sessions (/sessions)
- A table of recorded sessions: ID, length, request count, pages visited,
recorded date, scrubbed (yes/no)
- Click a session to see its requests in order, with method, endpoint,
status and the gap before the next request
### 3. Run Detail (/runs/:id)
- Run settings: users, ramp-up time, duration, faked services
- A table of endpoints sorted by p95 time: calls, p50, p95, errors
- An error list grouped by type, with first-seen time and user count
- CPU, memory and database connections over time
### 4. Fakes (/fakes)
- One card per outside service (payments, email, AI API, market data),
each with its fake response, added delay and failure rate (editable)
### 5. Compare (/compare)
- Two runs side by side: users reached, p95 per endpoint, errors, and the
change since the last run
## Important Notes
- Prototype with dummy data only, no real backend, no real traffic
- All data hardcoded to look like a real run (realistic endpoints,
timings, session IDs, dates)
- Make navigation between the five pages work
- Make "where does my app break first, and at how many users" obvious at
a glance
Build it? Hit reply.
Build & Experiment Log
- Building. Tradion Flow, a new section with market and option chain heatmaps, a live options screener, a live options tape, a dark pool tab and gamma exposure.
- Tried. Opus 5.5 for reading broker files in Tradion. Gemini 2.5 Flash retired on October 20, so the move was planned, and Opus reads them better. A typical upload costs about $0.02 for one trade to $0.88 for 200.
- Broke. Nothing on my side, but Railway’s breach froze Tradion’s deploys for about two days. More in This Week in AI.
- Learned. Build for scale from the start, even when your traffic and users aren’t where you want them yet, so you’re ready when the rush hits.
- Next week. More Tradion updates, plus more guides and tutorials.
From the Blog
- Keras in Python, Rebuilding My 2020 Notebook (Step by Step). Keras in Python in eight steps. Predict California house prices with a small neural network, beat linear regression, then save the model the Keras 3 way.
- How to Run Django in Docker With PostgreSQL (Step by Step). Run Django in Docker with PostgreSQL, Gunicorn and Compose. A tested Django Docker setup in 12 steps, plus staging and production on one machine.
- GitHub Workflows for Python and Django (Step by Step). Learn GitHub workflows by building real CI for a Django app. Tests on every pull request, PostgreSQL, a Python matrix, Docker checks and a release.
- Pandas read_csv for Messy CSV Files (Step by Step), refreshed. Pandas read_csv, step by step on a messy real-world export. Fix encoding errors, lost leading zeros, swapped dates and bad rows, tested on pandas 3.1.
- GitHub Actions Self-Hosted Runner on Ubuntu (Step by Step). Set up a GitHub Actions self-hosted runner on Ubuntu. Register it, run it as a service, add Docker, switch CI to it with one variable and lock it down.
P.S. Forward this to a friend who builds. Read it on the web at Why I’m Skipping Claude Duet.
Thank you for reading!
Hit reply and tell me, what are you building?