An extensible AI agent that connects LLMs to modular Python tools, making it easy to add, modify, and remove capabilities.
@tool_registry.register(
name="calculator",
description="Safely evaluate mathematical expressions"
)
def calculator(expression):
return eval(expression)
Automatically switches to configured backup models when the primary model or other backups exhaust their usage limits without disturbing the loop. Configure as many backups as needed.
If all configured backup models exhaust their usage limits, a local model continues the work (server must be already running).
Detects TPM/RPM rate limits, waits 60 seconds, and retries the request automatically without interrupting the model (5 retries).
Connect to locally hosted language models through an OpenAI-compatible API for private, offline inference.
Allow the model to request Python functions to perform tasks autonomously.
Register new tools using a simple decorator under mod.py for easy extensibility.
Configure the model endpoint and model name through environment variables.
Safely evaluate mathematical expressions using basic arithmetic operators.
Search the web and return relevant results with titles and URLs.
Fetch webpages and extract readable text for the AI to analyse.
Find links on a webpage and convert relative URLs into absolute URLs.
Read the contents of local files.
Create files or overwrite existing files after user confirmation.
Replace a unique piece of text in an existing file, preview changes, and request user confirmation.
List files and directories at a specified path.
Execute shell commands on the host computer with configurable timeout and output limits.
Use the Playwright tools to view, explore and debug websites.
Clone the AGEX repository to your local machine.
Set up a Python virtual environment for isolated dependencies.
Set up a Python virtual environment for isolated dependencies.
Install the core dependencies using pip.
Create a .env file and configure your model settings.
/quit
Exit the program
/exit
Exit the program
/clear
Clear the terminal
/model
Switch between Primary, Backups and Local on the fly
/build [task]
Build, run, and test full apps by itself
/new
Start a new conversation while preserving existing saved chats.
/chats
View saved conversations and select one to continue.
/resume [id]
Resume a saved conversation by its chat ID, restoring its message history.