Apex-Agent: Resilient & Context-Aware Coding CLI
Apex-Agent is a sophisticated Command Line Interface (CLI) framework designed to enhance developer productivity by providing deep context awareness, secure tool execution, and multi-provider LLM resilience.
🚀 Key Features (MVP)
🧠 Intelligence & Context
- Advanced Context Engine: Automatically manages relevant project context, including pinned files and repository structure.
- Symbol-Aware Search: Precisely locate class and function definitions using AST parsing (
search_symbol). - Semantic Mapping: Built-in repository mapper to provide the LLM with a structural overview of the codebase.
🛠️ Resilient Architecture
- Multi-Provider Support: Seamlessly switch between Groq (high-speed) and Ollama (local/privacy).
- Human-in-the-Loop Safety: Mandatory planning and approval workflow. Every change is previewed with a colorized Diff UI.
- Circuit Breaker & Fallback: Automatic failover logic with latency tracking for maximum uptime.
🧰 Comprehensive Toolset
- File Ops:
read_file(with selective truncation),write_file,replace_in_file,open_file_range. - Analysis:
find_references,list_files,search,get_repo_map. - Execution:
run_command(with security classification),run_tests(pytest integration).
🛠️ Setup & Installation
Prerequisites
- Python 3.12+
- Ollama (for local execution)
- Groq API Key (optional, for cloud execution)
Installation
-
Clone the repository:
git clone https://github.com/yourusername/apex-agent.git cd apex-agent
-
Install globally (using
uvorpip):# Using uv (recommended) uv tool install . # Or using pip pip install .
-
Initialize Global Configuration: Run the following from anywhere:
apex initThis creates a configuration file at
~/.apex-agent/.env. Open it to add your API keys.
🖥️ Usage
You can now run the agent from any repository directory by simply typing:
apex chat start
Commands
apex init: Initialize global settings.apex chat start: Start an interactive session in the current directory./trace: (Inside chat) View raw LLM interaction data.
📜 License
Distributed under the MIT License. See LICENSE for more information.
Metadata
Release files for apex-agent 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apex_agent-0.1.2.tar.gz | 20.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apex_agent-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.5 kB
Release files / apex_agent-0.1.2.tar.gz
| Download URL | apex_agent-0.1.2.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94c312f6577a641c019cae14268b7aadceb8a809bc0cebc558cd021d9bdc20c4
|
|
BLAKE2b-256 checksum How to use checksums |
58cc0599519c2b581a4ead8d62e87e852c7f73d9e97be879b411237621bc58d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Release files / apex_agent-0.1.2-py3-none-any.whl
| Download URL | apex_agent-0.1.2-py3-none-any.whl |
|---|---|
| Size | 28.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
804840f50c9c2bb22816100c7831b2157db5ef9834a92ac6daca0830eaf6d184
|
|
BLAKE2b-256 checksum How to use checksums |
33e95253edf655c0001b758908c17ae3dd873be873e9be75412ae4c041aa7b13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|