codecowboy.io

đź‘‹ Welcome to codecowboy.io, a site that’s devoted to technology and things that interest me. I write a lot about AI, automation, kubernetes, cloud and developer related topics… and anything else that interest me.

  • You can read more about me here

Self improving code using AI (agents)

Intro I’ve been messing around with multi-agent AI systems recently. I had a crazy idea - what if I could get one AI agent to write code, have another score it, and a third refine it based on that score? All automatically. All in a loop. That’s what I’m going to walk through here. The things I wanted to explore were: Getting an AI agent to generate code from a prompt Getting a second AI agent to score that code and provide structured feedback Using that feedback to automatically refine the code in a loop Running the final accepted code as an actual subprocess TLDR - if you just want the code it’s here: https://github....

June 27, 2026 Â· 5 min Â· codecowboy.io

Using feature flags in Claude skills

Intro I have been playing around with skills for a while now. I’ve also been using feature flags in my code for some time as well. Feature flags are a really neat way of separating deployment and release in any codebase. I decided to explore how I could use feature flags in a Claude skill. This would essentially enable me to change and control the skill using nothing other than feature flags....

May 26, 2026 Â· 3 min Â· codecowboy.io

Chalk project

Intro I recently came across a very interesting open source project called the chalk project. It’s headline is “like an airtag for your development environment”. This got me interested enough to investigate it and explore it a litte. https://chalkproject.io/ What is this? The chalk project aims to provide a few things, security and provenance. There are a bunch of others, but these are the two things that drew me to the project initially....

April 28, 2026 Â· 5 min Â· codecowboy.io

Autonomous AI agents

Intro I’ve been messing around with AI and “agents” recently. I thought I’d share the architecture that I’ve come up with. I was working with some orchestration systenms and thought to myself “I want something that is autonomous, but also able to be completely distributed”. I have used the fantastic library libp2p. This gives me the ability to have peer discovery, a pub / sub message bus and more. I thought to myself “what if I combine my favourite network stack with the experiments I’m running with AI”...

March 26, 2026 Â· 6 min Â· codecowboy.io

MCP server templated reports

Intro I have been fooling around a lot with ai recently, and one of the things I’ve found myself doing is integrating with MCP servers and then using the projects feature in claude to generate custom reports. What is this? I have set up a remote MCP server that pulls data from the Star Wars API (swapi). This is a remote MCP server, so I am hosting it on one of my domains....

December 28, 2025 Â· 5 min Â· codecowboy.io

Github dockerfile service using AI - Part 2

Intro I have been fooling around a lot with ai recently, and I thought I would write something about what I’ve been doing. There are a few things that I’ve been doing, and they’re all fascinating. Writing average looking code using minimum viable prompts. Getting this average looking code refactored to be a robust service. Generating API documentation - and having Claude fix this code. This is part two of a small series that I have created to walk through the process I went through to get decent code....

November 26, 2025 Â· 18 min Â· codecowboy.io

Github dockerfile service using AI - Part 1

Intro I have been fooling around a lot with ai recently, and I thought I would write something about what I’ve been doing. There are a few things that I’ve been doing, and they’re all fascinating. Writing average looking code using minimum viable prompts. Getting this average looking code refactored to be a robust service. Generating API documentation - and having Claude fix this code. This is part one of a small series that I have created to walk through the process I went through to get decent code....

November 24, 2025 Â· 10 min Â· codecowboy.io

Pulumi - creating a website bucket and cloudfront distribution

Intro I’ve been fooling around with pulumi for a bit now, and thought I would write about it here. One of the things that I’ve always wanted to do, but never have is understand cloudfront a little more. I decided to do this by building a simple website bucket, and then exposing it via a cloudfront distribution. TLDR If you just want the code - it’s here: Cloudfront git repository...

October 17, 2025 Â· 7 min Â· codecowboy.io

A Simple svelte app

Intro I recently had a need to think about API testing again. I needed to quickly come up with a small web based tester to perform the occasional get request but also a post request with data. It’s a lot simpler for me to just grab a JSON blob of data and send it to an endpoint with a click and evaluate the results. I decided to use svelte. I haven’t used svelte before but I was surprised by its simplicity and ease of use....

June 19, 2025 Â· 10 min Â· codecowboy.io

Creating an MCP server with Anthropic

Intro There has been a lot of hype on socials recently about MCP or Model Context Protocol. Essentially it’s a protocol that allows LLM AI to be extended. Most of the extensions relate to providing context using your own data. This is what I am going to walk through here. I will walk through: Creating an MCP What works and what works better My discoveries so far TLDR If you just want the code - it’s here:...

May 10, 2025 Â· 9 min Â· codecowboy.io