DSDarsh Shahinfreecodecamp.org·Aug 6 · 16 min readHow to Customize an LLM for AI Agents using SFT and QLoRAIn this tutorial, I’ll show you how to fine-tune a large language model for use in AI agents using supervised fine-tuning with QLoRA. This lets us customize a pre-trained model so it behaves the way w00
DSDarsh Shahinfreecodecamp.org·Jul 24 · 11 min readHow to Use Prompt Engineering and Context Engineering for AI AgentsIn this tutorial, I’ll show you how prompt engineering and context engineering can improve an AI agent's performance. We’ll build a simple local agent, start with a baseline input, then improve it wit00
DSDarsh Shahinfreecodecamp.org·Jul 22 · 10 min readHow to Trace and Monitor AI Agents with LangSmithIn this tutorial, I'll show you how to trace and monitor a local AI agent with LangSmith. We'll build a small local AI agent and then enable LangSmith tracing for it so that we can inspect model calls01T
DSDarsh Shahinfreecodecamp.org·Jul 20 · 12 min readHow to Serve a Multi-User AI Agent with FastAPI and StreamlitIn this tutorial, I’ll show you how to serve a multi-user local AI agent as a REST API using FastAPI, then add a lightweight Streamlit UI on top. Instead of interacting with the agent through a termin00
DSDarsh Shahinfreecodecamp.org·Jul 17 · 12 min readHow to Evaluate AI Agents with an LLM-as-a-Judge Harness in PythonIn this tutorial, I'll show you how to evaluate a local AI agent with a simple, repeatable evaluation harness. The harness runs the agent against a set of test cases, checks the results with both rule10