This article provides a hands-on coding guide to explore nanobot, a lightweight personal AI agent framework. It details recreating core subsystems like the agent loop, tool execution, memory persistence, skills loading, session management, subagent spawning, and cron scheduling. The tutorial uses OpenAI’s gpt-4o-mini and demonstrates building a multi-step research pipeline capable of file operations, long-term memory storage, and concurrent background tasks. The goal is to understand not just how to *use* nanobot, but how to *extend* it with custom tools and architectures.
Charm makes the command line glamorous with tools like Huh for interactive forms, Lip Gloss for styling, and Glow for markdown reading. They offer various libraries and applications for building terminal user interfaces.
- Approximate Tokens, Words and Characters Calculator for LLM's and Text Trimmer — Simple calculator to estimate tokens for Large Language Models and text editor to trim text
- Text File Merger for LLM — This tool combines multiple text files into a single document, with clear separation between files
- PDF to TXT Converter — Convert PDF documents to plain text format for use with LLMs and text analysis
- HTML to TXT Converter — Remove HTML tags and extract clean text content for LLM processing
- LLM System Prompt Generator — Generate optimized system prompts for different LLM model sizes (3B, 33B, 70B, etc.)
- Creative Idea Generator — AI-powered brainstorming tool for generating creative solutions and ideas
Run arbitrary commands when files change