Guides to Claude Code, Cursor, Codex and the Claude and GPT APIs: setup, token savings and troubleshooting.
5 min · · development
How prompt injection works through user input and third-party documents, and which measures limit the damage: data isolation, tool permissions, key limits.
4 min · · development
A small Express server between your frontend and the model API: the key stays on the server, and models, request size and rate are capped.
4 min · · development
Ready code for DeepSeek V4.1 Flash and V4 Pro on the OpenAI SDK: a request, streaming, JSON parsing and careful error handling.
4 min · · development
Twelve prompt templates for everyday tasks: what each one says, why it is built that way, and what a single API call costs.
5 min · · development
A working Gemini API example in Python with no extra library: change base_url in the OpenAI SDK, add streaming and JSON, and compare with google-genai.
6 min · · агенты
Claude Code has no mode literally called YOLO, but it has several permission modes and flexible rules. How to stop clicking Yes without losing files.
6 min · · development
The model does not remember earlier messages: you send the history with every request. We look at how dialogue cost grows and what keeps it in check.
5 min · · development
One scenario written with the plain SDK and with LangChain: how much code, where debugging is easier and how to keep control of token spend.
5 min · · development
The official anthropic package for Python just needs a different address. We cover base_url, the key, streaming, token counting, caching and errors.
6 min · · автоматизация
The main risk when translating SRT with a neural network is a broken file structure. A scheme where timecodes never reach the model, and a Python script with validation.
6 min · · development
Habits that make working with Claude Code predictable: a short CLAUDE.md, a plan before edits, small tasks, checking results and keeping spend under control.
6 min · · development
The agent reads files and runs commands, so security settings belong before the first launch. A checklist: permissions, secrets, sandbox, a separate key with a limit.
5 min · · development
Different kinds of editing need different prompts. Wording for proofreading, style and cutting, how to get edits with explanations and how not to lose the author's voice.
6 min · · development
We write a minimal MCP server in Java with one tool, register it in Claude Code, and learn to find the cause when the agent doesn't see it.
5 min · · API keys
Which variable the SDK needs, which one Claude Code needs, where to get a key and how to set it on Windows, macOS and Linux without it reaching git.
6 min · · development
Without guidance a model may confuse Lua with Luau and suggest outdated Roblox APIs. How to phrase the task, check the code and connect an agent to your project.
6 min · · development
RAG does not require a vector database. Four ways to store knowledge, the cost of a query for each, and a working SQLite example.
5 min · · development
A model writes scripts for routine fast, but running them blindly is risky. How to state the task, demand a safe dry-run mode and check the result before launch.
5 min · · агенты
We build an agent with create_agent and two tools and run it on a model through an OpenAI-compatible gateway, then cap the steps and count tokens.
5 min · · development
A short reference to the Chat Completions endpoint. Each parameter with an example, the response and usage format, gateway-specific notes, and the cost of one reply.
6 min · · агенты
Claude Code Router appeared to point Claude Code at other providers' models. If the gateway already accepts the Anthropic format, much of that is one variable.
6 min · · development
An agent writes scripts but does not see the engine editor. How to structure a game project for AI, what to hand the agent, what to do by hand, and what it costs.
6 min · · development
Install Dify with Docker Compose, create the admin account and connect Claude, GPT and DeepSeek models on one key. Plus what to do when containers will not start.
5 min · · development
An agent can rewrite a module in a minute and break it just as fast. How to organize refactoring: tests first, one kind of change at a time, a commit per step, rollback.