Mini Agent Framework — Development skill for Claude Code
A small, reusable, single-agent framework built from scratch in Python.
How to install Mini Agent Framework
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open sreevidyamcsr/mini-agent-framework and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mini Agent Framework does
A small, reusable, single-agent framework built from scratch in Python. It uses a bounded ReAct execution loop and does not depend on an agent framework or orchestration framework. It includes provider adapters for OpenAI, Google Gemini, Anthropic Claude, and xAI Grok using their official or documented compatible SDK interfaces.
Alternatives in Development
- React Native Movie App — Get hands-on with React Native and Expo in this crash course 787 ★
- React Native Restate — Build a full-stack Real Estate app from scratch with Google Authentication, dynamic routing, and more 678 ★
- Maestro Next — Unified entry for all development intents — classify intent, assess complexity, route to the correct execution 530 ★
README
Mini Agent Framework
A small, reusable, single-agent framework built from scratch in Python. It uses a bounded ReAct execution loop and does **not** depend on an agent framework or orchestration framework. It includes provider adapters for OpenAI, Google Gemini, Anthropic Claude, and xAI Grok using their official or documented compatible SDK interfaces.
Implemented architecture
- Agent Core & LLM Interface - reusable
Agentconfiguration, an abstractLLMProvider, and adapters for OpenAI, Gemini, Anthropic, and xAI. - Input & Output Gateway - normalizes text, message lists, typed
AgentRequestvalues, and structured dictionaries; returns a consistentAgentResult. - ReAct Runtime / Execution Loop - reason/decide, tool action, observation, context update, repeat/final response, with bounded turns, tool calls, LLM/tool retries, time, cumulative tokens, and resumable checkpoints.
- Tool System - registry, metadata, JSON-style schemas, authorization, argument validation, execution, and normalized results/errors.
- Memory & Context - conversation and tool-result history through a replaceable
Memoryinterface and an in-memory implementation. - Guardrails & Observability - input/output validation, execution limits, tool restrictions, trace IDs, and structured lifecycle events.
The primary five demonstrated agent capabilities are provider-neutral LLM access, normalized interaction, ReAct execution, controlled tool use, and contextual memory. Guardrails and observability are cross-cutting controls applied to those capabilities.
Requirements
- Python 3.11+
- Git
- An API key for at least one supported provider
Clone and set up the project
Clone the public GitHub repository and enter the project directory. Replace the placeholder with the repository URL created for this project:
git clone
cd mini-agent-framework
For example, after publishing the repository under a GitHub account:
Related Skills
Rulesmith
A minimal agent framework with ReAct loop, tool registry, sliding-window memory, human approval gate, and exec
Grok Build Showcase
A living, executable showcase and practical toolkit for Grok Build (xAI). Includes reusable skills, exemplary
Career Learning Roadmap Protocol
An evidence-based protocol for validating career paths, researching job markets and real salaries, and generat
TAP Runtime
Run your coding agent's repeated work as small sandboxed programs that borrow its tools and ask before changin
Vibe Check Vi
Claude skill for vibe coding that commits in small steps, reports whether a change compiles, runs, or was veri
Sandbox Mini Harness
A small agent on the Claude Agent SDK that pulls a free public source through an MCP connector you write, scor
Related Agents
Yume
Native desktop UI for Claude Code with orchestration, streaming, background agents, and multi-provider support
Python FastAPI Architect
Use this agent when you need to design, review, or evolve the architecture of Python/FastAPI asynchronous appl
Study Note Worker
Runs bounded transcript review and source mapping after deterministic Python preprocessing; does not author no