logo
← All projects

Built from scratch

Re-implementing core infrastructure in Python to learn how it works: Redis, a DNS server, an HTTP server, a POSIX shell and an AI coding agent.

  • Python
  • Networking
  • Protocols

A series of CodeCrafters challenges where I rebuilt well-known tools from the protocol up:

  • Redis: RESP protocol parsing, key expiry and core commands
  • DNS server: parsing and building DNS packets, forwarding queries
  • HTTP server: request parsing, routing, concurrent connections, compression
  • Shell: builtins, PATH lookup, quoting, redirection
  • AI coding agent: a minimal Claude Code-style agent loop with tool calls