Web, AI & Dev Tooling — the Everyday Kit
The libraries you reach for constantly — talking to the web, building AI agents, making CLIs, logging safely, running jobs — all without the usual pile of dependencies.
Beyond money, data and security is the everyday kit — the libraries you touch in almost every project. The Larz Stack covers the web client you'd normally install requests for, an AI-agent framework, CLI building, structured logging, background jobs, and a long tail of utilities — each replacing a common third-party package with zero-dependency Python.
The everyday kit
A sampling of the most-reached-for tooling libraries.
| Library | Replaces / does |
|---|---|
| larzhttp | A requests-style HTTP client (sessions, retries, JSON) over urllib |
| larzagent | Build tool-calling AI agents against any OpenAI-compatible API |
| larzcli | Turn a function into a CLI; layered CLI > env > default config |
| larzlog | Structured logging with automatic secret/PII redaction on by default |
| larztask / larzcron / larzretry / larzlimit | Background jobs, scheduling, retries, rate limiting |
Each one stands in for a package you'd normally add — but with nothing pulled in behind it, and often a unique twist (larzlog redacts secrets by default; larzcli layers config).
An AI agent in a few lines
larzagent gives you the tool-calling loop — define tools as functions, and the model can call them — against any OpenAI-compatible endpoint, with a pluggable transport so you can test offline.
from larzagent import Agent, tool
@tool
def get_weather(city: str) -> str:
"""Look up the weather for a city."""
return lookup(city)
agent = Agent(base_url="https://gateway.larzpay.com/v1", tools=[get_weather])
agent.run("What's the weather in Lagos?") # model calls get_weather itselfWhy replace the usual packages?
These aren't different for difference's sake — each earns its place.
| Instead of | Use | Why it's worth it |
|---|---|---|
| requests | larzhttp | Same ergonomics, zero dependencies |
| a logging + secret-scrubber | larzlog | PII/secret redaction on by default |
| click / argparse boilerplate | larzcli | Function → CLI, with config layering |
| celery + a broker | larztask | Durable jobs with no server to run |
The pattern repeats across the stack: keep the ergonomics developers expect, drop the dependencies and infrastructure they don't want.
🎯 Key takeaways
- The everyday kit covers web (larzhttp), AI agents (larzagent), CLIs (larzcli), logging (larzlog) and jobs (larztask).
- Each replaces a common third-party package — with zero dependencies and often a unique advantage.
- larzagent builds tool-calling AI agents against any OpenAI-compatible API, testable offline.
- A long tail of 40+ more utilities means you rarely need to leave the stack for everyday jobs.
Frequently asked
Can larzhttp really replace requests?
For the everyday jobs — GET/POST with params, JSON, headers, auth, timeouts, retries and a session with a base URL — yes, with the same ergonomics, built on the standard library's urllib. requests is excellent and battle-tested; larzhttp's pitch is identical convenience with nothing pulled in behind it, which matters when you're keeping a project dependency-free.
Is larzagent a full agent framework?
It's a focused one: an LLM client over urllib, a @tool decorator that builds the function-call schema from your type hints and docstring, and an agent loop that handles tool calls, bad arguments and errors defensively with a step limit. It deliberately stays small and dependency-free — and it works against any OpenAI-compatible endpoint, including the Larz AI Gateway, with a pluggable transport for offline testing.
Related lessons
Security & Identity — Crypto You Can Trust
Security code is where 'roll your own' is scariest — so this family sticks to standard, RF…
Building with the Larz StackPutting It Together with the Larz Framework
The libraries shine alone — but they were also designed to click into the Larz web framewo…
AI & ProductivityThe Best Free AI Tools in 2026 (and What Each One Is Actually For)
There are thousands of AI tools and 90% are noise. Here's the small set that's genuinely u…