Xanthorox Agentex: Documentation
Your AI-powered command-line agent for advanced software development and system interaction.
Overview
Xanthorox Agentex is a sophisticated, command-line interface (CLI) AI agent designed for developers, pentesters, and power users. It provides a seamless way to interact with your file system, execute commands, and leverage the power of AI to write, debug, and modify code directly in your terminal.
What Can The Agent Do For You? (A Simple Guide)
Ever wish you had a tech wizard who could instantly understand and manage your computer files and code? That's Xanthorox Agent. It's like having a super-smart assistant living in your computer's command line (the black screen where programmers work).
Instead of you needing to learn complicated commands, you just tell the agent what you want in plain English.
Here’s what makes it so powerful:
- Full System Access: The agent can see and understand everything in a folder. This means it can work on large, complex projects with thousands of files—something a normal chatbot can't handle.
- Intelligent Code Editor: Got a bug in your software? Just tell the agent: "My app is crashing, find the bug in the main.c file and fix it." The agent will read the code, find the problem, and even write the corrected code for you.
- Automated Upgrades: Want to add a new feature or use a more secure encryption method? You can say: "Upgrade my software to use the new AES-256 encryption standard." The agent will handle the complex task of updating all the necessary files.
- Malware Analysis and Creation: For security professionals, the agent is an invaluable tool. It can analyze malicious code to understand how it works, or help you build sophisticated security tools to test your defenses. This is the kind of power that was previously only available to elite developers.
- Works on Your System: The Xanthorox Agent runs directly on Windows and Linux systems, giving it the access it needs to be a true digital assistant.
In short, the Xanthorox Agent is a revolutionary tool that brings the power of advanced AI directly to your fingertips. It's for anyone who wants to build, fix, or improve software, from hobbyists to professional developers and security researchers.
Core Features
-
Intelligent Code Modification & Diff Viewer
The agent proposes changes with a professional, color-coded diff view. You see exactly what lines are being added, removed, or changed before you approve, giving you complete and intuitive control over your codebase.
-
Live Code Editing
A built-in IDE allows you to write and edit code in real-time. You can even modify the code suggested by the AI before it gets saved, giving you the final say in every change.
-
Smart Edit Workflow
Includes validation to prevent crashes from malformed AI responses, ensuring a more stable and reliable experience.
-
Interactive and User-Friendly CLI
A polished and easy-to-use command-line interface with features like multi-line input, command history, and a toggleable shell mode.
-
Full Project Context Awareness
Run the `analyze` command or inject context on the fly with `@
` to give the AI a deep understanding of your project structure and code. -
Performance Tracking
On exit, the agent provides a detailed summary of the session, including total time, active agent time, time spent on API calls, and token usage.
-
Powerful Built-in Tools
Execute shell commands, read/write files, and propose git-style changes to your code, directly from the agent's prompt.
Recent Updates
-
Advanced Diff Viewer
A new, professional `diff` viewer that clearly shows proposed code changes with line numbers and color-coding for additions, deletions, and context lines.
-
Enhanced Stability
Implemented robust validation for AI-generated code modification requests to prevent application crashes from malformed data.
-
Session Performance Summary
The agent now displays a detailed performance report upon exit, giving you insights into API usage, token counts, and time metrics.
-
Persistent Shell Mode
Toggle a dedicated shell mode with `!` or `!shell` for a more streamlined workflow when you need to run multiple shell commands.
Commands
Agentex provides a set of commands to streamline your workflow:
-
analyze
Scans the current project directory to provide the AI with context for its tasks.
-
clear
Clears the current conversation history with the agent.
-
exit / quit
Exits the Xanthorox Agentex application.
-
/help
Displays a detailed help message with all available commands and shortcuts.
-
@<file/folder>
Injects the content of a specific file or folder into the AI's context for the current session.
-
!<command>
Executes a single shell command directly.
-
! or !shell
Toggles a persistent Shell Mode for running multiple commands.