<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Sami Kuikka — Writing</title><description>Notes on agents, evals, prompt optimization, and building things from scratch.</description><link>https://samikuikka.com/</link><language>en-us</language><item><title>Building a Harness: How I Got Agents to Verify Their Own Code</title><link>https://samikuikka.com/en/blog/harness-engineering/</link><guid isPermaLink="true">https://samikuikka.com/en/blog/harness-engineering/</guid><description>I wanted to see how far I could push autonomous code generation. Not by writing better prompts, but by building a system where agents could implement, verify, and fix their own work without me watching. A DOCX editor built from behavioral specs and pixel diffs was the testbed.</description><pubDate>Sun, 19 Apr 2026 00:00:00 GMT</pubDate><category>Harness Engineering</category><category>AI Agents</category><category>Code Generation</category></item><item><title>Prompt Optimization Shouldn&apos;t Require Rewriting Your App</title><link>https://samikuikka.com/en/blog/prompt-optimization-without-rewriting/</link><guid isPermaLink="true">https://samikuikka.com/en/blog/prompt-optimization-without-rewriting/</guid><description>How come we have advanved agent tracing products with minimal setup, but prompt optimization itself needing rewriting your product in new frameworks in order to work. My attempt on showing that it does not need to be the case</description><pubDate>Wed, 25 Feb 2026 00:00:00 GMT</pubDate><category>Prompt Optimization</category><category>Langfuse</category></item><item><title>Building Memory Systems that Learn Across Conversations</title><link>https://samikuikka.com/en/blog/building-memory-systems-that-learn-across-conversations/</link><guid isPermaLink="true">https://samikuikka.com/en/blog/building-memory-systems-that-learn-across-conversations/</guid><description>How to create AI systems that adapt and improve their performance over time by learning from past interactions. Going over the MemGPT and Letta AI frameworks approach on bulding agents with memory systems that evolve through conversations.</description><pubDate>Thu, 08 Jan 2026 00:00:00 GMT</pubDate><category>MemGPT</category><category>Agents</category></item><item><title>Automated RAG Evaluation without Human Labels (Ragas in Practice)</title><link>https://samikuikka.com/en/blog/evaluating-rag-systems/</link><guid isPermaLink="true">https://samikuikka.com/en/blog/evaluating-rag-systems/</guid><description>Learning and building automated evaluation system with Ragas. Can LLMs automatically evaluate RAG systems? Are human labels always needed?</description><pubDate>Thu, 18 Dec 2025 00:00:00 GMT</pubDate><category>Ragas</category><category>RAG</category><category>Evals</category></item><item><title>Shrinking Embeddings: Real Results with Mathryoshka Models</title><link>https://samikuikka.com/en/blog/shrinking-embeddings-real-results/</link><guid isPermaLink="true">https://samikuikka.com/en/blog/shrinking-embeddings-real-results/</guid><description>Exploring the practical benefits of the Matryoshka Representation Learning technique through my own experiment. Why some models can be shrunk without &quot;losings&quot; performance, how it works, and does it always work?</description><pubDate>Sun, 07 Dec 2025 00:00:00 GMT</pubDate><category>MRL</category><category>RAG</category><category>Embeddings</category></item><item><title>HyDE: Weaponizing Hallucinations for Better Retrieval</title><link>https://samikuikka.com/en/blog/hyde-weaponizing-hallucinations-for-better-retrieval/</link><guid isPermaLink="true">https://samikuikka.com/en/blog/hyde-weaponizing-hallucinations-for-better-retrieval/</guid><description>Explaining and building real use case for Hypothetical Document Embeddings (HyDE) to showcase that hallucinations are not always bad</description><pubDate>Sun, 26 Oct 2025 00:00:00 GMT</pubDate><category>RAG</category><category>HyDE</category><category>prompting</category></item><item><title>Why Early Tokens Matter, and How Tree-of-Thoughts Tries to Fix It</title><link>https://samikuikka.com/en/blog/why-early-tokens-matter/</link><guid isPermaLink="true">https://samikuikka.com/en/blog/why-early-tokens-matter/</guid><description>Why LLMs are sensitive to their early tokens, and where prompting techniques like Chain-of-Thought and Tree-of-Thought get their power. This is my attempt to understand why early tokens matter, what ToT does behind the scenes, and whether it’s worth using outside of toy projects.</description><pubDate>Thu, 23 Oct 2025 00:00:00 GMT</pubDate><category>ToT</category><category>promptings</category><category>LLM</category></item><item><title>Teaching LLM to improve its own prompts</title><link>https://samikuikka.com/en/blog/teaching-llm-to-improve-its-own-prompts/</link><guid isPermaLink="true">https://samikuikka.com/en/blog/teaching-llm-to-improve-its-own-prompts/</guid><description>Building GEPA prompt optimizer from scractch to optimize compound AI system prompts using DSPy framework.</description><pubDate>Mon, 13 Oct 2025 00:00:00 GMT</pubDate><category>GEPA</category><category>AI systems</category><category>DSPy</category></item><item><title>Building smarter travel app with RAG</title><link>https://samikuikka.com/en/blog/building-smarter-travel-app-with-rag/</link><guid isPermaLink="true">https://samikuikka.com/en/blog/building-smarter-travel-app-with-rag/</guid><description>Real world use case for building RAG and learning from the building. Building fully functional travel itinerary planner with AI agents and RAG.</description><pubDate>Tue, 26 Aug 2025 00:00:00 GMT</pubDate><category>RAG</category><category>AI Agents</category><category>Inngest AgentKit</category><category>Next.js</category></item><item><title>Using LLMs to Augment My Travel App: Categorizing 10,000 Attractions Efficiently</title><link>https://samikuikka.com/en/blog/using-llm-to-augment-my-travel-app/</link><guid isPermaLink="true">https://samikuikka.com/en/blog/using-llm-to-augment-my-travel-app/</guid><description>Using LLMs to catergorize 10,000 attractions efficiently. Learning blog post how to utilize LLMs to augment my travel app.</description><pubDate>Mon, 28 Apr 2025 00:00:00 GMT</pubDate><category>ML</category><category>Gaussian basis regression</category><category>Python</category></item></channel></rss>