Faaah (Filesystem as an AI Handler) – Agent Subscription as OpenAI API via Files Developer Sebastian Carlos released FAAAH, a 308-line, dependency-free Python tool that turns an existing AI coding-agent subscription (such as Claude Code or opencode) into an OpenAI-compatible local server by writing requests to `.txt` files in a queue directory and having the agent write responses back. FAAAH runs on Python's `http.server`, listens on 127.0.0.1:8000 by default, installs via `uv tool install`, and works with any tool expecting the OpenAI API format, including GraphRAG, LangChain, LlamaIndex, LiteLLM and the `openai` SDK. Carlos states it is his understanding that local, non-commercial use does not break any agent provider's terms of service, while warning users against processing massive datasets because some providers may deploy telemetry to detect infractions. The simplest OpenAI-compatible LLM proxy you will ever need.™️ FAAAH allows you to reuse your AI Agent subscription as a generic OpenAI-compatible local server. FAAAH is dependency-free, implemented as a plain-text file protocol UNIX-philosophy certified : 1. Instead of sending your prompts to cloud LLM APIs, send them to FAAAH, which reads OpenAI-compatible requests and dumps them into a folder as .txt files. 2. Then, tell your existing AI coding agent Claude Code, opencode, etc to read the files and write responses to other .txt files. 3. FAAAH then packages the responses into OpenAI-compatible JSON, and returns them to your app. Because you already pay for an AI coding assistant. Stop paying for API keys just for your weekend side projects faaah It's also an agnostic proxy between any OpenAPI-expecting tool, and any LLM. As an example, check GraphRAG fully driven through FAAAH https://github.com/sebastiancarlos/graphrag-faaah . demo-9mb.mp4 It is my understanding that local, non-commercial use of this tool doesn't break the existing ToS of any AI agent provider. But if any lawyer disagrees, kindly send me a message. I would then introduce you to a friend of mine: Miss Barbra Streisand. Be cautious about using FAAAH to process massive datasets. Some providers you know which ones https://news.ycombinator.com/item?id=47963204 might do some Kafkaesque interpretations of their ambiguous ToS, and deploy Orwellian telemetry to detect infractions hasn't happened to me yet, YOLO - Zero Dependencies: Uses Python's http.server . That's it. - 308 lines of code: Have you seen the bloat of other tools in this space? Yuck. - Unix Philosophy: Everything is a file. Do one thing well. Keep it KISS, ya YAGNI. - Universal Compatibility: If a tool supports the de-facto OpenAI API format GraphRAG, LangChain, LlamaIndex, LiteLLM, the openai SDK , it supports FAAAH. - Agent Agnostic: Due to the agent entrypoint being a prompt , it's not tied to any specific agent provider/version. Future-proof. - Human-in-the-loop Fallback: If the AI agent gets stuck or hits usage limits, you can literally open the current response file say response-0004.txt , type the answer yourself or copy-paste the request to your favorite web chatbot , and hit save. FAAAH will succeed. Install with uv , from inside this repo: uv tool install . installs the faaah command on PATH uv tool install . embeddings with the local embeddings extra see later Or straight from the git repository: uv tool install git+https://github.com/sebastiancarlos/faaah faaah listens on 127.0.0.1:8000, queue ~/.cache/faaah/queue faaah --port 8080 override port faaah --queue /tmp/q override queue directory faaah --log-dir /tmp/logs override session log root see below faaah -c also copy the agent prompt to the clipboard Each run creates a session-log dir ~/.cache/faaah/sessions/