MohamedArzath

Agentic AI Solution — AI skill for Claude Code

AI community

Hands-on Agentic AI solution: a simple local multi-model agent with MCP tools and long-term memory that is capable of reading and writing files inside its sandbox space using local LLM like Gemma4 mod.

How to install Agentic AI Solution

This entry records only its repository, not the path inside it, so there is no exact command to give. Open MohamedArzath/agentic-ai-solution and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentic AI Solution does

Hands-on Agentic AI solution: a simple local multi-model agent with MCP tools and long-term memory that is capable of reading and writing files inside its sandbox space using local LLM like Gemma4 model and cloud models like Claude and ChatGPT.

Alternatives in AI

  • OpenSpace — "OpenSpace: The Skill Management Layer for AI Agents" -- https://open-space.cloud/ 7.5k ★
  • Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
  • J Space Cognition Suite V3.7 — J-Space Cognition Suite V3.7 - AI cognitive-enhancement Skills based on Anthropic's J-space global workspace r 3k ★

README

🤖 Agentic AI Solution

**A from-scratch AI agent harness with local and cloud models, file tools, MCP servers and long-term memory**

[![Python](https://img.shields.io/badge/Python-3.12+-3776AB?style=flat&logo=python&logoColor=white)](https://python.org) [![uv](https://img.shields.io/badge/uv-package%20manager-DE5FE9?style=flat&logo=uv&logoColor=white)](https://docs.astral.sh/uv/) [![Ollama](https://img.shields.io/badge/Ollama-local%20models-000000?style=flat&logo=ollama&logoColor=white)](https://ollama.com) [![MCP](https://img.shields.io/badge/MCP-tools-1A1A1A?style=flat&logo=modelcontextprotocol&logoColor=white)](https://modelcontextprotocol.io) [![OpenAI API](https://img.shields.io/badge/API-OpenAI%20compatible-412991?style=flat)](https://platform.openai.com/docs/api-reference/chat) [![License](https://img.shields.io/badge/License-MIT-green?style=flat)](LICENSE)


A small, readable AI agent harness built from scratch on the OpenAI-compatible Chat Completions API. It contains two agents:

Script What it is
`main.py` Simple agent. One local model (Ollama), a tool-calling loop and three file tools scoped to src/workspace/.
`agentic_ai.py` Full agent. Several models you can switch at runtime (local and cloud), MCP server tools, long-term memory and slash commands.

Both agents use the same plain loop: send the conversation to the model, run any tools it asks for, append the results and repeat until the model gives a final answer.


Features

`main.py`: simple local agent

  • Talks to a local Ollama model (gemma4:12b by default) through its OpenAI-compatible endpoint
  • File tools: list_files, get_file_content, create_file
  • All file access stays inside src/workspace/
  • Each prompt starts a new conversation, with no state kept between turns

`agentic_ai.py`: multi-model agent

  • Model registry. Local Ollama models (Gemma, Qwen, Phi) plus