Mini Agent Framework
Description
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.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11