Tiny-OAI-MCP-Agent provides a small, extensible agent architecture built on the OpenAI API. It implements a multi-cognitive process (MCP) loop for reasoning, memory, and tool usage. You define tools (APIs, file operations, code execution), and the agent plans tasks, recalls context, invokes tools, and iterates on results. This minimal codebase allows developers to experiment with autonomous workflows, custom heuristics, and advanced prompt patterns while handling API calls, state management, and error recovery automatically.