{"repo":"nonatofabio/luna-agent","free":true,"listed":false,"github":"https://github.com/nonatofabio/luna-agent","clone":"git clone https://github.com/nonatofabio/luna-agent.git","description":"Custom minimal AI agent with persistent memory, MCP tools, and Discord","language":"Python","stars":18,"topics":["agent-framework","ai-agent","discord-bot","homelab","llama-cpp","llm","local-llm","mcp","openai-compatible","python"],"license":"MIT","category":"ai-agents","readme_excerpt":"Luna Agent A custom minimal AI agent with persistent memory, MCP tool integration, Discord/CLI interface, and structured observability. Runs entirely on local hardware — no cloud API costs. --- 2300 lines of Python. No frameworks. Why Custom We evaluated existing agent frameworks and rejected them all: - OpenClaw : 400K lines of code, 42K exposed instances on Shodan. Too large to audit, too large to trust. - ZeroClaw : 9 days old at time of evaluation. Too immature. - NanoClaw : Too thin — would need to rebuild most of it anyway. The core needs (memory, tools, chat, logging) are individually well-solved problems. No 400K-line framework needed. Architecture All LLM traffic flows through a single LLMClient with a configurable endpoint URL. Today it points at localhost:8001 (llama-server). To insert an AI firewall later, change the URL to localhost:9000 — zero code changes required. Thinking model support: Luna handles reasoning models (Qwen3.5, etc.) automatically — extracting reasoning content , falling back to cleaned reasoning when content is empty, and stripping leaked markup ( , , etc.) from output. Hardware - Intel i7-13700K, 64GB DDR4 - 2x NVIDIA RTX 3090 (24GB each, 48GB total) - Qwen3.5-35B-A3B Q8 0 via llama-server with layer split across both GPUs - 131K context window, Q8 0 KV cache Quick Start Project Structure Configuration All settings live in config.toml . Environment variables override for secrets: Env Var Overrides Required --------- ----------- ---------- DIS","default_branch":null,"files":null,"tree":[],"storefront":"/r/nonatofabio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nonatofabio/luna-agent/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}