Skip to content
← ./blog

Tutorials

Step-by-step guides with code you can run: building an agent, writing an MCP server, getting reliable JSON from a model, and wiring AI into a Laravel app.

10 articles tagged Tutorials.

A practical roadmap for becoming an AI engineer in 2026

You don't need a research degree to build with language models. This roadmap lays out what to learn, in what order, which projects to build, and how to keep your own skills sharp while you use AI tools every day.

Laravel performance tips that actually move the needle

Most slow Laravel apps are slow for a handful of reasons: N+1 queries, missing indexes, doing work in the request that belongs in a queue, and skipping the production caches. Here's how to find and fix each one, with code.

Git tips and tricks I'd teach every developer on day one

Most developers use five Git commands and fear the rest. These are the ones worth learning next: undoing mistakes safely, finding the commit that broke things, cleaning up history, and working on two branches at once, with exact commands.

543,000 valid credentials sat in public GitHub repos. Check yours

A new study found over 543,000 working credentials in public GitHub repositories, with a median exposure of 784 days. Here's what the numbers say, why deleting a commit doesn't fix a leak, and a practical routine for finding and cleaning up your own.

Add Claude to a Laravel app with the HTTP client

You don't need a package to call Claude from Laravel. This tutorial builds a small service class on the HTTP client, adds config, error handling, queued jobs, a tool-use example, and tests with Http::fake, so the integration stays simple and easy to change.

Getting reliable JSON out of an LLM

Asking a model for JSON and hoping is fragile. This guide compares the approaches that work, from forced tool calls to schema-constrained output, and shows how to validate, retry, and design schemas that models can fill correctly.

RAG that works: chunking, retrieval, and reranking

Most RAG failures are retrieval failures, not model failures. This guide covers the parts that decide quality: how to chunk, how to combine keyword and vector search, when to rerank, and how to measure retrieval separately.

Build a small MCP server in Python, start to finish

A hands-on walkthrough of writing a Model Context Protocol server with the Python SDK: tools, a resource, a prompt, testing with the Inspector, and connecting it to Claude Code or a desktop app.

How to design tools an LLM can actually use

The quality of an agent's tools sets a ceiling on the agent. Here are the design rules that matter most: fewer tools, clear names, honest descriptions, compact outputs, and errors a model can act on.