GenericAgent is a compact Python framework that loops an LLM through nine atomic tools to control browsers, terminals, files, and input on a local machine. Completed tasks crystallize into reusable skills that accumulate over time.
Overview
GenericAgent is an autonomous agent framework built around a small core and a short execution loop. Nine atomic tools cover code execution, file read and write, web perception, browser JavaScript control, user prompts, and layered memory updates, enabling models to operate browsers, shells, filesystems, screen vision, and mobile devices via ADB.
The design favors growing capability through use rather than shipping a large preset skill pack. After tasks finish, workflows can be saved as skills, building a personal skill tree from the same seed codebase. Memory is organized in layers from meta rules through session archives for routing facts and standard procedures.
Browser automation uses TMWebdriver, a local server plus Chrome extension that drives a real persistent browser session instead of a disposable headless profile, which the authors cite for login state and bot-detection scenarios. Frontends include a terminal UI, Streamlit, and messaging bots such as Telegram, Discord, and Lark.
Setup is intentionally lightweight: core dependencies are a handful of Python packages without Playwright or LangChain in the base install. Users enable OCR, vision, or deeper computer-use flows by instructing the agent to follow bundled playbooks and install missing pieces. Multiple commercial and local LLM providers are documented as supported.
Key features
- Nine atomic tools and short agent loop
- Self-evolving saved task skills
- Layered memory from rules to archives
- Real Chrome session via TMWebdriver
- Terminal, Streamlit, and chat app frontends
- Cross-platform local computer control
- Optional OCR and vision setup via prompts
- Supports many LLM provider backends
Use cases
- Automating repetitive desktop and browser tasks
- Building a personal growing agent skill library
- Driving real logged-in web sessions
- Chat-controlled automation via Telegram or Discord
- Lightweight local agent experiments without heavy deps