Skip to content
Topics

Dev Environment & Infrastructure for AI Projects

Docker, AWS, VPS, and more — understand the infrastructure AI tools recommend and set up your dev environment.

50 articles

Sort articles to find what you need

Articles in Dev Environment & Infra

AI Says "Use Next.js" — What Beginners Should Actually Know Before Diving In

AI Says "Use Next.js" — What Beginners Should Actually Know Before Diving In

Ask Claude Code or ChatGPT about building a web app and you'll almost certainly hear "use Next.js." React's official docs recommend starting new apps with a framework and list Next.js first — while also showing a from-scratch path for learning React basics. This article covers the three reasons AI recommends Next.js, five decision questions, what the official docs say about fits and misfits (which features run where, static-export limits, monthly security releases), a table of where the line falls, four alternatives (Astro, Vite + React, SvelteKit, HTML), and the five basics and three pitfalls if you use it — checked against the original docs as of October 1, 2026.

What Is Cursor? — The AI Editor: How to Use It and How It Differs From VS Code

What Is Cursor? — The AI Editor: How to Use It and How It Differs From VS Code

In February 2026, Anysphere, the company behind Cursor, passed $2 billion in ARR just three years after its founding. This article explains how Cursor embeds AI directly into a VS Code fork, covering its sub-100ms Tab completion, 272K-token codebase index, and six core features such as Composer, Agent, Cloud Agents, and Bugbot. It also compares five differences from VS Code and four rival AI editors, reviews The X Subscription plans from October 12, 2026, and offers criteria for deciding who should switch, based on facts as of September 2026.

Can You Monetize MCP Servers? 4 Revenue Models, Plus Marketplace Fees and Payout Terms Checked Against the Sources

Can You Monetize MCP Servers? 4 Revenue Models, Plus Marketplace Fees and Payout Terms Checked Against the Sources

Can you make money with an MCP server? Yes, but the MCP spec has no standard for prices, payments or usage metering, so how you get paid has to be chosen outside MCP. The widely quoted "fewer than 5% of 12,000 servers monetize" has no traceable publisher, so we dropped it. Instead, using our own count of the official registry (37,619 servers as of September 30, 2026), the spec itself, and the terms and docs of MCPize (20% fee), Apify Store (80% of revenue minus run costs) and Stripe, we cover four revenue models, marketplace fees and payout terms, how to check named success stories, common failure patterns and a solo developer playbook.

What Is MCP (Model Context Protocol)? — The 16-Month Story of How AI Got Its "USB-C" + Practical Guide

What Is MCP (Model Context Protocol)? — The 16-Month Story of How AI Got Its "USB-C" + Practical Guide

MCP (Model Context Protocol) started as a small spec Anthropic quietly dropped on GitHub. Sixteen months later it had hit 97M monthly SDK downloads (+4,750%), 10,000+ public servers, full adoption by OpenAI/Google/Microsoft/AWS, and in December 2025 Anthropic donated ownership to the Linux Foundation — making it shared industry infrastructure, the "USB-C of the AI era." This article covers the 16-month story, the three-element Client/Server/Transport architecture, five MCP servers you can use today (filesystem/fetch/git/GitHub/Notion), five checks before installing and how to register servers in Claude Code, the 30-line Python minimal DIY implementation, why MCP "won," the security and prompt-injection pitfalls, and what comes next — grounded in official sources and hands-on experience.

How to Save on AI Spend and Tokens — Three Levers: Prompt Caching, Model Choice, Output Budget

How to Save on AI Spend and Tokens — Three Levers: Prompt Caching, Model Choice, Output Budget

Move from a flat-rate plan to usage-based billing and your AI bill can swing widely with how you use it. This article works out the effect of three levers — prompt caching, model choice and an output budget — from the unit prices and multipliers in Anthropic's and OpenAI's official price lists. Cache-read rates vary by model (0.05x input on GPT-6.1 Sol, Opus 5.5, and Sonnet 5.5); Claude's 5-minute cache pays off after one read and the 1-hour cache after two. Sending a 100,000-token prefix to Opus 5.5 ten times drops the input cost from $4.00 to $0.68. Switching from Opus 5.5 to Haiku 5.5 cuts the unit price to 1/40 (for prompts up to 100,000 tokens), and output costs 5x input. Work that can wait costs half through batch. Also covers context management with /compact, the 15x multi-agent token trap, billing alerts, and seven common wasteful patterns.

Will AI Replace Veterans or Juniors First? The Data Says "Seniority Wins"

Will AI Replace Veterans or Juniors First? The Data Says "Seniority Wins"

Many assume routine-work veterans are first in line, but the data says the opposite. Stanford Digital Economy Lab's "Canaries in the Coal Mine?" (first version August 2025, revised August 2026) finds employment of 22–25-year-olds in AI-exposed occupations 19% below where it would be had it kept pace with less-exposed peers, while ages 35–49 in the same jobs grew about 10%. The decline comes from fewer hires, not layoffs, and Anthropic's research sees the same sign in young workers' job-finding. We cover the primary data, the codified-versus-tacit and automation-versus-augmentation explanations, counterarguments such as Yale's Budget Lab, the training-pipeline problem, and strategies for juniors, seniors and companies.

What Is Vibe Coding? Karpathy's "Code You Don't Read" Style and the Production Reality

What Is Vibe Coding? Karpathy's "Code You Don't Read" Style and the Production Reality

Vibe coding, coined by Andrej Karpathy in February 2025, is a development style where you tell an AI what you want in natural language and ship without reading the generated code. A year on, in 2026, Karpathy himself has proposed renaming it to "agentic engineering," while CVEs traced to AI-generated code grew about 6x from January to March 2026 and all five coding agents in one test introduced SSRF. Even so, it has become standard for indie dev, startups, and internal tools. This article covers the definition, the workflow, how Karpathy's position evolved, the leading tools (Claude Code, Cursor, Codex, Lovable, v0, Bolt.new, Devin), the security reality and what to check before publishing, the "Vibe & Verify" operational playbook, and who should vibe code on what — all grounded in the latest data.

What Is a Multi-Agent System? Patterns, Frameworks, and When to Actually Use One

What Is a Multi-Agent System? Patterns, Frameworks, and When to Actually Use One

In 2026, the AI agent conversation has shifted from "one super-agent" to "a team of agents with different roles." Anthropic Research, Claude Code subagents, Devin, and Cursor's parallel workers are all multi-agent. This article covers the definition, the five core architecture patterns (orchestrator, handoff, hierarchical, peer-to-peer, pipeline), a comparison of four major frameworks (Claude Agent SDK / OpenAI Agents SDK / LangGraph / Strands), production examples, the cost structure (Anthropic reports ~15x tokens), when to use it and when not to, and design best practices — all grounded in official sources.

What is Harness Engineering? Designing the Layer Around the LLM in the AI Agent Era

What is Harness Engineering? Designing the Layer Around the LLM in the AI Agent Era

The center of gravity has shifted from prompt engineering to harness engineering — the new battleground of the AI agent era. This article lays out what harness engineering actually is, how it differs from prompt engineering, the six components (tool definition, context management, memory, loop, guardrails, output UX), a side-by-side comparison of Claude Code, Cursor, Codex CLI, and Devin, and a practical design checklist — the foundation you need to use or build AI agents seriously.

Why AI Ignores Rules: Checking CLAUDE.md, Cursor Rules, and AGENTS.md

Why AI Ignores Rules: Checking CLAUDE.md, Cursor Rules, and AGENTS.md

When an AI ignores rules, distinguish instructions that were never loaded from instructions that were loaded but not followed. Learn how CLAUDE.md returns after compaction, how length guidance differs from loading limits, and when AGENTS.md is loaded directly. See how to rewrite ignored rules so compliance can be verified, and the roles and limits of Hooks, CI, AI review, and skills.

What Is Next.js That AI Keeps Recommending? Complete Guide for React Beginners

What Is Next.js That AI Keeps Recommending? Complete Guide for React Beginners

Ask Claude Code or ChatGPT to build a web app and it almost always says "let's use Next.js." But what is Next.js, exactly? Is plain React not enough? This article gives you a complete breakdown — what Next.js is, why AI defaults to recommending it, how it differs from React, what SSR/SSG/ISR mean, App Router vs Pages Router, its relationship with Vercel, and how it compares to alternatives like Nuxt, Remix, and Astro — all updated for Next.js 16.3 (August 2026).

Claude Opus 4.7 Migration Guide --- Breaking Changes and How to Handle Them

Claude Opus 4.7 Migration Guide --- Breaking Changes and How to Handle Them

Claude Opus 4.7 shipped, and migrating from 4.6 comes with several breaking changes: extended thinking (enabled) is gone, temperature/top_p/top_k are gone, the new tokenizer produces up to 1.35x more tokens, thinking content is hidden by default, and prefill is gone. This article walks through every breaking change with Python and TypeScript Before/After snippets, behavioral changes, recommended settings, and a line-by-line migration checklist.