# AGENTS.md - Context & Directives for AI Agents This file defines the operating context for Sisyphus, OpenCode, and Gemini agents working on **Web Utils 2026**. ## 1. Core Philosophy: Client-Side First **CRITICAL RULE:** Do NOT implement server-side logic for tasks that can be done in the browser. - **Client-Side (Frontend):** Generators (UUID, Password), Formatters (JSON, XML), Encoders (Base64), Unit Converters. - **Server-Side (Backend):** Image processing, Video manipulation, Heavy file conversion, scraping (if CORS blocked). ## 2. Architecture Constraints ### Backend (FastAPI) - **Stateless:** NEVER store persistent user data. - **File Handling:** ALWAYS use `app.core.cleanup` utils. Files must go to `backend/temp_uploads` and be cleaned up. - **Registry:** New tools must be registered in `app.core.registry` to be visible to the frontend. ### Frontend (Vue 3) - **State:** Use Vue Composition API (`