Micro-agent is a lightweight, unopinionated JavaScript library designed to simplify the creation of sophisticated AI agents using large language models. It exposes core abstractions such as agents, tools, planners, and memory stores, allowing developers to assemble custom conversational flows. Agents can invoke external APIs or internal utilities as tools, enabling dynamic data retrieval and action execution. The library supports both short-term conversational memory and long-term persistent memory to maintain context across sessions. Planners orchestrate chain-of-thought processes, breaking down complex tasks into tool calls or language model queries. With configurable prompt templates and execution strategies, micro-agent adapts seamlessly to frontend web applications, Node.js services, and edge environments, providing a flexible foundation for chatbots, virtual assistants, or autonomous decision-making systems.