<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Abdullah Muhammad on Medium]]></title>
        <description><![CDATA[Stories by Abdullah Muhammad on Medium]]></description>
        <link>https://medium.com/@abdullah_95?source=rss-3345b6ddbac7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xbuRBk15fb3Q-JTyBxxaAw.jpeg</url>
            <title>Stories by Abdullah Muhammad on Medium</title>
            <link>https://medium.com/@abdullah_95?source=rss-3345b6ddbac7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 00:53:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abdullah_95/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building Chess With Jev and Claude Opus 5.5]]></title>
            <link>https://blog.stackademic.com/building-chess-with-jev-and-claude-opus-5-5-43a3544c1f9e?source=rss-3345b6ddbac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/43a3544c1f9e</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[chess]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[typescript]]></category>
            <dc:creator><![CDATA[Abdullah Muhammad]]></dc:creator>
            <pubDate>Fri, 02 Oct 2026 13:26:03 GMT</pubDate>
            <atom:updated>2026-10-05T21:01:42.249Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*yKIYxMFWyXinEh5kD2f7-w.png" /><figcaption>Playing Chess against Jev, a System One Model</figcaption></figure><p><em>Basic knowledge of web development, AI tools, and Chess will be sufficient for working through the contents of this article.</em></p><p><em>Fond of cryptocurrency? Explore everything related to the Ethereum blockchain with this </em><a href="https://ethereumdashboard.dev/"><em>free, comprehensive dashboard built using Next.js</em></a><em>.</em></p><p><em>Get your article audibles </em><a href="https://www.mediumdotcomscraper.pro/"><em>here</em></a><em>! I made this tool which makes audio files accessible for any non-paywall Medium articles!</em></p><p><em>Want more content? Visit my </em><a href="https://softwareblog.dev/"><em>tech blog</em></a><em> for more articles, AI and software tools, and free shareable resources.</em></p><h3>Introduction</h3><p>At the speed of change in AI, maybe this article is already irrelevant.</p><p>Nevertheless, I digress. With the recent launch of Jev, TypeSafe AI’s <strong>System One model</strong>, there is quite a bit you can do with it.</p><p>System One refers to fast, intuitive judgment rather than slow, step-by-step reasoning.</p><p>Instead of generating text, you provide Jev with a state and a typed question. Jev chooses from the options you provide and returns probabilities for those choices. It does not operate like your traditional LLM.</p><p>Jev supports three types of questions:</p><ul><li>choice — Select an option from a list</li><li>score — Place something on a scale</li><li>noul — Answer <strong>yes </strong>or <strong>no</strong></li></ul><p>I used Jev, along with Claude Opus 5.5, to build a Chess game (you can find it here https://jev-agent-chess.vercel.app).</p><p>The following list highlights the stack (we will cover this in detail shortly) I used to build out the game:</p><ul><li>Chess.js</li><li>Docker</li><li>Next.js</li><li>Stockfish 19 (engine)</li><li>TypeSafe AI Jev</li><li>Vercel with Upstash Redis</li></ul><p>Chess is a well recognized board game and as such, already has a vast pool of resources that can help expedite the development process.</p><p>For example, there is no need to invent a new Chess engine (we already have one). There are plenty of existing, well known libraries that can handle all of this for you.</p><h4>Building a Chess Game with Jev</h4><p>Stockfish will beat you consistently, but playing against an engine does not necessarily have to feel like playing against another person.</p><p>I wanted to create something different. Incorporating Jev into gameplay allows for the creation of an opponent that can make judgments, have a playing style, and let you see what it is considering.</p><p>So I built <strong>Jev Chess</strong>, a TypeScript web application where you can play against TypeSafe AI’s Jev model, Stockfish, or a hybrid of the two. Chess fits well here because every legal move can become an option.</p><p>The following code fragment details how you can work with the TypeSafe AI’s Jev SDK to make a valid Chess move given a set of options:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5dfc68f74e324cde9feb1ed92dffd773/href">https://medium.com/media/5dfc68f74e324cde9feb1ed92dffd773/href</a></iframe><p>You can read more about TypeSafe AI Jev in the official documentation located <a href="https://docs.typesafe.ai/introduction">here</a>.</p><p>This is a simple example of how Jev can be presented with move options and select one of them.</p><p>Instead of allowing Jev to generate arbitrary Chess notation, the chess.js library is used to generate the legal moves first and those moves become Jev&#39;s available choices.</p><p>This means Jev cannot simply invent an illegal move. The returned probabilities also make it possible to show what other moves Jev is considering.</p><h4>The Stack</h4><p>The application is built using TypeScript end to end. The following list highlights the main technologies:</p><ul><li><strong>Next.js and React</strong> — Application and server API routes</li><li><strong>Chess.js</strong> — Chess rules and legal move validation</li><li><strong>React-Chessboard</strong> — Interactive Chess board</li><li><strong>Stockfish</strong> — Traditional Chess engine</li><li><strong>TypeSafe AI SDK</strong> — Jev integration</li><li><strong>Tailwind CSS and Shadcn/ui</strong> — Interface</li></ul><p>Stockfish runs directly in the browser using a web worker.</p><p>All Jev requests go through server-side Next.js routes so the TypeSafe API key is never exposed to the browser.</p><h3>Setup</h3><p>You can find the source code for this project <a href="https://github.com/CodingAbdullah/jev-agent-chess">here</a>. You can self-host it, run it in a container via Docker, or simply run this project locally.</p><p>Install the project’s dependencies and configure your TypeSafe API key before making requests to Jev. To get access to the TypeSafe API key, you will need to sign up <a href="https://typesafe.ai/">here</a>.</p><p>Due to a surge in demand, TypeSafe AI has temporarily halted access for new users attempting to onboard the site. You can visit the site and see for yourself if access is being granted again.</p><p>Create a .env.local file:</p><p>TYPESAFE_API_KEY=your_typesafe_api_key</p><p>TYPESAFE_API_KEY authenticates the server-side requests made through the TypeSafe AI SDK.</p><p>The key should remain server-side. Do not expose it through a NEXT_PUBLIC_ environment variable.</p><p>The project also supports a local mock implementation of Jev. If no API key is provided, the mock can be used during development and testing.</p><p>For production deployments such as Vercel, the application can additionally use Upstash Redis for shared rate limiting. You will need to add those environment variables as well.</p><h3>How Jev Plays Chess</h3><p>The basic request flow is essentially the following: <strong>Chess Board → chess.js → Generate Legal Moves → Next.js API → Jev → Selected Move → chess.js Validation → Chess Board.</strong></p><p>The application exposes three Jev-related server routes:</p><ul><li>/api/jev/move</li><li>/api/jev/evaluate</li><li>/api/jev/draw</li></ul><p>The move route asks Jev which move it wants to play. The evaluation route asks Jev to judge the current position. The draw route lets Jev decide whether it wants to accept a draw.</p><p>Only the server creates the Jev SDK client.</p><h4>Personalities and Difficulty</h4><p>I wanted Jev to feel less like a traditional Chess engine, so I added several personalities:</p><ul><li>Balanced</li><li>Aggressive</li><li>Defensive</li><li>Positional</li><li>Tactical</li><li>Unpredictable</li></ul><p>The personality does not change the underlying model. Instead, it changes the instructions Jev receives when judging its options.</p><p>Difficulty works differently. On <strong>Hard mode</strong>, Jev’s highest-probability choice is always played.</p><p>On the <strong>Medium</strong> and <strong>Easy modes</strong>, the game samples from Jev’s returned probabilities. Easy introduces more randomness.</p><p>That means Jev can occasionally choose a move it considers reasonable without always choosing its top answer, producing more human like mistakes and even in some egregious cases, blunders.</p><h4>Combining Jev with Stockfish</h4><p>Jev makes judgments, but it does not calculate Chess positions the way Stockfish does.</p><p>That creates an obvious weakness. A move may look strategically reasonable while losing to a tactical sequence two or three moves later.</p><p>Stockfish has the opposite characteristics. It calculates extremely well, but it does not have a personality.</p><p>This led to the most interesting part of the project: <strong>Hybrid mode</strong>.</p><p>Hybrid mode works like this: <strong>Current Position → Stockfish → Top 5 Moves → Jev → Personality Judgment → Selected Move → chess.js → Board</strong>.</p><p>Stockfish first searches the position and returns its five strongest moves, along with evaluations and expected replies.</p><p>Those candidates are then sent to the Jev server route. Before Jev sees them, the server validates the candidates again using chess.js.</p><p>Jev then receives information similar to:</p><blockquote>“Pawn from d2 to d4.</blockquote><blockquote>Stockfish choice #2.</blockquote><blockquote>Evaluation for you: +0.30 pawns.</blockquote><blockquote>Expected reply: exd4&quot;</blockquote><p>Jev’s job is no longer to find a strong Chess move from scratch. Stockfish has already done that.</p><p>Instead, Jev decides which of those strong moves best matches its personality without unnecessarily throwing away the position.</p><p>An <strong>aggressive </strong>Jev might prefer Stockfish’s second or third recommendation because it creates attacking opportunities while a <strong>defensive </strong>Jev might prefer the safer alternative.</p><p>This gives the system the strengths of both approaches: Stockfish handles calculation, while Jev handles judgment</p><h4>Giving Jev Better Context</h4><p>One of the biggest lessons from building the project was that improving Jev’s decisions did not necessarily require longer instructions.</p><p>It required <strong>better information</strong>. For example, Jev initially had trouble recognizing hanging pieces.</p><p>A move description might originally say:</p><blockquote><em>“</em>Bishop captures on f7 with check.<em>”</em></blockquote><p>That describes what happened, but it leaves out something extremely important: what happens to the bishop afterward?</p><p>I added information calculated using chess.js, such as:</p><blockquote><em>“</em>Bishop captures on f7 with check. There it can be taken by a pawn and is not defended.<em>”</em></blockquote><p>That additional state significantly changed Jev’s judgment. Material evaluation produced a similar problem.</p><p>Giving Jev only the raw FEN string wasn’t always enough for it to correctly understand a large material advantage.</p><p>So I explicitly provided information such as:</p><blockquote>“White is ahead by 9 points of material.”</blockquote><p>I also included the pieces remaining for each side. The general lesson extends beyond Chess:</p><p>Give a judgment model the facts it needs to make the judgment instead of expecting it to derive every important fact itself.</p><h4>Guardrails</h4><p>When an AI model and a Chess engine can both produce moves, the application needs one source of truth.</p><p>For Jev Chess, that source is chess.js. Every move from the player, Jev, or Stockfish is validated before the board changes.</p><p>If Jev times out or encounters an error, a simple heuristic can select a move instead.</p><p>In <strong>Hybrid mode</strong>, Stockfish’s top recommendation becomes the fallback. That means a failed AI request does not stop the game.</p><p>The TypeSafe API key also stays exclusively on the server. Browser code communicates with the Next.js API routes rather than communicating with Jev directly.</p><h3>Try It Yourself</h3><p>The application can be played in the browser. The source code for this project is available on GitHub <a href="https://github.com/CodingAbdullah">here</a>.</p><p>The project is licensed under GPL-3.0-or-later because it ships Stockfish.</p><p>You can also run the application locally using a shell script located at the root of the project under the scripts directory:</p><p>./scripts/setup.sh local --start</p><p>If you are using Windows, you can run the following:</p><p>.\scripts\setup.ps1 local -Start</p><p>The setup script asks for your TypeSafe API key. You can leave it empty to run the project using the mock Jev implementation.</p><p>If you want to see the combination of Jev’s judgment and Stockfish’s calculation in action, <strong>Hybrid mode</strong> is where the idea behind the project comes together.</p><h3>Conclusion</h3><p>We did a deep dive into working with TypeSafe AI’s Jev, a System One Model.</p><p>Building a Chess game with Jev showcases how you can bring judgment and personality to applications that traditionally rely on deterministic algorithms.</p><p>There is much more you can do with Jev, and this article barely touches the surface of the capabilities of Jev.</p><p>Be creative and come up with your own use cases.</p><p>In the list below, you will find links to the Chess site, GitHub repository containing the source code, and the official TypeSafe AI docs:</p><ul><li>Chess Site (https://jev-agent-chess.vercel.app)</li><li><a href="https://github.com/CodingAbdullah/jev-agent-chess">GitHub Repository</a></li><li><a href="https://docs.typesafe.ai/introduction">TypeSafe AI Jev Docs</a></li></ul><p>I also created a nice summary sheet for this article, which you can find in the Medium demos repository here.</p><p>I hope you found this article helpful and look forward to more in the future.</p><p>Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43a3544c1f9e" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/building-chess-with-jev-and-claude-opus-5-5-43a3544c1f9e">Building Chess With Jev and Claude Opus 5.5</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn Rust and Start Building Real Developer Tools]]></title>
            <link>https://blog.stackademic.com/learn-rust-and-start-building-real-developer-tools-ddc198cd844f?source=rss-3345b6ddbac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddc198cd844f</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[rust]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Abdullah Muhammad]]></dc:creator>
            <pubDate>Sun, 06 Sep 2026 06:23:40 GMT</pubDate>
            <atom:updated>2026-09-09T00:53:01.708Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*StMWWEIcILmir9aWDGPIBQ.png" /><figcaption>Learn Rust and become a more powerful developer</figcaption></figure><p><em>Basic knowledge of web development and a fundamental understanding of software development will be sufficient for working through the contents of this article.</em></p><p><em>Fond of cryptocurrency? Explore everything related to the Ethereum blockchain with this </em><a href="https://ethereumdashboard.dev/"><em>free, comprehensive dashboard built using Next.js</em></a><em>.</em></p><p><em>Get your article audibles </em><a href="https://www.mediumdotcomscraper.pro/"><em>here</em></a><em>! I made this tool which makes audio files accessible for any non-paywall Medium articles!</em></p><p><em>Want more content? Visit my </em><a href="https://softwareblog.dev/"><em>tech blog</em></a><em> for more articles, AI and software tools, and free shareable resources.</em></p><h3>Introduction</h3><p>If you are an experienced developer and would love to level up your development skills, consider learning Rust.</p><p>While TypeScript/JavaScript and other languages such as Python are easy to learn and should be languages developers should work to master, Rust dives deeper into the core concepts of Computer Science.</p><p>It is simply not another programming language to add to your résumé. It exposes developers to systems-level programming concepts that higher-level languages often abstract away.</p><p>Learning Rust changes how you think about memory, data ownership, performance, concurrency, and software design.</p><p>Rust can be used for everything from tiny CLI utilities to developer infrastructure, blockchain software, networking tools, embedded systems, and performance-critical applications.</p><p>In this detailed article, we will cover the core concepts of Rust, learning tools, and how you can get started in your learning journey today.</p><h3>Rust Deep Dive</h3><p>Rust is well known for being a fast (in terms of performance) and difficult programming language (in terms of learning) to master. There is so much to learn about Rust that one article can only cover so much.</p><p>A good portion of Rust includes the usual things you see in other programming languages such as structs, enums, generics, collections, functions, and so on.</p><p>However, a large portion of the language introduces novel concepts that can trip up even the most experienced developers such as macros, traits, concurrency, ownership/borrowing, lifetimes, and so much more.</p><p>With all this in mind, Rust is one of those languages that fundamentally changes how you think about software.</p><p>If your background is primarily in JavaScript, TypeScript, Python, React, Next.js, or other high-level technologies, you can spend years building excellent applications without having to think deeply about how memory is managed underneath them.</p><p>Rust brings many of those details closer to you. You begin to ask different questions such as:</p><ul><li>Where does this value live?</li><li>Who owns it?</li><li>Am I copying this data or referencing it?</li><li>Can the compiler prove that this operation is safe?</li></ul><p>Those questions extend far beyond Rust and that is one of the biggest reasons I believe Rust is worth learning.</p><p>In this article, we are going to explore Rust from a much broader perspective than simply writing &quot;Hello, world!&quot;.</p><p>Most importantly, we will look at how you can move from learning Rust syntax to actually building useful software with Rust.</p><h4>Rust Basics</h4><p>Rust is a compiled, statically typed systems programming language designed around performance, memory safety, and reliability.</p><p>Unlike many popular languages, Rust does not rely on a traditional garbage collector. Instead, Rust uses an ownership system.</p><p>At a basic level, Rust wants to know who owns a value, who can access it, and how long it should exist. This is where concepts such as those outlined in the following list become important:</p><ul><li>Ownership</li><li>Borrowing</li><li>References</li><li>Slices</li><li>Lifetimes</li><li>Traits</li><li>Generics</li><li>Iterators</li><li>Option&lt;T&gt;</li><li>Result&lt;T, E&gt;</li></ul><p>Of course, we will not dive deep into each of these concepts. That is for you to figure out on your own. I am simply outlining the basic Rust concepts that must be learned in order to get started with Rust.</p><p>There are many more complex concepts you will need to master as you advance in your Rust learning journey.</p><h4>Does Rust Make You a Better Programmer?</h4><p>Simply knowing Rust syntax does not make someone an elite programmer. The value comes from the concepts you learn and how you apply them to build out valuable and efficient software applications.</p><p>The natural progression of learning looks something like this: <strong>Rust Syntax → Ownership → Borrowing → Traits + Generics → Lifetimes → Async + Concurrency → Systems Programming</strong>.</p><p>Once you start understanding these areas, you are learning far more than just another programming language.</p><p>You are learning about:</p><ul><li>Memory</li><li>Error handling</li><li>Type systems</li><li>Performance</li><li>Low-level software architecture</li></ul><p>Rust forces you as a developer to dive deeper into concepts that other languages typically do not cover.</p><h4>What Can You Build With Rust?</h4><p>A common misconception is that Rust is only for operating systems and extremely low-level software. While Rust is certainly well suited to system level software, it is also excellent for building practical developer tools.</p><p>The following list details just some of the things you can build with Rust:</p><ul><li>CLI calculator</li><li>Git repository analyzer</li><li>Terminal dashboard</li><li>MCP server</li><li>AI developer tool</li></ul><p>You do not need to wait until you are an expert. A few hundred lines of Rust can already produce a useful CLI tool. In fact, there are several Rust-powered tools already built today:</p><ul><li><strong>ripgrep</strong> — Fast text searching</li><li><strong>fd</strong> — Modern file search</li><li><strong>bat</strong> — Modern replacement for cat</li><li><strong>eza</strong> — Modern replacement for ls</li><li><strong>Starship</strong> — Shell prompt</li><li><strong>Ruff</strong> — Python linter and formatter</li><li><strong>uv</strong> — Python package manager</li><li><strong>SWC</strong> — JavaScript/TypeScript tooling</li><li><strong>Biome</strong> — Formatter and linter</li><li><strong>Zed</strong> — High-performance code editor</li></ul><p>As you can see, Rust is very useful for building tools that other developers use.</p><h4>Building Tools with Rust and AI</h4><p>Modern AI tools need a lot of supporting infrastructure. Rust is ideal for building AI-centric developer tools. Rust can handle this layer efficiently as you can build tools such as token analyzers, LLM context optimizers, CLI tools, and much more.</p><p>A simplified architecture looks like this: <strong>Developer → Rust Tool → Repository → LLM → Final Output.</strong></p><p>We have observed the <a href="https://medium.com/stackademic/rust-token-killer-save-claude-code-tokens-with-this-rust-binary-761641e76bda"><strong>Rust Token Killer (RTK)</strong></a><strong> </strong>in a past article which optimizes the use of Claude Code in your development environment.</p><p>This project is a classic example of how you can use Rust to improve the developer experience around AI coding tools.</p><p>Blockchain technology is also where Rust tooling is applied heavily. Popular cryptocurrencies such as Solana, Polkadot and many others incorporate Rust in their development.</p><h4>Rust Learning Roadmap</h4><p>If you want to get started with Rust today, try learning the following in order:</p><ul><li>Syntax</li><li>Loops, Collections, Copy/Non-Copy Types</li><li>Ownership</li><li>Borrowing and References (Mutable/Immutable)</li><li>Option and Result</li><li>Iterators and Closures</li><li>Traits and Generics</li><li>Lifetimes</li><li>Cargo and Crates</li><li>Async and Concurrency</li></ul><p>Once you have learned the basics, you can get started building real-life projects. As discussed before, you can build practical developer tools with just the knowledge above.</p><p>Not everything is needed to be mastered at once. Learn the fundamentals first and then build on the foundation from there.</p><h4>Cargo: The Rust Package Manager</h4><p>Cargo is to Rust what NPM is to Node.js, NuGet is to .NET, and PIP is to Python. It is Rust’s official package manager and build system, handling dependencies, compilation, testing, and other common development tasks.</p><p>Similar to package.json and package-lock.json in the NPM ecosystem, Rust projects use Cargo.toml to define project metadata and dependencies, while Cargo.lock records the exact dependency versions used by the project.</p><p>Some essential Cargo commands include:</p><ul><li>cargo new project — Create a new Rust project</li><li>cargo run — Build and run the project</li><li>cargo check — Check whether the project compiles without producing the final executable</li><li>cargo test — Run tests</li><li>cargo fmt — Format Rust code</li><li>cargo clippy — Analyze code for common mistakes and improvements</li></ul><p>Cargo also manages Rust packages, called <strong>crates</strong>. Developers can create and publish their custom crates through the <a href="https://crates.io/"><strong>crates.io</strong></a><strong> </strong>registry.</p><p>The following list includes crates you may encounter in Rust development:</p><ul><li><strong>clap </strong>— CLI development</li><li><strong>serde </strong>— Data serialization</li><li><strong>reqwest </strong>— HTTP requests</li><li><strong>tokio </strong>— Async programming</li><li><strong>axum </strong>— Web APIs</li><li><strong>anyhow </strong>— Error handling</li><li><strong>tracing </strong>— Application logging</li></ul><p>You do not need to learn these immediately. Learn them as you require them when building out your Rust projects.</p><h4>Rust Learning Resources</h4><p>Learning and mastering Rust will take quite a bit of time.</p><p>For people new to programming, there is going to be a steep learning curve, but if you already are a developer, getting started with Rust should be easy.</p><p>It is a fun and challenging language to learn. Although there is no single roadmap structure for learning Rust, there are several existing learning resources you can tap into and learn the key concepts.</p><p>Start with <a href="https://rarecode.ai/"><strong>RareCode.ai</strong></a>. It is an interactive developer platform geared towards learning through exercises rather than simply reading and implementing concepts textbook style.</p><p>The goal is to write at least 1,000 lines of Rust code and get accustomed to the main concepts and syntax of Rust. There are a total of 80 exercises, but the learning course comes with an added cost of a 6-month subscription.</p><p>I have completed all of the RareCode exercises myself and I am in the process of building out a public GitHub repository which contains solutions to all of the RareCode Rust exercises.</p><p>I cannot share the actual problems, but you can use the solutions as a guide when you start your Rust learning journey.</p><p>You can find that GitHub repository <a href="https://github.com/CodingAbdullah/RareRust">here</a>.</p><p>There is also <a href="http://doc.rust-lang.org/book/"><strong>The Rust Programming Language (The Rust Book)</strong></a> which you can use as a reference guide when learning key Rust concepts. If you want to start learning Rust using the handbook and simple exercises, consider using <a href="https://rustlings.rust-lang.org/"><strong>Rustlings</strong></a>.</p><p>Once you have completed the RareCode exercises and worked through Rust using the official handbook, start building real projects to gain experience and apply what you have learned.</p><p>The things you build do not have to be complex. You can start out by building a custom CLI tool, an AI developer tool, and much more.</p><p>Combine Rust with the technologies you already know and learn from what other developers have built using Rust.</p><h3>Conclusion</h3><p>Rust may have a steeper learning curve than many popular languages, but mastering its fundamentals can deepen your understanding of software while opening the door to building everything from CLI tools and AI infrastructure to high-performance systems.</p><p>Start with the fundamentals, use resources such as RareCode and The Rust Book, and most importantly, turn what you learn into real projects.</p><p>This will allow you to gain experience as you solve real-world problems and reinforce key concepts in Rust development.</p><p>In the list below, you will find links to the following:</p><ul><li><a href="https://rarecode.ai/">RareCode.ai</a></li><li><a href="http://doc.rust-lang.org/book/">The Rust Programming Language (The Rust Book)</a></li><li><a href="https://rustlings.rust-lang.org/">Rustlings Exercises</a></li><li><a href="https://crates.io/">Crates.io Registry</a></li><li><a href="https://medium.com/medium.com/stackademic/rust-token-killer-save-claude-code-tokens-with-this-rust-binary-761641e76bda">Rust Token Killer (RTK) Article</a></li><li><a href="https://github.com/CodingAbdullah/RareRust">RareCode Solutions Repository</a></li></ul><p>I hope you found this article helpful and look forward to more in the future.</p><p>Thank you!</p><h3>Before you go</h3><ul><li>Please take a moment to like the post and follow the writer!</li><li>Did you know that over 400,000 developers share what they’re building, learning, and discovering across our platforms every month? Learn how you can contribute <a href="https://plainenglish.io/write-for-us"><strong>here</strong></a>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddc198cd844f" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/learn-rust-and-start-building-real-developer-tools-ddc198cd844f">Learn Rust and Start Building Real Developer Tools</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a Production-Ready Developer Blog with Next.js and MDX]]></title>
            <link>https://blog.stackademic.com/build-a-production-ready-developer-blog-with-next-js-and-mdx-2476744004ff?source=rss-3345b6ddbac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2476744004ff</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[npm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Abdullah Muhammad]]></dc:creator>
            <pubDate>Tue, 18 Aug 2026 06:39:52 GMT</pubDate>
            <atom:updated>2026-10-07T13:11:36.604Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7H1h76ZM1RYKzQh5_hA_oQ.png" /><figcaption>Exploring a useful NPM package for developing and deploying a technical blog powered by Next.js and MDX</figcaption></figure><p><em>Basic knowledge of web development, NPM, and Next.js will be sufficient for working through the contents of this article.</em></p><p><em>Fond of cryptocurrency? Explore everything related to the Ethereum blockchain with this </em><a href="https://ethereumdashboard.dev/"><em>free, comprehensive dashboard built using Next.js</em></a><em>.</em></p><p><em>Get your article audibles </em><a href="https://mediumdotcomscraper.pro/"><em>here</em></a><em>! I made this tool which makes audio files accessible for any non-paywall Medium articles!</em></p><p><em>Want more content? Visit my </em><a href="https://softwareblog.dev/"><em>tech blog</em></a><em> for more articles, AI and software tools, and free shareable resources.</em></p><p><strong><em>**This article builds on a previous iteration of this blog starter kit. It can be found </em></strong><a href="https://blog.stackademic.com/building-out-a-next-js-blog-using-aws-s3-mdx-react-and-supabase-c68f5d02e9f6"><strong><em>here</em></strong></a><strong><em>.**</em></strong></p><h3>Introduction</h3><p>We have looked at <a href="https://medium.com/stackademic/quick-look-at-publishing-packages-to-the-npm-registry-f37a3e673495">NPM packages in the past</a> and even deployed a dummy package for demonstrative purposes.</p><p><a href="https://medium.com/stackademic/deep-dive-into-mdx-js-for-documentation-and-integration-with-react-b45f8ec71bce">We also explored MDX</a> which is an extended superset of Markdown that allows you to embed JSX elements, create custom components, and write dynamic JavaScript expressions directly inside your content.</p><p>In this article, we will look at an NPM package that I created which allows users to quickly bootstrap and customize a Next.js blog of their own.</p><p>Many of you know about <a href="https://softwareblog.dev/"><strong>softwareblog.dev</strong></a><strong> </strong>which is<strong> </strong>a technical blog that I created from scratch using Next.js.</p><p>The blog contains all of my published articles along with additional features such as user feedback, access to the latest frontier models, a code sandbox, guides/resources, and more.</p><p>The codebase for my blog is closed source, but the NPM package serves as a starter kit enabling users to quickly bootstrap and customize a Next.js blog of their own.</p><p>While the package is by no means in its final form, revisions are made and new features are constantly added to help improve the developer experience.</p><p>We will walk through the setup and highlight the key features of the starter kit and the key technologies that help enable them.</p><h4>Jumpstart Blog Development</h4><p>Building a developer blog sounds straightforward: create a few pages, write some Markdown, deploy the application, and start publishing.</p><p>A modern technical blog can quickly become much more complicated.</p><p>You may want syntax-highlighted code, MDX components, author profiles, tags, search, optimized images, analytics, SEO, newsletters, interactive code examples, database-backed content, and even AI features.</p><p>Instead of rebuilding this infrastructure every time, I built the Next.js MDX Blog Starter Kit, an NPM package designed to help developers build and deploy a developer-focused blog.</p><p>The project provides a ready-to-customize foundation for building technical blogs with Next.js, React, TypeScript, MDX, Supabase, Tailwind CSS, AI functionality, Sandpack, Notify, and other modern web technologies.</p><p>The goal is simple: scaffold the foundation and spend more time writing, customizing, and building.</p><h4>What Does the Starter Kit Provide?</h4><p>The Next.js MDX Blog Starter Kit is more than a collection of pre-designed blog pages.</p><p>It provides much of the underlying infrastructure needed to operate a modern developer blog.</p><p>Out of the box, the project includes functionality around:</p><ul><li>MDX articles</li><li>Static and dynamic content</li><li>Syntax-highlighted code</li><li>Custom MDX components</li><li>GitHub Gists</li><li>Supabase</li><li>AWS S3</li><li>Author profiles</li><li>Tags</li><li>Search</li><li>Related articles</li><li>AI article summaries</li><li>An AI Blog Assistant</li><li>Interactive JavaScript and TypeScript examples</li><li>SEO</li><li>Dark and light themes</li><li>Docker and Vercel deployment</li></ul><p>The architecture is <strong>SSG-first</strong>, meaning content that can be generated statically should be generated statically while dynamic functionality is introduced where it actually provides value.</p><p>This allows the project to retain the performance advantages of a static technical blog without restricting it to static content.</p><h3>The Technology Stack</h3><p>At the center of the project is <a href="https://nextjs.org/docs"><strong>Next.js with the App Router</strong></a>, providing routing, Server Components, metadata handling, static generation, and the overall application architecture.</p><p><strong>React </strong>provides the component model, while <strong>TypeScript </strong>adds type safety throughout the application.</p><p>For content, the starter kit uses <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript"><strong>MDX</strong></a>.</p><p>MDX is particularly useful for developer blogs because it combines the simplicity of Markdown with the ability to use React components directly inside an article.</p><p>That opens the door to considerably richer technical articles. I covered MDX in great detail in an article <a href="https://medium.com/stackademic/deep-dive-into-mdx-js-for-documentation-and-integration-with-react-b45f8ec71bce">here</a>.</p><p>The rest of the stack expands on that foundation.</p><p><strong>Tailwind CSS</strong> and <strong>Shadcn/ui</strong> provide the UI layer. <a href="https://www.npmjs.com/package/supabase"><strong>Supabase</strong></a><strong> </strong>provides database functionality for dynamic content. <strong>AWS S3</strong> can handle content assets and images.</p><p><a href="https://ai-sdk.dev/"><strong>Vercel AI SDK</strong></a> and <strong>Anthropic’s Claude</strong> power the AI functionality.</p><p><a href="https://www.npmjs.com/package/%40codesandbox/sandpack-react"><strong>Sandpack</strong></a><strong> </strong>provides an interactive browser-based coding environment, while <a href="https://notify.cx/"><strong>Notify</strong></a> (notify.cx) handles user feedback functionality.</p><p>Finally, the application can be deployed through <a href="https://vercel.com/docs"><strong>Vercel</strong></a><strong> </strong>or it can be containerized using <a href="https://docs.docker.com/"><strong>Docker</strong></a>.</p><h3>Getting Started</h3><p>You can follow along by visiting this <a href="https://www.npmjs.com/package/create-next-mdx-blog-app">official link</a> to the NPM package. The NPM registry page contains additional links to the <a href="https://github.com/CodingAbdullah/Next-MDX-Blog-Starter">official GitHub repository</a> (used to generate the NPM package) as well as the deployed website.</p><p>Code samples used in this article are pulled from this <a href="https://github.com/CodingAbdullah/Abdullah-Medium-Demos/tree/main/demos/Demo83_Next_MDX_Blog_NPM_Package">GitHub repository</a>.</p><p>One of the main reasons I turned this project into an NPM package was to make blog creation straightforward.</p><p>Instead of manually cloning files and reconstructing the environment, simply run the following command in your CLI:</p><p>npx create-next-mdx-blog-app .</p><p>The scaffolding process prepares the starter kit application and its dependencies so you can begin configuring the project.</p><p>Once installation is complete, start the development environment:</p><p>npm run dev</p><p>You can then begin replacing the starter kit content, configuring integrations, and customizing the application for your own blog.</p><p>Feel free to explore the implementation directly to get a better understanding of how all of this works.</p><h3>SSG-First by Design</h3><p>Blogs are particularly well suited to <strong>Static Site Generation</strong>.</p><p>A published article normally does not need to execute a database query every time someone opens the page.</p><p>Instead, content can be generated ahead of time. The flow looks something like this: <strong>MDX &gt; Next.js Build &gt; Pre-rendered page &gt; CDN &gt; Reader</strong>.</p><p>This provides several advantages, including fast page delivery, CDN caching, reduced server workloads, and strong foundations for SEO.</p><p>The starter kit therefore follows an SSG-first approach. However, not everything inside the kit is designed to be static.</p><p>Dynamic content has its own place and the starter kit enables developers to display dynamic content as well.</p><h4>Static MDX</h4><p>Traditional articles can live directly inside the project as MDX.</p><p>These articles can be processed during the Next.js build and served as pre-rendered pages.</p><p>This is ideal for normal blog posts that do not need to change every few seconds.</p><h4>Dynamic MDX</h4><p>The starter kit can also work with dynamically retrieved content. Conceptually, the flow looks something like this: <strong>Supabase &gt; Next.js Server &gt; MDX Rendering &gt; Article.</strong></p><p>Dynamic MDX allows content to originate outside the static content directory while still benefiting from the MDX component system.</p><p>This gives the project room to evolve beyond a simple file-based blog.</p><p>A developer can use static MDX where static content makes sense and database-backed content where dynamic functionality is needed.</p><p>The official package (<strong>next-mdx-remote</strong>) used to dynamically load and render MDX content from an external source can be found <a href="https://www.npmjs.com/package/next-mdx-remote">here</a>.</p><h4>Writing Technical Content with MDX</h4><p>MDX is one of the most important technologies in the starter kit.</p><p>Markdown is already an excellent format for writing technical content. MDX takes that model and adds React.</p><p>You can develop custom components that can be used inside Markdown.</p><p>That means an article does not have to be restricted to headings, paragraphs, images, and code fences.</p><p>Article frontmatter can also describe the content. The following code fragment details how frontmatter is used in an MDX file (/demos/Demo83_Next_MDX_Blog_NPM_Package/mdx/ArticleContent.mdx):</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4a4f53bab2333a93449282d30a851d84/href">https://medium.com/media/4a4f53bab2333a93449282d30a851d84/href</a></iframe><p>That metadata can then be reused throughout the application for article listings, authors, tags, related content, and SEO.</p><h3>Custom MDX Components</h3><p>This is where MDX becomes particularly interesting for a developer blog.</p><p>The starter kit includes pre-built custom MDX components for presenting technical content rather than treating every article as plain Markdown.</p><h4>Code Blocks</h4><p>Technical articles frequently contain large amounts of source code.</p><p>The starter kit provides developer-friendly code presentation with functionality such as syntax highlighting and copy-to-clipboard support.</p><p>Instead of treating code as an afterthought, code becomes part of the reading experience.</p><p>The following code fragment details what the CodeBlock custom MDX component looks like (/demos/Demo83_Next_MDX_Blog_NPM_Package/mdx/CodeBlock.tsx):</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ea2fa0134128780628370bb7e30e230a/href">https://medium.com/media/ea2fa0134128780628370bb7e30e230a/href</a></iframe><p>It is a custom-built client component that utilizes the SyntaxHighlighter package to enable code syntax highlighting based on language.</p><h4>GitHub Gists</h4><p>GitHub Gists can also be incorporated into MDX content.</p><p>The implementation can retrieve Gist information through GitHub, determine the programming language, apply syntax highlighting, and render the result as part of the article.</p><p>Conceptually, the flow looks something like this:<strong> MDX Article &gt; Gist Component &gt; GitHub API &gt; Source Code &gt; Syntax Highlighting &gt; Article.</strong></p><p>For programming tutorials, this makes it possible to connect blog content with code maintained outside the article itself.</p><p>In fact, I built a site that allows users to granularly view each GitHub Gist with greater interactivity (<a href="https://www.mdxgists.net/">mdxgists.net</a>). The starter kit uses this site.</p><p>The following code fragment builds on smaller sub-components (which can be found here /demos/Demo83_Next_MDX_Blog_NPM_Package/mdx/GitHubGist.tsx) to build a custom GitHubGist MDX component:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/45312217dc477c32a2c9b8649c18ee6d/href">https://medium.com/media/45312217dc477c32a2c9b8649c18ee6d/href</a></iframe><p>If you understand the flow of the codebase, understanding this code fragment becomes very easy.</p><h4>Images</h4><p>Custom image handling also allows technical articles to benefit from Next.js image optimization, responsive sizing, captions, and consistent presentation.</p><p>Together, these components turn MDX into more than a content format. The following code fragment details a custom component which optimizes the process of image handling (/demos/Demo83_Next_MDX_Blog_NPM_Package/mdx/MDXImage.tsx):</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f40ac38f8347f2e6e3949b8c94028142/href">https://medium.com/media/f40ac38f8347f2e6e3949b8c94028142/href</a></iframe><p>The custom MDX component builds on the built-in Next.js Image component and optimizes the image handling process.</p><h3>Dynamic Content with Supabase</h3><p>Not everything inside a blog needs to live in an MDX file. The starter kit integrates <strong>Supabase</strong> for functionality that benefits from a database.</p><p>Next.js Server Components can interact with the database server-side, allowing data to be retrieved without unnecessarily creating an additional client-side data layer.</p><p>One example is article view tracking.</p><p>A static article can remain optimized for delivery while dynamic systems keep track of information surrounding that article.</p><p>This combination is an important part of the architecture as it keeps content static where possible and introduces dynamic infrastructure where it provides a real benefit.</p><p>The package includes tooling for working with database-backed article content, providing a more developer-oriented workflow for creating and managing content.</p><h3>AI-Powered Blog Features</h3><p>AI is another area where the starter kit goes beyond a conventional MDX template.</p><p>Rather than adding AI simply for the sake of having a chatbot, the project uses it to improve how readers interact with technical content.</p><h4>AI Blog Assistant</h4><p>The starter kit includes an AI Blog Assistant powered by <strong>Claude and the Vercel AI SDK</strong>.</p><p>At a high level, the flow looks something like this: <strong>Reader &gt; Blog Assistant &gt; Next.js &gt; Vercel AI SDK &gt; Claude &gt; Streaming Response</strong>.</p><p>Readers can interact with the assistant through the blog rather than leaving the site to ask questions elsewhere.</p><p>Streaming responses also make the interaction feel much more immediate.</p><h4>AI Article Summaries</h4><p>Long technical tutorials can be difficult to evaluate before committing to reading the entire article.</p><p>The article summarization functionality allows readers to generate a shorter overview or TL;DR.</p><p>The implementation can incorporate article context, streaming output, caching, rate limiting, and other server-side protections.</p><p>This is a good example of AI being used as an enhancement to existing content rather than a replacement for it.</p><h3>Interactive Code with Sandpack</h3><p>Reading source code and running source code are two very different experiences.</p><p>To run source code, users would need to copy the code, open an editor, create a project or file, and run it themselves.</p><p>The starter kit includes a <strong>Sandpack-powered code sandbox </strong>that allows JavaScript and TypeScript examples to execute directly in the browser.</p><p>This is particularly useful for educational content.</p><p>A tutorial can become an interactive programming environment instead of simply a document containing code.</p><h4>Organizing and Discovering Content</h4><p>As a blog grows, publishing articles is only half of the problem. Readers also need ways to discover them.</p><p>The starter kit includes <strong>author profiles</strong>, allowing content to be associated with individual writers.</p><p><strong>Tags</strong> provide another level of organization and allow related subjects to be grouped together.</p><p><strong>Search</strong> helps readers find existing articles, while related-content functionality can direct readers toward additional material based on common topics or metadata.</p><p>Together, these features allow the starter kit to scale beyond a small collection of posts.</p><h3>The Reading Experience</h3><p>A good developer blog needs to be comfortable to read and use.</p><p>The starter kit includes several smaller features that contribute to the overall experience:</p><ul><li>Dark and light themes</li><li>Reading progress</li><li>Responsive layouts</li><li>Back-to-top functionality</li><li>Copy-link functionality</li><li>Social sharing</li><li>Toast notifications</li><li>Developer-focused styling</li></ul><p>Individually, these features may seem small, but together, they make the difference between an MDX renderer and a polished blogging experience.</p><h3>User Feedback with Notify</h3><p>You should always be looking to improve and iterate your technical blog. That is why the starter kit allows you to gather user feedback in the form of emails with the help of the Notify API.</p><p>The basic workflow is straightforward: <strong>Reader &gt; Feedback Form &gt; Next.js &gt; Notify.</strong></p><p>This provides a foundation for collecting and assessing user feedback, allowing developers to continuously improve their blogs based on what readers have to say.</p><h3>SEO</h3><p>Discoverability matters just as much as writing.</p><p>The starter kit includes the foundations needed for search-engine-friendly content, including metadata, static generation, semantic pages, sitemap functionality, robots configuration, and optimized images.</p><p>Many of these features are provided by Next.js App Router itself as it is a web framework optimized for developing SEO-friendly full-stack websites.</p><p>The SSG-first architecture also complements SEO because much of the primary article content can be delivered as pre-rendered HTML.</p><h3>Analytics</h3><p>The starter kit includes <a href="https://vercel.com/docs/analytics"><strong>Vercel Analytics</strong></a> which is a privacy-friendly, built-in tool that tracks website traffic, visitor demographics, and app performance directly inside your Vercel dashboard.</p><p>With analytics and article view information, developers can begin understanding which articles readers are discovering and what content performs well.</p><p>That information can then influence future articles and improvements to the blog.</p><h3>Making the Starter Kit Your Own</h3><p>After scaffolding the application, you can replace the default identity with your own.</p><p>This can include anything from the site name, logo, favicon, navigation, colour scheme, author information, social profiles, MDX content, and so much more.</p><p>You can also remove functionality you do not need. If your blog does not require AI, remove it. If you do not need dynamic articles, stick with static MDX.</p><p>If you want an entirely different design, replace the presentation layer while keeping the underlying content architecture.</p><p>The starter kit is intended to give you infrastructure without dictating what your finished blog must become.</p><h3>Deployment Options</h3><p>Once the blog is ready, there are multiple deployment options available to you using the starter kit.</p><h4>Vercel</h4><p>Vercel is optimized for the deployment of Next.js applications. It provides the most straightforward path for deployment.</p><p>Connect the repository, configure the necessary environment variables, build the application, and deploy.</p><p>To track analytics, your blog will need to be deployed to Vercel because it uses Vercel Analytics.</p><h4>Docker</h4><p>The starter kit includes a custom Dockerfile and a .dockerignore file, which helps optimize the image-building process.</p><p>The containerized approach will enable developers to have more control over infrastructure.</p><p>A local Docker setup may look like the following (building the image using the Dockerfile and then running a container off the image):</p><p>docker build -t next-mdx-blog .</p><p>docker run -p 3000:3000 next-mdx-blog</p><p>Docker opens the door to deploying the application across different container platforms and cloud environments rather than tying the project to a single hosting provider.</p><h3>Conclusion</h3><p>The Next.js MDX Blog Starter Kit combines several layers of a modern technical publishing platform:</p><p><strong>Content: </strong>MDX, static articles, dynamic articles, frontmatter, tags, and authors.</p><p><strong>Developer Experience: </strong>Next.js, React, TypeScript, reusable components, and NPM scaffolding.</p><p><strong>Technical Content: </strong>Syntax highlighting, GitHub Gists, optimized images, and interactive Sandpack examples.</p><p><strong>AI: </strong>Claude-powered article summaries and a Blog Assistant.</p><p><strong>Data: </strong>Supabase and database-backed functionality.</p><p><strong>Audience: </strong>Search, related content, social sharing, and feedback.</p><p><strong>Production: </strong>SEO, analytics, Vercel, and Docker.</p><h4>Who Is This For?</h4><p>The starter kit is primarily designed for developers and technical creators who want control over their publishing platform.</p><p>It can work as a personal developer blog, an engineering blog, a tutorial platform, or the foundation for a larger developer-content project.</p><p>You also do not have to use every integration.</p><p>The value of a starter kit is being able to take the parts you need and extend or remove the rest.</p><h4>Where Can You Take It Next?</h4><p>The current starter kit provides the foundation, but there are plenty of directions in which it can be extended.</p><p>Authentication could introduce reader accounts, bookmarks and reading lists could allow readers to save content, and comments could introduce community discussions.</p><p>Additional MDX components could make articles even more interactive. Premium content or other monetization models could also be introduced to unlock exclusive content.</p><p>The sky is the limit.</p><p>Fork it. Change it. Remove things. Add things. Make it yours.</p><p>In the list below, you will find links to the official NPM package, the starter kit’s GitHub repository, and the GitHub repository used in this article:</p><ul><li><a href="https://www.npmjs.com/package/create-next-mdx-blog-app">Starter Kit NPM Package</a></li><li><a href="https://github.com/CodingAbdullah/Next-MDX-Blog-Starter/tree/main">Starter Kit GitHub Repository</a></li><li><a href="https://github.com/CodingAbdullah/Abdullah-Medium-Demos/tree/main/demos/Demo83_Next_MDX_Blog_NPM_Package">Article GitHub Repository</a></li></ul><p>I hope you enjoyed this article and look forward to more in the future.</p><p>Thank you!</p><h3>Before you go</h3><ul><li>Please take a moment to like the post and follow the writer!</li><li>Did you know that over 400,000 developers share what they’re building, learning, and discovering across our platforms every month? Learn how you can contribute <a href="https://plainenglish.io/write-for-us"><strong>here</strong></a><strong>.</strong></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2476744004ff" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/build-a-production-ready-developer-blog-with-next-js-and-mdx-2476744004ff">Build a Production-Ready Developer Blog with Next.js and MDX</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Level Up with Claude and AWS Certifications]]></title>
            <link>https://blog.stackademic.com/level-up-with-claude-and-aws-certifications-474967c35a95?source=rss-3345b6ddbac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/474967c35a95</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Abdullah Muhammad]]></dc:creator>
            <pubDate>Sun, 26 Jul 2026 23:34:11 GMT</pubDate>
            <atom:updated>2026-08-18T12:25:01.981Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*-SGdeINv1KILrPvdUuDtag@2x.jpeg" /><figcaption>Exploring the different Anthropic and AWS certification paths</figcaption></figure><p><em>Basic knowledge of web development, cloud, and LLMs will be sufficient for working through the contents of this article.</em></p><p><em>Fond of cryptocurrency? Explore everything related to the Ethereum blockchain with this </em><a href="https://ethereumdashboard.dev/"><em>free, comprehensive dashboard built using Next.js</em></a><em>.</em></p><p><em>Get your article audibles </em><a href="https://mediumdotcomscraper.pro/"><em>here</em></a><em>! I made this tool which makes audio files accessible for any non-paywall Medium articles!</em></p><p><em>Want more content? Visit my </em><a href="https://softwareblog.dev/"><em>tech blog</em></a><em> for more articles, AI and software tools, and free shareable resources.</em></p><h3>Introduction</h3><p><a href="https://medium.com/stackademic/the-core-concepts-and-principles-of-cloud-computing-85f8b63bc3d3?source=user_profile_page---------53-------------3345b6ddbac7----------------------">In a previous article</a>, we covered the fundamentals of cloud computing and explored the many benefits it provides to modern <strong>enterprises</strong>.</p><p>Most of the material presented in that in-depth article aligns with the foundational concepts assessed in the entry-level<strong> AWS Cloud Practitioner</strong> certification.</p><p><a href="https://medium.com/stackademic/your-aws-ai-practitioner-exam-summary-sheet-904c10bae3b0">In another article</a>, we explored the core concepts of agentic AI and looked at how AWS cloud services enable developers to build AI-powered applications.</p><p>That article introduced many of the foundational topics that align with the <strong>AWS Certified AI Practitioner</strong> certification.</p><p>While certifications are a nice-to-have (if you have a knack for badge collecting), they do not tell the full story as a software engineer.</p><p>Certifications can strengthen your resume and even serve as a nice flex, but ultimately what matters is how you apply that knowledge as a software engineer.</p><p>In the following sections, I will cover the different AWS certifications and Anthropic certifications that software engineers can pursue.</p><h4>AWS Certification Paths</h4><p>In this section, I will briefly cover the different certification paths and/or specializations one can undertake.</p><p>As an engineer, you have the flexibility to pursue one or more AWS certification paths.</p><p>From AI, cybersecurity, data, and DevOps to cloud architecture, networking, and machine learning, AWS offers a wide range of certifications for professionals across many roles and experience levels.</p><p>Among the most popular advanced AWS certifications are the <strong>AWS Certified Solutions Architect (Professional)</strong> and the<strong> AWS Certified Machine Learning Engineer (Associate)</strong>.</p><p>The following <a href="https://d1.awsstatic.com/onedam/marketing-channels/website/aws/en_US/certification/approved/pdfs/AWS_certification_paths.pdf">link</a> highlights the different AWS certification paths and how you can work your way to obtaining the most advanced certifications AWS has to offer.</p><p>While many newcomers begin with the <strong>AWS Certified Cloud Practitioner</strong> certification, it is not a prerequisite for any other AWS certification path.</p><p>However, it is a <strong>foundational-level</strong> certification that every developer should have when working with AWS services.</p><p>While rough time estimates are provided between certifications as you level up, your ability to study for and pass these certification exams depends largely on your level of experience and familiarity with AWS.</p><h4>Anthropic (Claude) Certifications</h4><p>In addition to AWS certifications, Anthropic now offers <strong>four paid certifications </strong>that aspiring developers can try to obtain.</p><p>As you progress through the certification path, you will develop increasingly advanced knowledge of Claude AI, its APIs, MCP, and enterprise AI architectures.</p><p>These certifications are not available to individuals. You must be employed and your employer must be affiliated with the <a href="https://claude.com/partners"><strong>Claude Partner Network</strong></a>.</p><p>The following list highlights the four new Anthropic certifications :</p><ul><li><strong>Claude Certified Associate Foundations ($99) — </strong>Validates your ability to use Claude effectively for business workflows through prompt engineering, model selection, output evaluation, and responsible AI best practices.</li><li><strong>Claude Certified Developer Foundations ($125) — </strong>Validates your ability to build applications with Claude using the Anthropic API, prompt engineering, tool use, Model Context Protocol (MCP), and production-ready development practices.</li><li><strong>Claude Certified Architect Foundations ($125) —</strong>Validates your ability to design secure, scalable, production-ready Claude solutions by applying architecture best practices, context management, MCP, Claude Code, and enterprise AI integration principles.</li><li><strong>Claude Certified Architect Professional ($175) —</strong>Validates your expertise in designing and leading enterprise-scale Claude deployments with advanced architecture, governance, security, scalability, and organizational AI adoption strategies.</li></ul><p>The exams for each of these certifications can be <strong>completed online </strong>and the certifications themselves are <strong>valid for one year.</strong></p><p>Further details on the Anthropic certifications can be found <a href="https://www.pearsonvue.com/us/en/anthropic.html">here</a>.</p><h3>Conclusion</h3><p>We briefly explored the AWS and Anthropic certification paths. While the AWS certifications are open to anyone, Anthropic-specific certifications can only be obtained if you work for an employer who is partnered with Anthropic.</p><p>As stated earlier, whether or not you choose to pursue these certifications is up to you. While they can be a valuable addition to your resume, how you apply the knowledge you gain is ultimately what demonstrates your true expertise.</p><p>In the list below, you will find links to the official AWS and Claude certification paths as well as the GitHub repository that contains a comprehensive README.md file detailing the different certification paths:</p><ul><li><a href="https://www.pearsonvue.com/us/en/anthropic.html">Anthropic Certification Paths</a></li><li><a href="https://d1.awsstatic.com/onedam/marketing-channels/website/aws/en_US/certification/approved/pdfs/AWS_certification_paths.pdf">AWS Certification Paths</a></li><li><a href="https://github.com/CodingAbdullah/Abdullah-Medium-Demos/tree/main/demos/Demo82_AWS_Claude_Certification_Paths">GitHub Repository</a></li></ul><p>Good luck levelling up!</p><p>I hope you enjoyed this short article and look forward to more in the future.</p><p>Thank you!</p><h3>Before you go</h3><ul><li>Please take a moment to like the post and follow the writer!</li><li>Did you know that over 400,000 developers share what they’re building, learning, and discovering across our platforms every month? Learn how you can contribute <a href="https://plainenglish.io/write-for-us">here</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=474967c35a95" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/level-up-with-claude-and-aws-certifications-474967c35a95">Level Up with Claude and AWS Certifications</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TL;DR on Automated Workflows with N8N]]></title>
            <link>https://blog.stackademic.com/tl-dr-on-automated-workflows-with-n8n-b897af3f1a9b?source=rss-3345b6ddbac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b897af3f1a9b</guid>
            <category><![CDATA[n8n]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Abdullah Muhammad]]></dc:creator>
            <pubDate>Sat, 27 Jun 2026 10:27:56 GMT</pubDate>
            <atom:updated>2026-08-18T12:27:05.417Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*Yh3E3eC-W8ZUqGNGBpvjdw.png" /><figcaption>Exploring N8N workflows and how to easily create and deploy a custom workflow</figcaption></figure><p><em>Basic knowledge of web development, </em><a href="https://n8n.io/"><em>N8N.io</em></a><em>, and Next.js will be sufficient for working through the contents of this article.</em></p><p><em>Fond of cryptocurrency? Explore everything related to the Ethereum blockchain with this </em><a href="https://ethereumdashboard.dev/"><em>free, comprehensive dashboard built using Next.js</em></a><em>.</em></p><p><em>Get your article audibles </em><a href="https://www.mediumdotcomscraper.pro/"><em>here</em></a><em>! I made this tool which makes audio files accessible for any non-paywall Medium articles!</em></p><p><em>Want more content? Visit my </em><a href="https://softwareblog.dev/"><em>tech blog</em></a><em> for more articles, AI and software tools, and free shareable resources.</em></p><h3>Introduction</h3><p>In this short article, we will cover the main features of working with automated workflows using <a href="https://n8n.io/">N8N.io</a>.</p><p>We will highlight the main features of working with N8N workflows and look at a sample workflow I created to help you better understand how to work with them.</p><p>In a future article, we will explore the <a href="https://trigger.dev/">Trigger.dev</a> library which can be used to enhance your experience with N8N workflows in a Next.js application.</p><h4>What are N8N Workflows?</h4><p>Unlike AI agents, N8N workflows are static in nature. From the trigger node to the last node, automated workflows follow the exact same execution pattern.</p><p>AI agents are dynamic in nature. They may have access to the same tooling, LLMs, and other resources, but the results vary each time the same task is being completed.</p><h4>N8N Workflow Nodes</h4><p>N8N workflows are an interconnected system of nodes. Each node inside a N8N workflow fulfills a unique purpose that helps to serve the overall goal of the workflow.</p><p>The following list highlights important nodes that you will use in workflow development:</p><ul><li><strong>Trigger Nodes — </strong>Start a workflow based on an event, schedule, web hook, or manual execution.</li><li><strong>Action Nodes — </strong>Perform operations in external databases and services.</li><li><strong>Core Nodes — </strong>Built-in utility nodes for manipulating data, merging inputs, and other common workflow operations.</li><li><strong>Flow Control Nodes — </strong>Control the execution path of a workflow using conditions, branching, looping, and error handling.</li><li><strong>Data Transformation Nodes — </strong>Modify, format, convert, filter, and restructure data between workflow steps.</li><li><strong>Code Nodes — </strong>Execute custom JavaScript or Python when built-in nodes are insufficient.</li><li><strong>HTTP &amp; API Nodes — </strong>Connect to virtually any REST or GraphQL API, including sending requests and processing responses.</li><li><strong>Database Nodes — </strong>Read, write, update, and query data from SQL and NoSQL databases.</li><li><strong>File &amp; Binary Nodes — </strong>Handle files, images, PDFs, spreadsheets, binary data, and file conversions.</li><li><strong>Communication Nodes — </strong>Send notifications, emails, messages, and interact with chat or collaboration platforms.</li><li><strong>AI Nodes — </strong>Integrate with LLMs, vector databases, AI agents, and memory.</li><li><strong>Authentication &amp; Credential Support — </strong>Use secure credentials such as API keys, bearer tokens, and environment variables to access external services.</li><li><strong>Community Nodes — </strong>Extend n8n with additional integrations and functionality through community-developed node packages.</li></ul><p>These are the main N8N nodes you will encounter in development.</p><h4>N8N Workflow Setup Options</h4><p>When working with N8N workflows, you have several setup options at your disposal.</p><p>The most common way to get started on N8N workflows is by using the official N8N Docker image.</p><p>N8N comes with its own official published image that you can fetch from <a href="https://hub.docker.com/r/n8nio/n8n"><strong>DockerHub</strong></a> and run a container instance of that image locally on your machine.</p><p>The second option is to install the official <a href="https://www.npmjs.com/package/n8n"><strong>N8N NPM package</strong></a> from the NPM registry locally on your computer.</p><p>Simply invoking <strong>n8n </strong>in your terminal will open the N8N workspace on <strong><em>localhost:5678</em></strong>.</p><p>Lastly, if you do not want to manage any infrastructure on your own, N8N cloud is the way to go. You can simply sign up and subscribe to any of their paid plans.</p><h4>N8N Workflow Example</h4><p>You can follow along by cloning this <a href="https://github.com/CodingAbdullah/Abdullah-Medium-Demos">GitHub repository</a>. The directory we will be working with is located here /demos/Demo81_N8N_Workflows/n8n_workflows.</p><p>In this section, we will cover a workflow that I personally created for the purposes of learning.</p><p>The following image captures the purpose of this workflow /demos/Demo81_N8N_Workflows/n8n_workflows/Daily_Crypto_Market_Update_Email.PNG:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*trq9I6G1Iphd3zrXLxi2WQ.png" /><figcaption>Simple workflow gathers cryptocurrency data and uses an AI agent and Resend node to send detailed emails</figcaption></figure><p>The workflow is based on a scheduled trigger node. This node automatically runs the workflow at a set schedule and starts out by retrieving cryptocurrency market data using APIs with the help of the HTTP node.</p><p>These are authenticated API calls so authentication must be provided within the HTTP node itself in the form of an API key.</p><p>The data from the response is processed and cleaned up using code function nodes and merged together as a feed for an AI agent node.</p><p>AI agent nodes inside N8N workflows are complex. For this example, I did not add any external tooling or memory storage (you have the option of selecting and connecting to a database).</p><p>The AI agent node is given a prompt to help write an email message which contains a detailed paragraph explaining the context of the incoming market data.</p><p>Finally, a plug-in node is used to send out the email containing the detailed information. I used the Resend plug-in node to send emails.</p><p>It is mandatory to provide the necessary authentication in plug-in nodes in order to use them.</p><p>You can view the exported N8N workflow in JSON format <a href="https://gist.github.com/CodingAbdullah/c1d23479be52ca9bc57b1e5053fc307a">here</a>. The JSON document is a very long read.</p><h3>Conclusion</h3><p>We did a deep dive into N8N workflows. We covered the main aspects of the N8N ecosystem and looked at a sample workflow that you can design on your own using different nodes such as the flow, code, merge, and plug-in nodes.</p><p>In the list below, you will find links to the official N8N docs and the GitHub repository containing the exported N8N workflow in JSON format:</p><ul><li><a href="https://docs.n8n.io/">N8N Official Docs</a></li><li><a href="https://github.com/CodingAbdullah/Abdullah-Medium-Demos/tree/main/demos/Demo81_N8N_Workflows">GitHub Repository</a></li></ul><p>I hope you found this article helpful and look forward to more in the future.</p><p>Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b897af3f1a9b" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/tl-dr-on-automated-workflows-with-n8n-b897af3f1a9b">TL;DR on Automated Workflows with N8N</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rust Token Killer: Save Claude Code Tokens with This Rust Binary]]></title>
            <link>https://blog.stackademic.com/rust-token-killer-save-claude-code-tokens-with-this-rust-binary-761641e76bda?source=rss-3345b6ddbac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/761641e76bda</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[rust]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Abdullah Muhammad]]></dc:creator>
            <pubDate>Sat, 16 May 2026 20:37:31 GMT</pubDate>
            <atom:updated>2026-05-18T08:42:46.757Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hvOdJhvMMgO972NORtCqMw.png" /><figcaption>Save on Claude Code tokens with this handy Rust binary</figcaption></figure><p><em>Basic knowledge of web development, LLMs, and token usage will be sufficient for working through the contents of this article.</em></p><p><em>Fond of cryptocurrency? Explore everything related to the Ethereum blockchain with this </em><a href="https://ethereumdashboard.dev/"><em>free, comprehensive dashboard built using Next.js</em></a><em>.</em></p><p><em>Get your article audibles </em><a href="https://www.mediumdotcomscraper.pro/"><em>here</em></a><em>! I made this tool which makes audio files accessible for any non-paywall Medium articles!</em></p><p><em>Want more content? Visit my </em><a href="https://softwareblog.dev/"><em>tech blog</em></a><em> for more articles, AI and software tools, and free shareable resources.</em></p><h3>Introduction</h3><p>Whether you are using Claude Code or Codex as agents for coding, one thing is clear: you want your agents to be as productive and efficient as possible with the allocated token budget.</p><p>In this short article, we will highlight a popular Rust binary which you can install and integrate into your development workflow, allowing you to save on tokens.</p><p>You do not need to have experience with Rust or its package manager, Cargo.</p><p>This step-by-step guide will walk you through the entire setup process.</p><h4>What is RTK?</h4><p><strong>Rust Token Killer </strong>or <strong>RTK </strong>for short, is a Rust binary built specifically to reduce the amount of token usage of your Claude Code agent.</p><p>It sits between the Claude Code execution shell and the LLM context, filtering command output before it reaches the model.</p><p>What it does:</p><ul><li>Intercepts Shell/Tool output</li><li>Strips Noise (logs, test results, etc.)</li><li>Compresses output before Claude sees it</li><li>Reduces token usage based on noisy workflows</li></ul><p>You can find the official RTK GitHub repository <a href="https://github.com/rtk-ai/rtk">here</a>.</p><h4>What are Rust and Cargo?</h4><p><strong>Rust </strong>is a systems programming language that operates much closer to hardware than higher-level languages such as Java, Python, and TypeScript. It focuses on performance, memory, and concurrency.</p><p>As such, it is an ideal language for back-end services, CLI tools, compilers, and even the blockchain (Solana uses it for smart contract functionality).</p><p><strong>Cargo </strong>is a build tool as well as Rust’s package manager. It is to Rust what NPM, PIP, and the Go package manager are to JavaScript, Python, and Go, respectively.</p><p>It allows users to publish “crates” which are simply Rust packages to the Cargo registry. This enables other users and developers alike to install these crates and use them in their own Rust projects.</p><h3>Installation Process</h3><p>In this section, we will walkthrough the installation process for both Rust/Cargo as well as the RTK binary.</p><p>I am using the Windows operating system so we will use Windows-based commands for installing Rust/Cargo as well as the RTK binary.</p><h4>Installing Rust and Cargo</h4><p>You can install both Rust and Cargo with the following command:</p><p>winget install Rustlang.Rustup</p><p>You can verify installation using the following two commands:</p><ul><li>rustc --version</li><li>cargo --version</li></ul><p>If there are any issues with the installation process, you can visit the official installation docs <a href="https://rust-lang.org/tools/install/">here</a>.</p><h4>Installing the RTK Binary</h4><p>Once you have verified and installed Rust and Cargo, we can proceed with installing the RTK tool.</p><p>This Cargo command will take care of everything:</p><ul><li>cargo install --git <a href="https://github.com/rtk-ai/rtk">https://github.com/rtk-ai/rtk</a></li></ul><p>For optimal usage, you can read up the README.md file inside this GitHub repository. It is detailed and covers how to use it in your development workflow.</p><p>You can verify successful installation with the help of the following two commands:</p><ul><li>rtk --version</li><li>rtk --help</li></ul><p>The first should output the latest version of the RTK tool (which at the time of this writing is 0.34.3) and the second should detail a comprehensive list of commands you can use with the RTK tool.</p><h3>Optimal Usage</h3><p>RTK wraps common “noisy” commands utilized by Claude Code in your development workflow. These can include commands related to Git, NPM, Docker, and many other command development tools.</p><p>The goal is to reduce unnecessary token consumption by minimizing command output, allowing tokens to be spent on higher-value tasks such as coding and reasoning rather than routine operations like version control, builds, and testing.</p><p>To ensure proper usage in your development workflow, you will need to add RTK inside your project using the following command:</p><ul><li>rtk init</li></ul><p>Since I use Claude Code with the Cursor IDE, the newer command looks something like this:</p><ul><li>rtk init -g --agent cursor</li></ul><p>This specific command initializes RTK in your project so Claude Code can work with it.</p><p>It creates a .rtk directory (at the location where you ran this command) that contains a filters.toml file.</p><p>This configuration file controls RTK filtering behaviour based on specific commands used by Claude Code.</p><h4>RTK Best Practices</h4><p>To utilize RTK effectively, you should have a dedicated section inside your CLAUDE.md file which describes to the Claude Code agent on how to best use it.</p><p>You can clone this <a href="https://github.com/CodingAbdullah/Abdullah-Medium-Demos">GitHub Repository</a>. The directory we will work with is located here /demos/Demo80_RTK_Claude_Optimizer.</p><p>The following markdown file serves as an example of how you would add RTK related instructions inside a CLAUDE.md file:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c5f4c6a7599c8c9a4474f965a49cbe4c/href">https://medium.com/media/c5f4c6a7599c8c9a4474f965a49cbe4c/href</a></iframe><p>It may seem like a lot of instructions, but adequately detailing all of them this way will ensure optimal token usage during development.</p><p>Committing the .rtk directory really depends on your development workflow. If this is a local-only preference, you may not need to commit this directory to Git or any other source code management tool.</p><p>However, if you intend on sharing it as part of the development workflow, you should note that users who clone your repository <strong>may not have RTK installed locally.</strong></p><p><strong><em>In fact, it may be wise to add a line or two inside the </em></strong><em>CLAUDE.md</em><strong><em> file to tell the Claude Code agent to bypass RTK instructions if the Rust binary is not installed locally.</em></strong></p><p>If you choose not to commit this directory, you can simply add it to your .gitignore file like other common directories such as .claude, .cursor, .github, and so on.</p><h4>RTK for Generating Token Usage Reports</h4><p>In this section, we will cover a common RTK command for analyzing token usage and efficiency.</p><p>If you run rtk gain inside your project directory using Claude Code, you should see something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V3tDG3sH_AH9L0yBNkQCfw.png" /><figcaption>RTK can be used to generate a Claude Code token usage report</figcaption></figure><p>Running rtk gain inside Claude Code will detail a nice summary of the tokens saved based on the different development tool commands utilized.</p><p>Saving on tokens improves developer efficiency because it enables them to allocate tokens for higher-value tasks.</p><p>This also highlights the importance of good context and AI prompting. Providing noisy context causes your Claude Code agent to increase token usage and reduce efficiency.</p><p>Remember, <strong>Context → Instruction → Input → Output.</strong></p><h3>Conclusion</h3><p>We covered a handy Rust binary called RTK which can help you save on Claude Code tokens.</p><p>As agentic development continues to grow, it is important to get the most out of your agents while also ensuring token usage is optimized for development purposes.</p><p>We covered the installation process of Rust/Cargo and the RTK binary. We highlighted best practices of using the RTK binary in your development workflow (CLAUDE.md integration, .rtk directory, etc.).</p><p>In the list below, you will find links to the official RTK GitHub repository as well as links to the Rust docs, Cargo docs (Rust’s package manager), and the GitHub repository used in this article:</p><ul><li><a href="https://github.com/rtk-ai/rtk">RTK — Rust Binary</a></li><li><a href="https://doc.rust-lang.org/stable/">Rust Docs</a></li><li><a href="https://doc.rust-lang.org/cargo/commands/cargo-doc.html">Cargo Docs</a></li><li><a href="https://github.com/CodingAbdullah/Abdullah-Medium-Demos/tree/main/demos/Demo80_RTK_Claude_Optimizer">GitHub Repository</a></li></ul><p>I hope you found this article helpful and look forward to more in the future.</p><p>Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=761641e76bda" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/rust-token-killer-save-claude-code-tokens-with-this-rust-binary-761641e76bda">Rust Token Killer: Save Claude Code Tokens with This Rust Binary</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Short Dummies Guide to the HyperLiquid L1 Blockchain]]></title>
            <link>https://blog.stackademic.com/the-short-dummies-guide-to-the-hyperliquid-l1-blockchain-40827f8a688a?source=rss-3345b6ddbac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/40827f8a688a</guid>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Abdullah Muhammad]]></dc:creator>
            <pubDate>Fri, 15 May 2026 04:35:50 GMT</pubDate>
            <atom:updated>2026-05-18T08:33:58.106Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zkkhm-5rvuwmGdx4FS5TTw.png" /><figcaption>Everything you need to know to get started with HyperLiquid</figcaption></figure><p><em>Basic knowledge of cryptocurrencies, spot/perpetual trading, and the blockchain will be sufficient for working through the contents of this article.</em></p><p><em>Fond of cryptocurrency? Explore everything related to the Ethereum blockchain with this </em><a href="https://ethereumdashboard.dev/"><em>free, comprehensive dashboard built using Next.js</em></a><em>.</em></p><p><em>Get your article audibles </em><a href="https://www.mediumdotcomscraper.pro/"><em>here</em></a><em>! I made this tool which makes audio files accessible for any non-paywall Medium articles!</em></p><p><em>Want more content? Visit my </em><a href="https://softwareblog.dev/"><em>tech blog</em></a><em> for more articles, AI and software tools, and free shareable resources.</em></p><h3>Introduction</h3><p>In the last couple of years, we have seen significant growth in the tokenization of real world assets (RWAs) and stablecoins.</p><p>Aside from just providing liquidity to the cryptocurrency market, stablecoins have seen a surge in adoption in a variety of ways.</p><p>For instance, in the design of agentic payment systems (the <strong>x402 protocol</strong>) or even in regular, day-to-day commerce.</p><p>Companies like Stripe and PayPal have designed and integrated rails for accepting cryptocurrency payments in the form of stablecoins.</p><p>Stablecoins also serve a useful purpose in the world of trading. As it relates to perpetual futures and spot trading, stablecoins serve as essential liquidity allowing users to open positions on-chain.</p><p>Today, we will focus on a promising L1 blockchain known as <strong>HyperLiquid </strong>and explore its essential features.</p><p>Remember, we covered stablecoins in a previous article.</p><p>Namely, when we covered agentic payments using the <a href="https://medium.com/stackademic/the-x402-protocol-enabling-agentic-payments-for-apis-with-http-402-0c29d8741118">x402 protocol with USDC (a common stablecoin) on the popular L2 chain, Base.</a></p><h4>HyperLiquid: The Chain to House All of Finance</h4><p>Well, that is their motto. HyperLiquid is a perp focused L1 trading system with a native on-chain orderbook.</p><p>You get the best of both worlds between a centralized exchange and decentralized exchange in that, the operations are fast and you get to keep control of your own wallet and funds.</p><p>You trade directly from your crypto wallet (HyperLiquid works with EVM wallets), no KYC, open/close positions in both directions (long/short), set profit taking/stop loss, use an on-chain orderbook, and so much more.</p><p>We will not get into the technical details of HyperLiquid as that will extend beyond the scope of this article.</p><p>After all, there is adequate documentation out there that you can lookup yourself.</p><p>This article will mainly serve as a guide for beginners who have an elementary understanding of cryptocurrencies and want a head start using HyperLiquid.</p><h4>Trading Vocabulary</h4><p>When it comes to trading, there are a few core concepts you need to get familiar with.</p><p>The subsequent sections detail a list of things you should know.</p><h4>Spot Trading</h4><p>You have to actually buy the asset. So say, you want to buy 1 BTC, you will need to pay the market price of BTC at the time of purchase.</p><p>The benefit here is that you have full ownership of the asset and do not deal with liquidations. The aim here is to “buy low, sell high”.</p><p>There are other common strategies people implement such as “DCAing” and so on.</p><h4>Perpetual Trading</h4><p>You do not own any asset. You are simply trading the price movement. Essentially, you are placing a bet on the direction of price.</p><p>If you bet the price goes up, you “long” the asset. If you bet the price goes down, you “short” the asset.</p><p>Perpetual futures are the bread and butter of HyperLiquid. All trades are executed on-chain and traders position themselves with the help of stablecoins (usually <strong>USDC</strong>).</p><h4>Leverage</h4><p>Leverage lets you control a bigger position with less money.</p><p>For example:</p><ul><li><strong>$10000 </strong>with <strong>5x </strong>leverage = <strong>$50000</strong> position</li></ul><p>If BTC moves:</p><ul><li><strong>+2% → roughly +10%</strong></li><li><strong>-2% → roughly -10%</strong></li></ul><p>Higher leverage increases the risk of liquidation (liquidation price is closer to entry price), but also, the potential for profits on even smaller marginal gains.</p><p>Leverage is simply an amplifier. It amplifies both gains and losses and it all depends on the direction of the price movement and which side of the trade you are on (long/short).</p><p>Beginners should stick with smaller leverage sizes (<strong>under 5x</strong>) to avoid liquidations.</p><p>Many experienced traders will often use a much bigger portion of their capital with lower leverage for a total position size that is much larger with less liquidation risk.</p><h4>Liquidation</h4><p>If your loss becomes too large, HyperLiquid automatically closes your position.</p><p>Many beginners lose money quickly when trading with leverage because they underestimate the risk of liquidation.</p><p>Liquidation happens because exchanges do not allow traders to fall into negative balances or “bad debt.” When the losses on a leveraged position become too large relative to the trader’s collateral (margin), the exchange will either require the trader to add more funds or automatically close the position through liquidation.</p><p>Experienced traders often talk about “liquidity hunts” or “leverage hunts,” where price moves aggressively into areas with large clusters of leveraged long or short positions. The idea is that market makers and large participants may push price toward these levels because liquidations create volatility, trigger stop orders, and generate trading activity.</p><p>When a position is liquidated, the exchange charges liquidation fees. Larger leveraged positions generally result in larger fees and more forced market orders entering the market, which can further amplify price movement.</p><p>For basic math, you can think of the<strong> liquidation price to be a percentage difference from your entry price that is the inverse to the leverage size you are using.</strong></p><p>So say, you used <strong>5x </strong>in a levered trade, your liquidation price would be <strong>(1/5)% </strong>or <strong>about 20%</strong> from your entry price.</p><p>If you long the asset and the price falls <strong>~20%</strong> below your position, you are liquidated and if you short the asset and the price rises <strong>~20%</strong> above your position, you are liquidated.</p><h3>Why is HyperLiquid Different?</h3><p>HyperLiquid is different because unlike many decentralized exchanges, HyperLiquid uses a real order book. There is lower slippage and faster execution of trades.</p><p>With the rise of stablecoins and the tokenization of real world assets, there has been a pique interest in the trading of perpetual future contracts on-chain.</p><p>With HyperLiquid, trading goes beyond different cryptocurrencies, you can now trade just about anything including commodities such as gold, silver, tokenized oil, and even tokenized stocks.</p><p>Another benefit you get with HyperLiquid is that you have full control over your wallet funds and trading fees are gasless.</p><p>The only time you pay fees on HyperLiquid is when you are depositing and withdrawing stablecoins from your trading wallet.</p><p><strong>Phantom wallet </strong>offers built-in perpetual trading fully powered by HyperLiquid. It is, in my opinion, the best mobile wallet out there.</p><p>You will need to have <strong>USDC</strong> on hand and bridge it over to the <strong>Solana </strong>blockchain in order to be able to fund the “perps” account on mobile.</p><p>Here is a neat <a href="https://phantom.com/learn/crypto-101/perpetual-futures-trading">article</a> that covers this.</p><h4>Order Types You Should Learn</h4><p>There are several order types you should be familiar with when it comes to perpetual futures trading.</p><ul><li><strong>Market Order</strong> — Executes instantly at current price</li><li><strong>Limit order</strong> — You choose the exact entry price</li><li><strong>Stop Loss</strong> — Automatically exists if the price moves against you (set to -10%, -25%, etc.)</li><li><strong>Take Profit</strong> — Automatically locks in gains (set to +10%, +25%, etc.)</li></ul><h4>The Most Important Screen Elements</h4><p>The following are some key terms you would want to get familiar with as it relates to market positions:</p><ul><li><strong>Position Size</strong> — Your total position size is your (<strong>margin x leverage</strong>)</li><li><strong>Margin </strong>— Your collateral you initially put on the line</li><li><strong>Leverage </strong>— The multiplier used to amplify your initial position</li><li><strong>Liquidation Price </strong>— Price at which your position is at total loss</li></ul><h4>Beginner Risk Rules</h4><p>When learning how to trade perps, it is important to get used to the market mechanics and avoid liquidations. Always risk what you are willing to lose and nothing more.</p><p>If that means a small position size so be it. When starting out, avoid using high leverage and ensure you set stop losses so that you can quickly close positions moving against you.</p><p>Never go “all-in”. It may sound tempting, but this is akin to degenerate gambling and you will likely lose whatever is left. Remember, all it takes is one liquidation to wipe your balance clean.</p><p>It is important to only risk a portion of your size starting out. Leverage is being used as a tool to amplify your gains. There is no need to get more greedy than that :)</p><p>For advanced traders, it is important to familiarize yourself with funding rates. Leverage involves funding. Positive funding means longs pay the shorts and negative funding means shorts pay the longs.</p><h4>Common Beginner Mistakes</h4><p>Beginners will often underestimate the risk of liquidation in the crypto market and this will lead them to overleverage their positions.</p><p>They may trade garbage tokens (memes) or try to “win back” losses in the form of revenge trading.</p><p>Not setting parameters for profit-taking or stop-losses is not ideal either.</p><p>The one thing you need the most starting out is capital and the quickest way to lose it all is by mismanaging your leveraged positions.</p><p><strong><em>Crypto is risk, but perps is risk on steroids.</em></strong></p><h4>Extra: HIP, HyperCore/EVM, HyperLiquid API, Staking, and Legality</h4><p>In this section, we will highlight some key concepts of the HyperLiquid blockchain that extend beyond the means of on-chain trading.</p><p>Technically, HyperLiquid is a term that covers two main components that make up this blockchain.</p><p>The first (which we covered) is known as, <strong>HyperCore</strong>. This is the native trading, orderbook, and staking side of things.</p><p>The second is known as, <strong>HyperEVM </strong>which offers an operable, smart contract layer which is compatible with Ethereum.</p><p>On its own, the core execution layer of this blockchain is NOT EVM-compatible.</p><p>So essentially, HyperLiquid is a blockchain that is made up of these two key components.</p><p>It is a <strong>proof-of-stake (PoS)</strong> blockchain allowing users to stake their <strong>$HYPE</strong> tokens to help secure the network and earn rewards in return.</p><p>Like Ethereum, HyperLiquid has its own improvement proposals (<strong>HIP</strong>). At the time of this writing, there are four named ones (HIP-1 to HIP-4).</p><p>You can read more about each of these in the docs <a href="https://hyperliquid.gitbook.io/hyperliquid-docs/hyperliquid-improvement-proposals-hips">here</a>.</p><p>HyperLiquid offers an API of their own which allows developers to query on-chain trading data.</p><p>In fact, I created a personalized, lightweight dashboard allowing users to query perps trading data of Phantom wallets.</p><p>All powered by the HyperLiquid API. You can find that site <a href="https://phantomliquid.sh/">here</a>.</p><p>Certain legalities exist with the HyperLiquid blockchain so you will need to do research in your region to ensure you can work with it.</p><h4>Market Competitors</h4><p>While the rise of HyperLiquid is noteworthy in of itself, we have also seen the rise of competitors to HyperLiquid.</p><p>The following two exchanges are its most prominent competitors:</p><ul><li><strong>dydx </strong>— Oldest, traditional perp DEX provider</li><li><strong>Aster </strong>— Binance backed DEX which offers more extreme levels of leverage</li></ul><h3>Conclusion</h3><p>All in all, we did a deep dive into the HyperLiquid L1 blockchain. We covered concepts related to trading and explored features of the HyperLiquid blockchain that make it a reliable and useful chain for spot and perpetual trading.</p><p>In the list below, you will find links to my custom HyperLiquid dashboard as well as links to the official HyperLiquid docs and the official HIP docs:</p><ul><li><a href="https://phantomliquid.sh/">phantomliquid.sh</a></li><li><a href="https://hyperliquid.gitbook.io/hyperliquid-docs">HyperLiquid Docs</a></li><li><a href="https://hyperliquid.gitbook.io/hyperliquid-docs/hyperliquid-improvement-proposals-hips">HyperLiquid Improvement Proposals</a></li></ul><p>I hope you enjoyed this article.</p><p>Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40827f8a688a" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/the-short-dummies-guide-to-the-hyperliquid-l1-blockchain-40827f8a688a">The Short Dummies Guide to the HyperLiquid L1 Blockchain</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Deploy a Fine-Tuned LLM on Bittensor’s Chutes AI]]></title>
            <link>https://blog.stackademic.com/how-to-deploy-a-fine-tuned-llm-on-bittensors-chutes-ai-366c4b89c7d4?source=rss-3345b6ddbac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/366c4b89c7d4</guid>
            <category><![CDATA[decentralization]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Abdullah Muhammad]]></dc:creator>
            <pubDate>Fri, 08 May 2026 00:27:42 GMT</pubDate>
            <atom:updated>2026-05-08T07:08:45.797Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aYAtaVNppRPfM6vmBoMpZw.png" /><figcaption>Exploring Chutes AI in detail and deploying a fine-tuned AI model on Bittensor</figcaption></figure><p><em>Basic knowledge of web development, LLMs, and the Bittensor ecosystem will be sufficient for working through the contents of this article.</em></p><p><em>Fond of cryptocurrency? Explore everything related to the Ethereum blockchain with this </em><a href="https://ethereumdashboard.dev/"><em>free, comprehensive dashboard built using Next.js</em></a><em>.</em></p><p><em>Get your article audibles </em><a href="https://www.mediumdotcomscraper.pro/"><em>here</em></a><em>! I made this tool which makes audio files accessible for any non-paywall Medium articles!</em></p><p><em>Want more content? Visit my </em><a href="https://softwareblog.dev/"><em>tech blog</em></a><em> for more articles, AI and software tools, and free shareable resources.</em></p><h3>Introduction</h3><p>In past articles, we covered <a href="https://blog.stackademic.com/bittensor-explained-subnets-incentives-and-decentralized-intelligence-d8e8c93ebbd8?gi=e878c8fa9cd1&amp;source=user_profile_page---------5-------------3345b6ddbac7----------------------">Bittensor and the many intricate components</a> that make up its network. We also explored <a href="https://blog.stackademic.com/subnet-64-exploring-chutes-ai-the-most-prominent-subnet-on-bittensor-47d28aa0cacc">subnet 64, one of the most prominent subnets on Bittensor.</a></p><p>In this short article, we will cover deploying a fine-tuned model on Chutes AI (known as subnet 64).</p><p>If you are a developer with extensive Python experience, this will be an easy follow.</p><p>I decided to write this small article to serve as a guide for people with limited Python experience so you too can deploy a fine-tuned model on Chutes AI.</p><h4>Bittensor Subnets and Subnet 64: Chutes AI</h4><p>This section will serve as a refresher on Bittensor and Chutes AI. Bittensor is essentially a decentralized AI network/economy which allows users and developers alike to offer incentivized AI services.</p><p>Each subnet on Bittensor offers its own unique AI service with a unique economy of its own (alpha tokens).</p><p>Each subnet is numbered and Chutes AI is a prominent subnet on Bittensor (subnet 64).</p><p>Chutes AI offers the ability for others to deploy models of their own and for others to access via decentralized GPU infrastructure.</p><p>Rather than rely on a sole provider to access these models, miners offer compute and host these models for inference via API endpoints using the Chutes API.</p><p>In fact, we covered <a href="https://blog.stackademic.com/subnet-64-exploring-chutes-ai-the-most-prominent-subnet-on-bittensor-47d28aa0cacc">Chutes AI model inference using the Vercel AI SDK</a> as it contains a customized package for specifically working with the Chutes API provider.</p><h4>Step-by-Step Guide to Model Deployment</h4><p>Now, we will simply proceed to creating and deploying a fine-tuned model. Understand that Chutes AI acts as a provider for you to access these models.</p><p>You can follow along by cloning this <a href="https://github.com/CodingAbdullah/Abdullah-Medium-Demos/tree/main">GitHub repository</a>. The directory we will focus on is demos/Demo78_Chutes_AI_Model_Deployment.</p><p>Model inference with Chutes AI relies on miners (those who provide compute and the ability for inference) who are evaluated by validators based on their performance and rewarded accordingly (we touched on this key aspect of incentives with Bittensor).</p><p>However, from a developer’s perspective, these blockchain mechanics are largely abstracted away, making the deployment workflow feel similar to working with a traditional AI inference provider.</p><p>Ensure you have a Python environment setup for this article including the Python package manager as we will need to install the chutes Python package using pip:</p><p>pip install chutes</p><p>After that, we will use the chutes CLI command to register using:</p><p>chutes register</p><p>You need to register yourself first before you can deploy any model to Chutes AI. Once registration is complete, we can proceed to model deployment.</p><p>The following Python script details how you can deploy a fine-tuned model on Chutes /codebase/finetuned_chutes_model.py:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/df065bc4dcef5397cae428282a093278/href">https://medium.com/media/df065bc4dcef5397cae428282a093278/href</a></iframe><p>Key things to note:</p><ul><li><strong>NodeSelector</strong> — NodeSelector is a configuration class from the Chutes SDK that defines the hardware requirements for your deployment. In this case, <strong>gpu_count=1</strong> tells the Chutes platform to provision a single GPU node to run the model.</li><li><strong>build_vllm_chute </strong>— This is the core builder function from the Chutes SDK’s vLLM template. VLLM is a high-throughput inference engine optimized for LLMs, and <strong>build_vllm_chute </strong>wraps it into a deployable “chute”.</li><li><strong>Username </strong>and <strong>Model Name </strong>Parameters — These identify who owns the deployment and what model to serve. Username ties the chute to your Chutes AI account and the <strong>model_name </strong>points to the HuggingFace model repository path.</li><li><strong>Concurrency </strong>Parameter — This controls how many simultaneous inference requests the deployed chute can handle at once. Higher concurrency means more parallel requests, but also more GPU memory consumption.</li><li><strong>Readme </strong>Parameter — This is a markdown string that documents the chute on the Chutes AI platform.</li></ul><p>You can deploy this as a chute using the following bash command:</p><p>chutes deploy finetuned_chute:chute --accept-fee</p><p>That is all there is to it. Chutes AI is a neat subnet that is primarily used for deploying models.</p><p>The fine-tuning happens elsewhere, but what Chutes allows you to do is deploy these models (“chutes”) to be accessible to anyone through the Chutes AI provider.</p><h4>Run Calls to Deployed Chutes Model</h4><p>Recall that the Chutes SDK is primarily used for the deployment and serving of models (“chutes”) whereas the Chutes API is used for inferring with those models.</p><p>The following bash script details how you can infer with your deployed models using the Chutes API:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a80bb4a3796a8e95dee6069d091948f4/href">https://medium.com/media/a80bb4a3796a8e95dee6069d091948f4/href</a></iframe><p>Of course, you can also use the Vercel AI SDK along with the Chutes AI provider to infer with these models with greater complexity.</p><p>We covered that in a separate article <a href="https://medium.com/stackademic/subnet-64-exploring-chutes-ai-the-most-prominent-subnet-on-bittensor-47d28aa0cacc">here</a>.</p><h3>Conclusion</h3><p>In this short article, we covered how easy it is to deploy a fine-tuned model on Chutes AI.</p><p>You do not need to be a Python expert to do this, the code base provided in this article is adequate enough for you to get started with the deployment process.</p><p>In the list below, you will find links to the GitHub repository (used in this article), the Chutes AI documentation/provider package, and the Bittensor docs:</p><ul><li><a href="https://github.com/CodingAbdullah/Abdullah-Medium-Demos/tree/main/demos/Demo78_Chutes_AI_Model_Deployment">GitHub Repository</a></li><li><a href="https://chutes.ai/docs">Chutes AI Documentation</a></li><li><a href="http://learnbittensor/">Bittensor Documentation</a></li><li><a href="https://www.npmjs.com/package/@chutes-ai/ai-sdk-provider">Chutes AI Provider NPM Package</a></li></ul><p>I hope you found this article helpful and look forward to more in the future.</p><p>Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=366c4b89c7d4" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/how-to-deploy-a-fine-tuned-llm-on-bittensors-chutes-ai-366c4b89c7d4">How to Deploy a Fine-Tuned LLM on Bittensor’s Chutes AI</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Level Up Claude Code with Agentic Skills]]></title>
            <link>https://blog.stackademic.com/level-up-claude-code-with-agentic-skills-73b95b10528a?source=rss-3345b6ddbac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/73b95b10528a</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[claude]]></category>
            <dc:creator><![CDATA[Abdullah Muhammad]]></dc:creator>
            <pubDate>Fri, 24 Apr 2026 00:11:13 GMT</pubDate>
            <atom:updated>2026-04-24T09:00:47.254Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*L1S2_3OigLV5T_5Q52SArQ.png" /><figcaption>Integrating agentic skills into your Claude agentic workflow</figcaption></figure><p><em>Basic knowledge of web development and the Ethereum blockchain will be sufficient for working through the contents of this article.</em></p><p><em>Fond of cryptocurrency? Explore everything related to the Ethereum blockchain with this </em><a href="https://ethereumdashboard.dev/"><em>free, comprehensive dashboard built using Next.js</em></a><em>.</em></p><p><em>Get your article audibles </em><a href="https://www.mediumdotcomscraper.pro/"><em>here</em></a><em>! I made this tool which makes audio files accessible for any non-paywall Medium articles!</em></p><p><em>Want more content? Visit my </em><a href="https://softwareblog.dev/"><em>tech blog</em></a><em> for more articles, AI and software tools, and free shareable resources.</em></p><h3>Introduction</h3><p>In a previous article, we did a deep dive into <a href="https://medium.com/stackademic/mobile-first-agentic-development-shipping-production-apps-with-claude-code-084b4e71b1c6">Anthropic’s Claude code and its vast capabilities including setting up a mobile-first approach to development</a>.</p><p>We covered the <a href="https://code.claude.com/docs/en/best-practices">CLAUDE.md</a> file and used it to guide the behaviour of the development agent as well as feature branching and Claude session branches.</p><p>These branches are created for the sole purpose of coding out the different features of your application in an efficient way.</p><p>We covered the different layers of agentic development and setup an efficient way of working with Claude code in a mobile-first environment.</p><p>In this short article, we will do a dive deep into another key component of agentic development known as <strong>Agentic Skills</strong>.</p><h3>Agentic Skills</h3><p>Skills are an integral part of agentic development and should not be overlooked. There are three components as it relates to Claude Code:</p><ul><li><strong>Agent </strong>— An entity that completes requested work</li><li><strong>CLAUDE.md</strong> — Guide the behaviour of the agent</li><li><strong>Skill.md</strong> — Enable the agent to complete the work</li></ul><p>We touched on the first two in the last article and we will cover skills here.</p><blockquote>So, what is a “skill”?</blockquote><p>Straight from Anthropic’s interpretation of skills, they are essentially reusable, markdown files that provide Claude with domain-specific expertise.</p><p>Claude is an expert in its own right, but these skill files give the agent adequate context, workflows, and best practices to follow that transform the agent into a specialist within a specific domain.</p><p>There are two types of skills:</p><ul><li><strong>Built-in Anthropic Skills </strong>— Anthropic provides a handful of useful skills for efficiently creating PowerPoint (<strong>pptx</strong>) presentations, create/analyze spreadsheets (<strong>xlsx</strong>), create/edit documents (<strong>docx</strong>), and generate PDF documents (<strong>pdf</strong>)</li><li><strong>Custom Skills</strong> — Allow users to build their own skills and publish them open-source for others to download and access</li></ul><p>Key thing to note here is that <strong>Claude.ai</strong> supports both built-in and custom skills whereas <strong>Claude Code</strong> (which is what developers primarily use) only supports custom skills.</p><p>There are several benefits of incorporating skills into your agentic workflow.</p><p>For starters, it reduces repetition. Remember, the Claude agent that starts up in each development session is stateless. It has no memory or re-collection of what took place in previous sessions.</p><p>You can make the Claude agent “stateful” with the help of memory, but this just adds more to your configuration.</p><p>The SKILL.md file differs in this manner because it serves as a tool or a plug-in rather than an instruction manual that guides an agent’s behaviour.</p><h4>Outsourcing Agentic Skills using Skills.sh</h4><p>Vercel provides an official ecosystem for accessing agentic skills. The site can be found <a href="https://skills.sh/">here</a>. You can download and contribute your own custom skills here.</p><p>The ecosystem is GitHub based and offers a custom marketplace and CLI of its own which you can install to interact with the ecosystem.</p><p>You can simply install skills you are looking for using NPX:</p><ul><li>npx skills add &lt;owner/repo&gt;</li></ul><p>Other prominent agent skill ecosystems out there include <a href="https://github.com/anthropics/skills">Anthropic’s own agentic skills ecosystem</a> as well as <a href="https://learn.microsoft.com/en-us/agent-framework/agents/skills?pivots=programming-language-csharp">Microsoft</a>.</p><p>Agentic skills are a relatively new concept and will continue to evolve. It is important to ensure that third-party skills you may wish to install are audited.</p><p>Unchecked skill files may contain context with malicious intent and, if used, guide an agent to perform undesirable things.</p><h4>The Anatomy of the Skill.md File and Best Practices</h4><p>In this brief section, we will cover what makes up a SKILL.md file and best practices to follow.</p><p>The convention used with SKILL.md files is important to follow as it allows your agent to understand what the file is about, what is its context, and how to best learn what is given within the file.</p><p>For in-depth detail on best practices, you can find them in the official documentation provided by <a href="https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices">Anthropic</a>.</p><p>We will briefly cover the anatomy of a SKILL.md file:</p><ul><li><strong>Front Matter</strong>— Describe to the agent what the file entails (name and description)</li><li><strong>Markdown </strong>— This is the main section of the file and it provides everything the agent needs to fully understand the specific domain</li></ul><p>You can also have a section for additional resources which can be loaded into the context of the SKILL.md file with the help of scripts.</p><p>The following markdown file highlights what is an adequate SKILL.md file:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cb3d2b49882ab6f34b891b34e041fe1a/href">https://medium.com/media/cb3d2b49882ab6f34b891b34e041fe1a/href</a></iframe><p>Most published SKILL.md files are not very good. They lack key details and may contain a lot of information which can create messy context causing agent hallucination.</p><p>You want to simplify things for agents while also providing adequate information and tooling to help guide agents.</p><p>The markdown file above contains a sample template for creating an adequate SKILL.md file.</p><p>That is all you really need to build an effective skill file for agents to use in your development workflow.</p><p>I created a sample GitHub repository <a href="https://github.com/CodingAbdullah/Abdullah-Medium-Demos/tree/main/demos/Demo77_Agentic_Skills">here</a> which details how to setup the CLAUDE.md file, .claude directory, and sample skill markdown files.</p><h4>The Anatomy of the .claude Directory</h4><p>As AI modelling gets more advanced, you may think that by providing adequate prompting and context, LLMs will be able to generate what you are looking for.</p><p>That <em>may</em> be true, but you want to maximize the output, efficiency, and ultimately, the productivity of your agent.</p><p>You want to save on token usage and be able to gather what you are looking for in the fewest steps possible.</p><p>In this brief section, we will cover how to adequately set up the .claude directory to enable the Claude code agent to operate efficiently.</p><p>Inside the .claude directory you can create sub-directories for individual skills and even sub-agents for certain tasks.</p><p>The following image details what the .claude directory looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qGIGapJQa-mOhpXQaUpGhQ.jpeg" /><figcaption>.claude directory containing information on skills, agents, rules, and commands</figcaption></figure><p>This is way more detailed than what I covered so far, but this diagram highlights key features you may want to know about.</p><p>As noted earlier, you can create sub-agents for certain tasks such as security auditing, code reviewing, etc.</p><p>These are also markdown files containing detailed instructions to help guide Claude sub-agents to complete tasks.</p><p>Agentic skills reside in their own sub-directories. <a href="https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices">Proper naming conventions</a> should be followed when naming these directories as it assists Claude by providing additional context.</p><p>The rest is adequately described in the diagram above.</p><p>By following this setup, you ensure that you are using Claude code efficiently for development.</p><h4>Must-Have Skills for Agentic Development</h4><p>This section contains six must-have skills every software engineer should incorporate in their Next.js application development flow:</p><ul><li><a href="https://skills.sh/vercel-labs/next-skills/next-best-practices">next-best-practices</a></li><li><a href="https://ui.shadcn.com/docs/skills">shadcn</a></li><li><a href="https://github.com/obra/superpowers/blob/main/skills/systematic-debugging/SKILL.md">systemic-debugging</a></li><li><a href="https://github.com/obra/superpowers/blob/main/skills/test-driven-development/SKILL.md">test-driven-development</a></li><li><a href="https://github.com/vercel-labs/agent-skills/blob/main/skills/react-best-practices/SKILL.md">vercel-react-best-practices</a></li><li><a href="https://github.com/anthropics/skills/blob/main/skills/webapp-testing/SKILL.md">webapp-testing</a></li></ul><p>These six skills encompass the most important aspects of Next.js application development.</p><p>You can install each of these skills following the instructions in each of their respective links above.</p><h3>Conclusion</h3><p>As Andrej Karpathy recently said, English is the new programming language. This is true in the new world of agentic software development.</p><p>The ability to write code is important, but in this new paradigm shift, those who are able to instruct and guide agents to complete tasks in the most efficient and productive way possible will be able to separate themselves from the rest.</p><p>We touched on agentic skills in detail in this short article. They are a relatively new concept to agentic development and it is crucial to understand how they work so you can optimize agentic capabilities.</p><p>In the list below, you will find links to the official documentation on agentic skills, the skills.sh repository, and the GitHub repository that contains a setup of what an agentic-optimized workflow should look like:</p><ul><li><a href="https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview">Agentic Skills Official Documentation</a></li><li><a href="https://skills.sh/">Skills.sh Website</a></li><li><a href="https://github.com/CodingAbdullah/Abdullah-Medium-Demos/tree/main/demos/Demo77_Agentic_Skills/next_app">GitHub Repository</a></li></ul><p>I hope you found this article helpful and look forward to more in the future.</p><p>Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73b95b10528a" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/level-up-claude-code-with-agentic-skills-73b95b10528a">Level Up Claude Code with Agentic Skills</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The x402 Protocol: Enabling Agentic Payments for APIs with HTTP 402]]></title>
            <link>https://blog.stackademic.com/the-x402-protocol-enabling-agentic-payments-for-apis-with-http-402-0c29d8741118?source=rss-3345b6ddbac7------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c29d8741118</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[nextjs]]></category>
            <dc:creator><![CDATA[Abdullah Muhammad]]></dc:creator>
            <pubDate>Sat, 07 Mar 2026 16:06:52 GMT</pubDate>
            <atom:updated>2026-03-23T04:28:36.609Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FuJiyr5QgLHrIyLd-2q2fQ.png" /><figcaption>Exploring payments with the x402 payments protocol</figcaption></figure><p><em>Basic knowledge of web development and the Ethereum blockchain will be sufficient for working through the contents of this article.</em></p><p><em>Fond of cryptocurrency? Explore everything related to the Ethereum blockchain with this </em><a href="https://ethereumdashboard.dev/"><em>free, comprehensive dashboard built using Next.js</em></a><em>.</em></p><p><em>Get your article audibles </em><a href="https://www.mediumdotcomscraper.pro/"><em>here</em></a><em>! I made this tool which makes audio files accessible for any non-paywall Medium articles!</em></p><p><em>Want more content? Visit my </em><a href="https://softwareblog.dev/"><em>tech blog</em></a><em> for more articles, AI and software tools, and free shareable resources.</em></p><h3>Introduction</h3><p>We covered payments extensively using the Polar.sh library and briefly touched on the x402 payments protocol in an article <a href="https://medium.com/stackademic/the-x402-protocol-and-payments-made-easy-with-polar-sh-in-a-next-js-application-5ab6659904d9">here</a>.</p><p>With the rise of stablecoins such as <strong>USDC (ERC-20 stablecoin) </strong>this protocol can be used to facilitate payments wallet to wallet allowing for access to select resources upon successful payments.</p><p>While the x402 protocol is an unofficial protocol, it has been surmised by the likes of Coinbase and will continue to grow as stablecoins capture more of the global market share.</p><p>The protocol is focused around Ethereum and works best using a layer two chain such as <strong>Base</strong>.</p><p><a href="https://www.base.org/"><strong>Base</strong></a><strong> </strong>is a <strong>layer two EVM blockchain</strong> powered by Coinbase and offers a vast ecosystem which developers can tap into and develop blockchain applications.</p><p>The benefit here is the ability to utilize ready-made SDKs for development, smart contracts, and complete blockchain transactions by paying a fraction of the gas costs associated with the Ethereum blockchain.</p><p>The standard practice is to use <a href="https://help.coinbase.com/en/coinbase/getting-started/crypto-education/usd-base-coin"><strong>USDC on Base</strong></a> to complete these payments.</p><p>The protocol is based on the pay-per-use model. For every API request made to access a select resource, a payment must be made and verified before access is granted to the requested resource.</p><p>If the payment is processed and verified, the requester gains access to the select resource. If no payment is provided or is not verified, resource access is denied and a 402 HTTP error is returned.</p><p>As a reader, a thorough grasp of the HTTP standard and the Ethereum blockchain is a prerequisite to understanding what we will cover in the subsequent sections.</p><h4>Practical Use Cases for the x402 Protocol</h4><p>Some practical use cases for the x402 protocol can be summarized in the following list:</p><ul><li><strong>Pay per API Request</strong> – For every API call made, a payment must be made to access the select resource (no API keys, plans, etc.)</li><li><strong>Agent to Service Payments</strong> – AI agents can access select resources by making the required payment to access them</li><li><strong>Micro Paywalls</strong> – To access select pages, a small payment must be made</li><li><strong>Paid Compute</strong> – Sell compute time and resources on-demand</li></ul><p>This list highlights some of the many possibilities that come with pay-to-use APIs.</p><p>In development, feel free to come up with your own scenarios where you can implement this protocol (keep it practical).</p><h3>Brief Look at Ethereum</h3><p>Before we proceed, I wanted to provide you with a nice summary on the key concepts of <a href="https://ethereum.org/">Ethereum</a>. Unlike Bitcoin, you can think of Ethereum as programmable money.</p><p>Ethereum is the largest <em>“altcoin”</em> by market cap and allows for the building of <a href="https://www.investopedia.com/terms/d/decentralized-applications-dapps.asp"><strong>decentralized applications (dApps)</strong></a> through the use of smart contracts.</p><p>The back-end in a dApp is considered the blockchain (although you can also have a separate back-end to handle database queries, caching, etc.).</p><p>The Ethereum ecosystem is vast and consists of various protocols which are standardized by the Ethereum foundation.</p><h4>EIP Proposals and Smart Contracts</h4><p>You can think of smart contracts as Java and TypeScript classes, but in simple terms, they are stateful programs deployed on the blockchain.</p><p>They contain variables and functions (as you typically see in Java/TypeScript classes) allowing for select actions to be conducted and recorded on the blockchain.</p><p>These actions can include things such as token transfers, minting tokens, burning tokens, etc.</p><p>The contracts themselves are written in the <a href="https://www.soliditylang.org/"><strong>Solidity</strong></a><strong> </strong>programming language (.sol file extension) which is similar to Java/C++. You get similar data type declarations with slight nuances such as <strong>mappings </strong>and <strong>address </strong>data types.</p><p>Certain Solidity syntax is dedicated to verifying activity on the blockchain such as <strong>events</strong>, <strong>emit</strong>, <strong>owner</strong>, <strong>require</strong>, and many more.</p><p>Deployed smart contracts share the same address syntax as wallet addresses.</p><p>Ethereum comes with its own set of <strong>EIP </strong>standards for deploying various types of tokens on the blockchain. Tokens are implemented using smart contracts that follow specific Ethereum standards.</p><p>These standards are derived from <a href="https://eips.ethereum.org/"><strong>Ethereum Improvement Proposals</strong></a>. So for instance, in the case of fungible and non-fungible tokens, we have the <strong>EIP-20</strong> and <strong>EIP-721</strong> proposals.</p><p>From these, we derive the <a href="https://ethereum.org/developers/docs/standards/tokens/erc-20/"><strong>ERC-20</strong></a><strong> </strong>and <a href="https://ethereum.org/developers/docs/standards/tokens/erc-721/"><strong>ERC-721</strong></a> standards.</p><p>Using these standards, we can implement their interfaces and deploy a customized smart contract on Ethereum.</p><p>When you connect your wallet to a dApp and approve activity through your wallet, you are interacting with a smart contract in the back-end.</p><p>Completing transactions on Ethereum comes with an added fee known as <a href="https://www.investopedia.com/terms/g/gas-ethereum.asp"><strong>gas</strong></a>. This fee is paid to the validators for computation and network security. Ethereum used to be a <a href="https://www.investopedia.com/terms/p/proof-work.asp"><strong>PoW (Proof-of-Work)</strong></a> chain prior to the merge.</p><p>Ethereum now uses the <a href="https://www.investopedia.com/terms/p/proof-stake-pos.asp"><strong>PoS (Proof-of-Stake)</strong></a> mechanism for verification on-chain.</p><h4>Layer Two Chains and EVM Compatibility</h4><p>Similar to other programming languages, program code written in human-readable syntax needs to be compiled down to bytecode. Bytecode is basically a set of virtual machine instructions for running applications.</p><p>For instance, in Java, we have applications that need to be compiled down to bytecode in order for the <a href="https://www.geeksforgeeks.org/java/how-jvm-works-jvm-architecture/"><strong>JVM (Java Virtual Machine)</strong></a> to understand and run the application properly.</p><p>This is also the case with smart contracts. Once compiled, we get two things:</p><ul><li><a href="https://docs.ethers.org/v5/api/utils/abi/"><strong>ABI (Application Binary Interface)</strong></a><strong> </strong>– JSON file that details information about the smart contract such as functions, events, parameters, and return types</li><li><a href="https://www.geeksforgeeks.org/solidity/introduction-to-bytecode-and-opcode-in-solidity/"><strong>Bytecode</strong></a> – Virtual machine instructions used by the <a href="https://ethereum.org/developers/docs/evm/"><strong>EVM (Ethereum Virtual Machine)</strong></a> to execute actions on the Ethereum blockchain</li></ul><p>EVM is essentially a run-time environment that executes smart contract bytecode across different nodes on the Ethereum network.</p><p>You can use the <a href="https://docs.ethers.org/v5/"><strong>ethers.js</strong></a> library and the ABI client-side to interact with the smart contract.</p><p>Due to the fact that Ethereum is a vast ecosystem, certain chains are EVM-compatible. This means that you can interact with these chains with Ethereum features already built-in.</p><p>A wallet created on Ethereum has an equivalent wallet opened across all EVM-compatible chains (same wallet address across all EVM-compatible chains).</p><p>Common chains include layer two solutions such as <a href="https://arbitrum.io/"><strong>Arbitrum</strong></a>, <a href="https://www.base.org/"><strong>Base</strong></a>, <a href="https://www.optimism.io/"><strong>Optimism</strong></a>, <a href="https://polygon.technology/"><strong>Polygon</strong></a>, and many more.</p><p>Layer two chains are commonly used to reduce gas fees associated with Ethereum transactions and to increase throughput.</p><p>That is why we will use the Base chain to implement the x402 payments protocol. The chain is optimized for developing and deploying decentralized applications (dApps).</p><h4>Ethereum Testnets, Faucets, and Blockchain Scanners</h4><p>As is the case with software development, blockchain engineers have the ability to write, deploy, and test smart contract functionality on testnets.</p><p>These testnets behave like a real blockchain except that they use mock cryptocurrency to test smart contract functionality and record blockchain transactions in real-time.</p><p>Testing and debugging smart contracts is <strong>extremely crucial</strong> as they are used by wallets containing real cryptocurrency.</p><p>Each blockchain can have one or many testnets. In the case of Ethereum, we have the mainnet along with a testnet known as <a href="https://www.alchemy.com/rpc/ethereum-sepolia"><strong>Sepolia</strong></a>.</p><p>The Base chain also has a testnet called <a href="https://www.alchemy.com/rpc/base-sepolia"><strong>Base Sepolia</strong></a>. You can use your mainnet wallet to access testnets and obtain mock cryptocurrency using a faucet.</p><p>The following list contains links to testnet faucets for both Ethereum and the Base chain:</p><ul><li><a href="https://www.alchemy.com/faucets/ethereum-sepolia">Ethereum Sepolia Testnet Faucet</a></li><li><a href="https://www.alchemy.com/faucets/base-sepolia">Base Sepolia Testnet Faucet</a></li></ul><p>Since we will be working with <strong>USDC on Base</strong> for implementing this protocol, the following is a link to a USDC faucet:</p><ul><li><a href="https://faucet.circle.com/">Circle USDC Faucet</a></li></ul><p>Simply select <strong>Base Sepolia</strong> from the list of testnet options.</p><p>Every blockchain and their testnets come with their own scanner sites. These scanner sites allow you to search and view all kinds of on-chain information.</p><p>You can lookup a detailed history of transactions, block information, wallet activity, token transfers, smart contracts, and so much more.</p><p>The following list contains links to Ethereum and Base (mainnet and testnet) scanner sites:</p><ul><li><a href="https://etherscan.io/">Etherscan Mainnet Site</a></li><li><a href="https://sepolia.etherscan.io/">Etherscan Sepolia Testnet Site</a></li><li><a href="https://basescan.org/">Basescan Mainnet Site</a></li><li><a href="https://sepolia.basescan.org/">Basescan Sepolia Testnet Site</a></li></ul><p>If you are new to web3 development, this may sound overwhelming, but I have sprinkled in quite a few links in this article to help you better understand the different concepts.</p><h4>Development IDE and Smart Contract Deployment</h4><p>You can create, test, and deploy smart contracts using the <a href="https://remix-ide.readthedocs.io/en/latest/"><strong>Remix Ethereum IDE</strong></a>. There is also <a href="https://hardhat.org/"><strong>Hardhat</strong></a> which is a flexible development environment where you can create, test, and deploy smart contracts.</p><p>Developers can also run local blockchain environments for testing before deploying contracts to public networks. Once deployed, smart contracts can be verified and interacted through blockchain explorers such as Etherscan or Basescan.</p><h4>Agentic Payment: Accepting the USDC Stablecoin as Payment</h4><p>There are several reasons why we use USDC as the currency for accepting crypto payments. One of the biggest reasons is because it is stable and relatively safe to use. It is backed by Circle and is a dollar-pegged stablecoin.</p><p>We could use cryptocurrencies, but their values fluctuate quite a bit so making use of stablecoins to access resources makes perfect sense.</p><p>The added benefit here is that USDC is EVM compatible and can be used and transferred across all chains. No banks, no financial intermediaries to worry about.</p><p>This key feature enables <strong>autonomous agentic payments</strong> where AI agents can readily use USDC to pay to access resources. No subscriptions, billing, and API keys to worry about.</p><h3>Code Overview</h3><p>You can follow along by cloning this repository. The directory we will work with is located here: /demos/Demo75_x402_Protocol. We will briefly walk through a simple implementation of the x402 payments protocol.</p><p>We will start with the front-end UI /app/page.tsx:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f0fd800b8769ff13ff0661823b33c440/href">https://medium.com/media/f0fd800b8769ff13ff0661823b33c440/href</a></iframe><p>Much of the work on the front-end is related to the following:</p><ul><li>Ensuring a wallet provider exists</li><li>Connection can be established to it</li><li>The appropriate testnet is available and connected</li><li>Approving the transfer transaction</li><li>Completing the transaction with the help of ethers.js and the smart contract ABI</li><li>Making a request to the back-end for verification</li><li>Conditionally rendering the UI based on the result</li></ul><p>A custom Status type is used to readily to do this and can be found inside the utils/types directory.</p><p>The back-end route is where all the verification takes place /api/resource/route.ts:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c76d185734b18e7a9fe62c33f0f2fe46/href">https://medium.com/media/c76d185734b18e7a9fe62c33f0f2fe46/href</a></iframe><p>We use the ethers.js library and the PaymentReceived event from the smart contract ABI to verify the payment was processed on-chain.</p><p>We check the request headers to ensure a transaction hash was received and decode it by checking the logs with the help of the ethers.js library.</p><p>If all goes well, we simply return a response with a message of Hello World and a status code of 200.</p><p>Of course, we could add anything here once the on-chain payment is successfully verified.</p><p>Finally, the following code is the actual smart contract itself.</p><p>The contract and its ABI (used by both the front-end and back-end) are located in /contracts/:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7578c3e8fd8df7425df39f658c23d7df/href">https://medium.com/media/7578c3e8fd8df7425df39f658c23d7df/href</a></iframe><p>In this file, you see two contracts. The first is actually an <strong>interface of the ERC-20 standard</strong>. We will use one of its functions (transferFrom) by referencing it in our contract.</p><p>The USDC stablecoin is an ERC-20 token. We can create a variable that stores it by passing the Base Sepolia USDC smart contract address into the constructor as an IERC20 type.</p><p>The constructor does its thing by running checks and initializing the rest of the variable values such as the receipt address and the amount of USDC to be transferred.</p><p>We also have an event type called PaymentReceived which is used to log successful transactions (emitted at the end).</p><p>The main function here is the pay. We use the USDC variable we initialized earlier and pass in the appropriate values. The msg.sender in this case is the wallet address that invoked the request.</p><p>In this case, this would be your Metamask wallet.</p><p>One thing to note, unlike Ethereum, which uses Wei (<strong>18 decimals</strong>) to denominate ETH value, USDC uses <strong>6 decimals</strong>.</p><p>So say, you wanted to transfer <strong>1 USDC</strong> from one wallet to another, you would write <strong>1000000</strong> as the value for the amount parameter.</p><h4>Deployment Configuration</h4><p>There is a quite a bit to get right when you are deploying a smart contract on Base. First of all, ensure you have a browser wallet installed and have the Base Sepolia added testnet to it.</p><p>You can do this by simply visiting the Base Sepolia site <a href="https://base-sepolia.blockscout.com/">here</a> and selecting the <strong>Add Base Sepolia</strong> option at the top right.</p><p>Ensure you have <strong>0.0001 ETH</strong> on mainnet to be able to add testnet assets.</p><p>After that, you can simply select the Base Sepolia testnet option from the network panel and visit the aforementioned faucet links to load your wallet with ETH and USDC testnet tokens.</p><p>To see the USDC token in the list of tokens on Base Sepolia, you will need to import the token contract address which is the following (copy/paste to add):</p><ul><li><a href="https://sepolia.basescan.org/address/0x036CbD53842c5426634e7929541eC2318f3dCF7e"><strong><em>0x036CbD53842c5426634e7929541eC2318f3dCF7e</em></strong></a></li></ul><p>When it comes to deploying a smart contract on Base Sepolia, you can use the Remix IDE to do this. Copy/paste the smart contract code above into the IDE and select compile to ensure everything compiles accordingly.</p><p>To deploy, select the deploy option on the left panel and from the network dropdown menu, select the <strong>Injected Provider via Metamask</strong> option.</p><p>Ensuring Metamask is on Base Sepolia testnet will inform the IDE which network you want to deploy the smart contract.</p><p>This smart contract has <strong>three parameter values</strong> that need to be set in the constructor (USDC on Base contract address, recipient wallet address, the amount of USDC).</p><p>Once you provide these values, you can safely deploy the smart contract. Upon successful deployment, you will be able to copy/paste the smart contract address.</p><p>I already have deployed a version of this smart contract. You can view it <a href="https://sepolia.basescan.org/address/0xbb9d9bae4805ca53516993cd37fc033ade03be30">here on the Base Sepolia scanner site</a> (<strong><em>0xbB9D9baE4805Ca53516993cd37fc033aDe03BE30</em></strong>).</p><p>You can see the pay method invoked and the amount of testnet USDC that is being transferred to my wallet in the different transaction hashes.</p><p>I customized the constructor values and set the receipt address to my wallet (<a href="https://sepolia.basescan.org/address/0xf8B4Cb03A050a838E34E8017Af4DAb511D28B4e9#tokentxns"><strong><em>kingabdul.eth</em></strong></a>) and set the value of USDC to be transferred at 50000 (<strong>0.05 USDC</strong>).</p><p>Remember, all this is being done on the testnet. Now that we have verified everything works, we can go ahead and deploy this smart contract on the Base mainnet itself.</p><p>The only thing you will need to re-consider is to change the USDC smart contract address from Base Sepolia to Base mainnet.</p><h3>Conclusion</h3><p>We looked at the x402 protocol in great detail and covered its most important features in this article.</p><p>Stablecoins are witnessing rapid adoption in the world of e-commerce and major firms like Stripe have developed rails for accepting them as payments.</p><p>Expect this to grow as the global market cap for stablecoins increases as does their rate of adoption.</p><p>While this implementation demonstrates the x402 pattern, the official Coinbase x402 spec uses <a href="https://eips.ethereum.org/EIPS/eip-3009"><strong>EIP-3009</strong></a> signed authorizations and a facilitator layer rather than a <strong>two-step <em>approve → pay()</em></strong>, but the payment-gated API concept is identical.</p><p>In the list below, you will find links to the GitHub repository used in this article, the official x402 documentation, and the official Base chain documentation:</p><ul><li><a href="https://github.com/CodingAbdullah/Abdullah-Medium-Demos/tree/main/demos/Demo76_X402_Payments_Protocol/next-app">GitHub Repository</a></li><li><a href="https://docs.cdp.coinbase.com/x402/welcome">x402 Protocol Documentation</a></li><li><a href="https://docs.base.org/get-started/base">Base Chain Documentation</a></li><li><a href="https://eips.ethereum.org/">EIP Proposal Documentation</a></li></ul><p>I hope you found this article helpful and look forward to more in the future.</p><p>Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c29d8741118" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/the-x402-protocol-enabling-agentic-payments-for-apis-with-http-402-0c29d8741118">The x402 Protocol: Enabling Agentic Payments for APIs with HTTP 402</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>