Applied AI engineer. Building the harness and terminal of Command Code, a coding agent for open models. Previously full stack on Langbase's serverless agent platform, and creator of LangUI.

❯ ahmadbilal.dev

Experiences, programming guides, learning curves and more.

  1. Compaction for AI Agents: Strategies That Keep Long Sessions SharpEvery long-running agent hits the context limit. Here are the compaction strategies that keep it working, from trimming tool output to rule-based compaction that never breaks the prompt cache.
  2. 4 Things You Need To Do For Calling GraphQL APIs ↗The process of consuming GraphQL APIs is different from other types of APIs, such as REST. Here are four things you need to specify while calling a GraphQL API.
  3. How to get Longitude and Latitude from an Address? ↗Geocoding involves converting any given address into latitude and longitude coordinates. Let’s see how we can do this using an API from RapidAPI Hub.
  4. How to call APIs using TypeScript? ↗TypeScript is the superset of JavaScript that offers type-checking to avoid issues related to types. This guide describes how to make type-safe calls to APIs using TypeScript.
  5. How To Set Request Headers Using Axios? ↗HTTP headers allow clients and servers to talk to each other and pass extra bits of information or instructions. Let’s see how to set them using Axios.
  6. Axios vs. Fetch: What to use for Making HTTP Requests? ↗Getting data from APIs is a fundamental operation of any web application. Both Fetch and Axios are widely used for making HTTP requests to APIs. Let’s see how they differ and how we can use them.