AI Tutorials & Practice
收录 AI 工具教程、提示词、安装部署、配置指南、开发实战与可复现步骤。
Category articles7372
当前页21 / 185
UpdatesPermanent archive
Category articles
按发布Time从新到旧 · 每页 40 stories
TutorialsOrdinary
My Agent Gave the Right Answer. Then It Wrote Down That It Was Wrong.
On October 31 at 15:15 Eastern I asked my agent about something that never happened. It was a planted...
Source: DEV Community
TutorialsOrdinary
The Postcard That Ate Six Grammars: 1980 Smalltalk-80, 1976 Make, TDD, and the Four Attractors of Agentic Coding
Why maintaining six separate parsers for Make, Gherkin, EBNF, DOT, SysV, and prompt checklists collapsed into a single Smalltalk-80 keyword cascade—and how 40-year-old Xerox PARC technology gave AI coding agents mathematical zero-amnesia.
Source: DEV Community
TutorialsOrdinary
How to meter Claude API costs per user in a Next.js SaaS (with code)
Record every Claude API call per user, convert tokens to dollars with the official Claude 5.5 prices, enforce plan caps, and show a usage page. Drizzle + Postgres + the Anthropic TypeScript SDK.
Source: DEV Community · Claude
TutorialsOrdinary
I built a vibe-coded app with planted keys. Here's what leaks from the outside and how to fix it.
AI tools make it easy to ship an app in an afternoon. They also make it easy to ship your secret keys...
Source: DEV Community
TutorialsOrdinary
My coding agents keep running into problems we’ve already found
My coding agents keep running into problems we’ve already found On November 1, my coding...
Source: DEV Community
TutorialsOrdinary
The model that wouldn't be forced
My structured output worked by forcing Claude to call a tool that didn't exist. Opus 5.5 stopped playing along, and the fix was to stop doing the trick.
Source: DEV Community · Claude
TutorialsOrdinary
Your model card says 128k. The machine serving it picked 4k.
I got this one wrong first, and the reason is worth more than the correction. I assumed the...
Source: DEV Community
TutorialsOrdinary
Building a 5-seat Outstanding Tiny Desk AI generator: only re-render the shots you're in
The "Outstanding" Tiny Desk AI meme puts you and your friends into Charlie Wilson's 2023 Tiny Desk...
Source: DEV Community
TutorialsOrdinary
What a week of building a kid-safety guard on a laptop GPU taught me about measuring small models
This is a submission for the MLH x DEV Writing Challenge What I Built Night Guard is an...
Source: DEV Community
TutorialsOrdinary
ShengChang: Import a Novel Chapter, Get a Mixed Radio-Drama Episode
ShengChang is an MIT-licensed, local-first workbench that turns a novel chapter into a multi-voice radio-drama episode: line breakdown, dire
Source: DEV Community
TutorialsOrdinary
How to stop prompt injections and AI hallucinations at the OS level (CBS v1.6.2 release)
Disclosure: I am the author of Cyber-Butler-Security (CBS). If you run AI Agents (like DeepSeek...
Source: DEV Community · DeepSeek
TutorialsOrdinary
Building an Authorization Gateway for AI Agents: A Practical Architecture
AI agents are increasingly capable of interacting with external APIs and enterprise systems. But...
Source: DEV Community
TutorialsOrdinary
My 'Second Backend' Existed Only in the README
The release gate said "two OTel backends proven." The check proving it ended in || true. It had been...
Source: DEV Community
TutorialsOrdinary
How I built a music companion that plays in your own culture
Live demo: reach-6o5x.onrender.com (press Guided tour, top right) · Code:...
Source: DEV Community
TutorialsOrdinary
The New York Times Sues Brave Over Alleged Scraping and AI Content Sales
The New York Times has filed a copyright infringement lawsuit against Brave Software, alleging that...
Source: DEV Community
TutorialsOrdinary
Fine-tuning a 322M Model for Coding Agent Safety: What 3 Runs and 2 Failures Taught Me
laya-guard sits between a coding agent and your shell. Every command Claude Code (or Cursor, Codex,...
Source: DEV Community · Claude / Cursor
TutorialsOrdinary
Gemini CLI's mkdir Failed, the Agent Kept Going, and Each move Overwrote the Last File
Gemini CLI's mkdir failed, the agent kept going, and on Windows each move renamed a file over the last. Reproduce it safely, then make it an undo.
Source: DEV Community · Gemini
TutorialsOrdinary
Last week in Agent Security Update 5: The Pentagon Prompts
Last week I spoke at API Days in Melbourne, where I gave a talk on the OWASP Top 10 for Agents and...
Source: DEV Community
TutorialsOrdinary
DevRel Didn't Die, Its Audience Changed
Most evenings I put my agents to the test. I've been experimenting with a lot of stuff lately, and...
Source: DEV Community
TutorialsOrdinary
Use it, or lose it 🧠
Fayaz reminds everyone why we should keep doing deep intellectual and creative works.
Source: DEV Community
TutorialsOrdinary
Warp's Breach Reached Agent Decision Logs. What One Agent Trace Actually Contains
Warp says a vendor breach reached agent decision logs for roughly 1% of users. Here is what one local Claude Code trace holds, checked with jq and grep.
Source: DEV Community · Claude
TutorialsOrdinary
A guardrail that decides at the door lets the intruder walk in later
I report security bugs in AI-agent guardrails, and I keep finding the same shape of bug. This is...
Source: DEV Community
TutorialsOrdinary
I benchmarked my own agent skill, and today's Claude barely needed it
I wanted to write an agent skill that makes coding agents better at data analysis. The kind of...
Source: DEV Community · Claude
TutorialsOrdinary
UK CMA Requires Google to Provide AI Search Click Data to Publishers
The UK Competition and Markets Authority (CMA) has required Google to give publishers more detailed...
Source: DEV Community
TutorialsOrdinary
Building a Production RAG Pipeline on AWS: Bedrock Knowledge Bases, OpenSearch Serverless, and Terraform
Most RAG tutorials stop at a notebook demo. I built a production pipeline — Bedrock Knowledge Bases, OpenSearch Serverless, S3 ingestion, Lambda query API, and CloudWatch observability — all in Terraform. Real configs, real costs, real lat…
Source: DEV Community
TutorialsOrdinary
Null is not zero: six numbers I read wrong this month
I spent three weeks reading my own numbers wrong, and every mistake had the same shape: the...
Source: DEV Community
TutorialsOrdinary
Qual a melhor arquitetura de dados para a sua aplicação de IA?
Uma análise de Warehouse, Lake e Lakehouse e dos requisitos que cada um atende em ML, deep learning e RAG.
Source: DEV Community
TutorialsOrdinary
I recorded 1,180 TTS clips to find out what voices misread in LLM output
Every voice agent has the same seam: a language model writes text for a reader, and a text-to-speech...
Source: DEV Community
TutorialsOrdinary
Google, Microsoft, OpenAI and Anthropic Back a Shared AI Training Opt-Out Signal
Google, Microsoft, OpenAI and Anthropic have announced support for work toward a shared way for...
Source: DEV Community · OpenAI / Claude
TutorialsOrdinary
I Built LLM Explained: 43 Interactive Pages That Take You From Tokens to AI Agents
I kept running into the same problem while learning about large language models. I'd read a blog...
Source: DEV Community
TutorialsOrdinary
Your MCP server can read ~/.ssh. Here is how I put it in a jail
The config line nobody reads twice Somewhere in your Claude Desktop, Cursor or Claude Code...
Source: DEV Community · Claude / Cursor
TutorialsOrdinary
Prompt Pad: Frame Your Persona for Better AI Answers
Want better answers from AI? Start by telling it who to be. In this episode of Prompt Pad,...
Source: DEV Community
TutorialsOrdinary
A 0.1% Pretraining Poison Taught a 4B Agent curl | bash. Post-Training Didn't Remove It
Researchers poisoned 0.1% of pretraining data. After clean SFT, DPO and RL, a 4B agent still wrote curl | bash on most path-triggered prompts.
Source: DEV Community
TutorialsOrdinary
Reading ingredient lists from phone photos: a crop bug, a model bench, and why the AI never gives the verdict
I build Halal Food Scanner, an iPhone and Android app (Expo / React Native) that tells you if a food...
Source: DEV Community
TutorialsOrdinary
Same model, same defences: 7 document attacks down to 0, chat attacks barely moved
A prompt-injection benchmark, three bugs in my own scorer, and the result I only found after fixing...
Source: DEV Community
TutorialsOrdinary
A Makefile Is the Best Agent Doc: 10 Targets Every Repo Needs Before an Agent Touches It
Agents burn turns guessing how to test, lint and reset your DB. Ten make targets, two lines in AGENTS.md, and make check as the done check.
Source: DEV Community
TutorialsOrdinary
Running an LLM fully offline on Android with Kotlin coroutines
How I wrapped llama.cpp in a small, coroutine-first Kotlin API, and the three problems that took the most time: threads, cancellation and broken emoji.
Source: DEV Community · Llama
TutorialsOrdinary
Observability for AI Agents: Tracing, Evaluation and Cost Control in Production
How to understand, monitor, debug, and optimize agentic AI systems using OpenTelemetry and modern AI...
Source: DEV Community
TutorialsOrdinary
I Sandboxed My AI Coding Agent with Bubblewrap. It Still Read My Secrets
Three Decisions, Three Places Same agent. Same sandbox. Different folder. Different blast...
Source: DEV Community
TutorialsOrdinary
Building Secure LLM Applications: A Practical 14-Point Checklist Based on OWASP 2026
I started writing this article while reading the OWASP Top 10 for LLM Applications 2026. I wanted to...
Source: DEV Community