기본 콘텐츠로 건너뛰기

글

라벨이 Developer Tools인 게시물 표시

Structured Outputs (2026): What GPT, Claude, and Gemini Actually Guarantee

Every agent pipeline dies at the same place: the model returns something that looks like JSON and is not quite JSON. A trailing comma, a field renamed between runs, an enum value that came back in title case, or an object that quietly omitted the one key your code dereferences. The fix used to be a stern prompt and a retry loop. In 2026 all three major vendors ship constrained decoding instead: you hand over a JSON Schema, and the sampler is not allowed to emit tokens that break it. OpenAI calls it Structured Outputs and gates it behind strict: true . Claude takes the schema in output_config.format . Gemini takes it in response_format next to mime_type: application/json . Those three sentences hide different contracts: optional fields, enforced versus dropped constraints, what a refusal looks like, and the size at which the API stops accepting your schema. Everything below comes from each vendor's own documentation, read on November 28, 2026. Three contracts for the same promi...

LangGraph vs CrewAI vs OpenAI Agents SDK (2026): Who Actually Owns the Loop

Three libraries, one MIT licence each, and on PyPI today they sit at 1.2.24, 1.15.45 and 0.26.0. All three put a model in a loop with tools and cost nothing to install. Choosing from a feature checklist is how a team rewrites its orchestration layer six weeks in. One question separates them in production: when the model wants a seventh step, whose code decides it happens? LangGraph makes you draw it. CrewAI gives it to a crew of role-playing agents, with a stricter layer for when that is too loose. The Agents SDK hands it to the model and hands you the guardrails. Durability, approvals and the tracing bill follow from that answer. The question, asked three ways Question LangGraph CrewAI OpenAI Agents SDK You write first A state schema, then nodes and edges Agents with a role, goal and backstory, plus tasks A model, instructions and tools Next step decided by Your edges, or a node that routes The crew's process, or a Flow's listener chain The model, until it stops or hands off S...

Context Engineering (2026): What Survives /compact in Claude Code, Cursor, and Codex

You know the session. Ninety minutes into a refactor, the agent edits the migration file you told it never to touch, or re-adds the dependency you removed at minute ten. Nothing crashed. The context window filled, compacted itself, and left your instructions behind. That is not a model quality problem, and a sharper prompt will not fix it. It is a context engineering problem — the difference in 2026 between an agent that finishes a long task and one that loops until you give up. Most specifics below come from vendor documentation checked on November 27, 2026. Context rot is not a bug you can prompt away Anthropic's write-up describes the failure mode precisely. As tokens accumulate, a model's ability to recall any one of them drops; the company calls the cause an attention budget, because transformers build n-squared pairwise relationships that stretch thinner as context grows. The result is a gradient, not a cliff: the model does not stop at some token count, it gets progr...

Modal vs Replicate (2026): What a GPU-Second Actually Costs

Both vendors put the same sentence near the top of their pricing page: you pay only for what you use, by the second. Read that as an invitation to compare hourly rates and you will pick the cheaper number, then be surprised by the invoice three weeks later. The rate is the easy part. The hard part is the boundary of the second, and these two draw it in different places. Modal sells raw compute: you bring a Python function and it runs your container on a GPU with nothing reserved in advance. Replicate sells models: you call a published model by API, or push your own weights and let it host them. What is genuinely comparable between them is the meter — how a machine-hour becomes a line item. Two rate cards, one clear gap Here is what each vendor publishes for the same silicon, as of late November 2026. Meter Modal Replicate Nvidia H100, 80 GB $0.001097/sec ($3.95/hr) $0.001525/sec ($5.49/hr) Nvidia H200 $0.001261/sec ($4.54/hr) $0.001525/sec ($5.49/hr) Nvidia A100, 80 GB $0.000694/se...

Four Agents, One Repo (2026): Worktrees vs Branches vs Cloud Sandboxes

Two agents in one folder is the cheapest way to lose an afternoon. One is mid-refactor in src/api , the second runs the tests and rewrites the lockfile, and the file on disk ends up a merge of two intentions. The models were not the problem. The checkout was. Claude Code, Cursor and Codex have converged on the same answer, a forty-year-old git feature: the worktree. All three inherit the same git rules, including the one that trips people up on day two. Three ways to give an agent its own files Setup What is isolated What still collides One checkout, two sessions Nothing Every file, the index, the port, the build cache Branch switching and stashing Committed history The working tree: a stash pop is a conflict you scheduled Git worktree on one machine Files, HEAD and index per checkout .git metadata, uncopied gitignored files, ports, database Cloud sandbox or VM Files and usually the machine Your local changes, merged back by hand The third row is the sweet spot for solo work. Per ...

LangSmith vs Langfuse (2026): One Bills a Trace, One Bills a Span

Tracing is the cheapest line on your AI bill right up until it isn't. A demo sends a few hundred traces a month and both platforms are free. Then the agent reaches production: it plans, calls four tools, retries twice, gets scored by an evaluator, and someone invites a designer to look at the dashboard. The next invoice is four figures and nobody can say which number moved. Both vendors publish their prices; the trouble is that the two lists count different things. LangSmith bills the trace and the seat. Langfuse bills every span and every score, and no seats at all, so "$39" against "$29" says nothing about your bill. What each platform is actually counting LangSmith: a trace is a run of your application LangSmith defines a trace as a single execution of your application, whether an agent run, an evaluator run or a playground session, and it can contain many steps such as LLM calls and tool calls. You are billed once for that trace, not once per step. The p...

CodeRabbit vs Greptile (2026): Diff Review vs Codebase Graph, and What a PR Costs

A coding agent finishes a pull request at two in the morning. Writing the change was the easy part; deciding whether it is safe to merge is not. Two reviewers own that gate in 2026, and they are built on opposite bets: CodeRabbit reviews the change in front of it with every piece of supporting machinery it can gather, while Greptile indexes the whole repository first and reviews the change against that map. Both changed how they charge this year, so the old advice no longer holds. CodeRabbit renamed its paid tiers into Essentials, Team and Advanced. Greptile's current price list has no seat fee at all: prepay credits at $1 each and let review depth decide how many you spend. Cost has stopped being a headcount question and become a merge-habit question. The bet each one makes CodeRabbit sells breadth. One reviewer runs in the pull request, your IDE, the command line and inside coding-agent loops, and it arrives with company: linter and SAST output, pre-merge checks on titles and lin...

GitHub Spec Kit vs Kiro Specs (2026): Where the Spec Actually Lives

You asked for one feature. The agent opened nine files, rewrote a service layer you never planned to touch, and returned a forty-minute diff. The tests pass, so you approve it, and three sessions later nobody remembers why the retry logic waits 200 milliseconds. That is the failure spec-driven development (SDD) is sold to fix, and 2026 is the year the tooling caught up. GitHub's Spec Kit passed 151,000 stars on one claim: keep the intent in Markdown files the agent reads at every step. AWS's Kiro sells that claim as a product feature — requirements.md , design.md and tasks.md generated in the editor, with a credit meter attached. Both are free to try, and they are not interchangeable. The difference is not output quality. It is where the spec lives, where a human stands, and what happens when code and document stop agreeing. What spec-driven development actually asks of you Write down what the system should do before code exists, then treat that document as the source of trut...

Claude Code Hooks vs Subagents (2026): What Actually Stops a Bad Edit

Ask ten people who use Claude Code daily what stops the agent from editing .env and you get two answers. Half point at their CLAUDE.md . The rest say it has never happened, which is not the same as being protected. Anthropic's documentation says the quiet part out loud: an instruction like “never edit .env ” in CLAUDE.md or a skill is a request, not a guarantee, and a PreToolUse hook that blocks the edit is enforcement. That sentence separates the two features people keep confusing. A subagent is a worker with its own context and judgment. A hook is a script that runs whether the model agrees or not. Neither substitutes for the other. Here is which does what, four ways hooks fail open, and a two-layer gate that costs about a cent per review. The difference in one line A subagent decides. A hook happens. When you write a subagent, you write a description , and Claude decides at runtime whether a task matches it: “Claude uses each subagent's description to decide when to deleg...