Services
What I do for clients.
Backend, AI integrations, RAG systems, and the unglamorous work of making AI-generated code actually shippable. Independent contractor, async-first, clients in Russia, the US, Australia and Serbia.
-
Websites & landing pages
Fast multilingual sites that search engines can read. Lighthouse 100/100/100/100.
Marketing sites, product landing pages and multilingual portfolios. Built with Astro, Next.js or Vue and Tailwind, and deployed with Docker and Traefik. Each site comes with structured data, sitemaps, RSS, social preview images and several languages. Live examples: this site (vbcherepanov.com) and totalmemory.dev.
What you get
- Astro, Next.js or Vue with Tailwind, chosen by the kind of content you have.
- Structured data (JSON-LD for WebSite, Person, Article and Service), a sitemap for each content type, hreflang tags and social preview images.
- Lighthouse 100, Core Web Vitals in the green zone, WCAG AA accessibility and a cookie banner that respects the visitor’s choice.
- Several languages (English, Russian and Serbian, or any other pair) with separate content and correct canonical URLs.
- CI/CD on GitLab or GitHub Actions, Docker builds, Traefik or nginx, and deploys that do not take the site down.
Stack
- Astro
- Next.js
- Vue / Nuxt
- Tailwind
- Docker
- Traefik
- GitLab CI
-
Backend services & APIs
Go and PHP Symfony backends that are ready for real users.
REST and gRPC services, sign-in with OAuth2 and OIDC, services that talk through message queues, PostgreSQL, Redis and RabbitMQ. The code is split into clear layers: a handler of up to 15 lines calls a service, and the service calls the repository. Business errors are kept apart from infrastructure errors. Structured logs, metrics and tracing are built in from the first commit.
What you get
- Go 1.25+ or PHP 8.4 with Symfony 8.0, chosen for your team and your load.
- PostgreSQL 18: schema design, migrations, index strategy and keyset pagination.
- Queues on RabbitMQ, NATS or Kafka, with idempotency keys (a repeated request does not repeat the action) and the outbox pattern.
- OpenAPI and gRPC contracts, code generation, contract tests, and typed business data instead of any or mixed.
- Monitoring: Prometheus metrics, structured logs (slog or Monolog) and OpenTelemetry traces.
Stack
- Go
- PHP / Symfony
- PostgreSQL
- RabbitMQ
- gRPC
- OpenAPI
- OAuth2/OIDC
-
AI integration
I connect language models (LLMs) to your product and keep costs and answers under control.
OpenAI, Anthropic, DeepSeek and local models (Ollama, llama.cpp, LM Studio) connected to your backend. That includes answers in a fixed format (structured output), calls to your tools (function calling), streaming, automatic retries, switching to a cheaper model when it is enough, and full logs and metrics. Several providers work from the start, so you are not tied to one vendor.
What you get
- One layer for Anthropic, OpenAI, DeepSeek and local models, with predictable fallbacks when a provider fails.
- Tool calling, structured JSON output (zod or pydantic) and streaming over SSE or WebSocket.
- Token and cost budgets per request, per user and per feature, shown in Prometheus.
- Versioned prompts, a program that runs prompt checks and a set of reference answers that is tested after every prompt change.
- Safety: removal of personal data (PII), protection against prompt injection, content filters and an audit log for each call.
Stack
- Anthropic
- OpenAI
- Ollama
- MCP
- Function calling
- Structured output
-
RAG systems
An assistant that finds the right passage in your documents. The search is built like the one in total-agent-memory.
RAG systems that answer from your documents. The search has six stages (text search with FTS5 and BM25, embeddings, fuzzy matching, a graph, a cross-encoder reranker and MMR) and works better than plain cosine similarity. Documents are split by meaning, and quality is measured on LongMemEval-style question sets. This is the same architecture that ships in total-agent-memory.
What you get
- Vector storage: pgvector (inside PostgreSQL), Qdrant or FAISS, chosen by data size and how you run servers.
- Hybrid search: BM25, dense and sparse vectors and a reranker (BGE-v2-m3, Cohere or a cross-encoder).
- Loading documents: parsers for each file format, splitting by meaning, reuse of embeddings and removal of duplicates.
- Quality checks: LongMemEval, LoCoMo or your own set of questions with known answers, with R@K and nDCG tracked over time.
- A knowledge graph on top: entities, relations and facts that change over time (Allen algebra).
Stack
- pgvector
- Qdrant
- BGE / Cohere
- Hybrid retrieval
- Eval harness
- MCP
-
Clean up AI-written code
I turn code that an AI tool left half-finished into a product you can release and maintain.
An AI agent wrote half of your project, and now it half works, half builds and half has tests. I go through the code line by line: finish or remove the unfinished stubs, move hardcoded values to configuration, separate business logic from infrastructure, write real tests in place of // TODO: test, and bring the architecture back to a shape a person can extend.
What you get
- Inventory of TODO, FIXME, XXX, HACK, NotImplemented, stubs and panic("todo"): each one is finished or removed.
- Hardcoded URLs, IPs, secrets and magic numbers moved to environment variables, configuration and named constants.
- Demo and mock data taken out of production code and moved to fixtures, seeds and factories.
- Architecture put back into clean layers: a handler of up to 15 lines, then a service, then a repository, with typed DTOs.
- Real tests (unit, integration, golden and regression) in place of test files full of assert true.
- Security pass: SQL injection, SSRF, XSS, exposed admin routes, weak authentication and secrets in the repository history.
Stack
- Refactoring
- Tests
- Security audit
- Architecture review
- CI/CD
-
Tune AI coding agents for your team
Claude Code, Cursor, Codex and Cline set up with memory, hooks, MCP and a check after each change. Bad output is caught before you see it.
Most teams use coding agents without memory, hooks, project rules or a check after each change. I set up the same stack that runs on my own machine: total-agent-memory keeps knowledge between sessions, a2abridge lets several agents work together, CLAUDE.md or .cursorrules hold your real architecture rules, hooks guard the edits, and tests, build and lint run after every change.
What you get
- MCP servers connected: total-agent-memory (knowledge that stays between sessions), filesystem access and the A2A bridge.
- CLAUDE.md, .cursorrules and AGENTS.md with your real architecture, code quality and git rules.
- Hooks: guards before an edit, lint and tests after it, memory_save reminders and a ban on stubs.
- Several agents together: Claude with Codex, DeepSeek or a local Llama, in the style of AISWARM orchestration.
- A check after every change: tests, build, lint and grep. The agent does not report DONE while any of them is red.
- Hand-over: a written guide for your team, and a call to walk through it if you want one.
Stack
- Claude Code
- Cursor
- Codex
- MCP
- total-agent-memory
- a2abridge
- AISWARM
-
Architecture & strategy consulting
A second opinion on your stack, architecture and AI strategy, paid by the hour or at a fixed price.
A short piece of work for when you need an experienced outside view: choice of stack, architecture review, performance audit, AI strategy, or an assessment of a candidate you want to hire. You get a written report with concrete recommendations, ranked by return on effort (ROI), with pointers to the code where it helps.
What you get
- Stack choice: Go, PHP or Node, PostgreSQL or MongoDB, which queue to use, with the trade-offs of each.
- Architecture review: layered, hexagonal or microservices, and where exactly the bottleneck is.
- AI strategy: where language models help, where they cost more than they save, and whether to build or buy.
- Performance audit: profiling, query plans, cache strategy, asynchronous or synchronous work.
- Hiring: I read a candidate’s code and, if you want, run a live design review with them.
- Format: a written review, with a call if you want one.
Stack
- Architecture review
- AI strategy
- Stack selection
- Performance audit
- Hiring
What to put in the first message
A short email is enough to start. No call is needed until you want one.
- Who you are and what the company does
- The task to do or the decision to make
- Why it matters now and what was already tried
- The deadline and who makes the decision