#01 · AI agents and MCP · 6.3 minLocal AI Agent in Python: No API Key (Ollama)
Build and run a tool-calling AI agent on your own laptop with Python and Ollama. No API key, no bill.
Python 3.13.2 | ollama==0.6.313 videos tagged "ollama python".
#01 · AI agents and MCP · 6.3 minBuild and run a tool-calling AI agent on your own laptop with Python and Ollama. No API key, no bill.
Python 3.13.2 | ollama==0.6.3
#06 · LLM engineering and evals · 5.9 minBuild a small LLM evaluation harness with pytest and a local model, then see why six out of six does not mean your prompt is good.
Python 3.12.15 | ollama==0.6.3, pydantic==2.14.1, pytest==9.2.0
#10 · Local and open models · 6.7 minPrompting, pasted context and retrieval tested on four questions with a local model: plus a simple paste test for whether you need RAG. Fine-tuning is explained, not run.
Python 3.12.15 | ollama==0.6.3
#11 · Local and open models · 6 minRun a language model on your own laptop and call it from Python: a first answer, streaming, the OpenAI client with one line changed, and two common errors reproduced.
Python 3.12.15 | ollama==0.6.3, openai==3.40.0
#12 · AI agents and MCP · 6.1 minBuild a pipeline and a router in plain Python with a local model, then test the four lines that guard a supervisor loop, using a scripted stand-in.
Python 3.12.15 | ollama==0.6.3, pydantic==2.14.1
#17 · LLM engineering and evals · 5.5 minSame six requests, over two minutes on a laptop. Add a cache and shorter answers, and watch the output tokens and the wait drop, with the real numbers on screen.
Python 3.12.15 | ollama==0.6.3
#18 · AI security and governance · 5.6 minI attacked my own language model app and a secret leaked. Then I ran the same attacks against three defences, and in this small test one of them made it worse.
Python 3.12.15 | ollama==0.6.3
#19 · AI security and governance · 6.5 minPatterns found 5 of 8 pieces of personal data, a local model found the rest, and one wrong answer taught me something. A redaction step you can score.
Python 3.12.15 | ollama==0.6.3
#20 · AI coding and productivity · 5.6 minI let an AI fix three bugs: one fix passed its tests, two failed, and every fix changed five lines. The copy, test and diff workflow that caught it.
Python 3.12.15 | ollama==0.6.3, pytest==9.2.0
#23 · AI agents and MCP · 6.2 minMy agent forgot my name after four messages. When I let it remember everything, it remembered my card number too.
Python 3.12.15 | ollama==0.6.3
#27 · AI agents and MCP · 5.7 minMy agent loop could run forever. Here are the three limits that stop it, and one thing I did not expect from a real model.
Python 3.12.15 | ollama==0.6.3
#56 · LLM engineering and evals · 5.3 minI changed a prompt to make it better and the score went down. A score alone could not tell me which cases broke.
Python 3.12.15 | ollama==0.6.3
#59 · LLM engineering and evals · 4.6 minThe same prompt showed its first word after 0.2 seconds instead of eight.
Python 3.12.15 | ollama==0.6.3