AI Terminal Assistant with multi-provider support
Project description
CarthageAI Multi-provider AI terminal assistant
๐ Features
AI-Powered Assistance
โ Multi-Provider Support - (OpenAI/DeepSeek)
โ File Analysis - Reference files with @file.txt for context-aware responses
โ Session Persistence - Save/load conversations with !save and !load
โ Rich Markdown Rendering
Terminal Productivity
โจ Interactive CLI - Natural language queries or commands
๐ File Integration - Supports .py, .json, .txt, and 10+ file types
โฑ Real-Time Processing - Loading spinners and timeout handling
Sysadmin Toolkit (Built-in Commands)
๐ Test open ports | ๐ถ Network connectivity check
๐ฝ Disk usage summary | ๐ Find running processes
๐ก Audit sudo users | ๐ SSH config analyzer
๐ฆ Installation
# Clone the repository
git clone https://github.com/alaadotcom/CarthageAI.git
cd CarthageAI
# Install dependencies
pip install -r requirements.txt
๐ฅ๏ธ Usage
Basic Commands:
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Command โ Description โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ !help โ Show help menu โ
โ !model โ Switch AI models โ
โ @file.txt โ Analyze file content โ
โ !save โ Save current conversation โ
โ !load <id> โ Load previous session โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Examples:
# Direct query
python carthage_ai.py "Explain Python decorators"
# File analysis
python carthage_ai.py "Fix this code" @broken_script.py
# Interactive mode:
python carthage_ai.py
> @config.json What's wrong with this configuration?
๐ ๏ธ Sysadmin Tools
_________________________________________
/ Port Check | Disk Space | Process Find \
| SSH Audit | Ping Test | Sudo Check |
\________________________________________/
Example:
!portcheck example.com 80
!diskspace
!findproc nginx
API keys stored locally in config.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file carthageai-0.1.0.tar.gz.
File metadata
- Download URL: carthageai-0.1.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d29bcf78884e8a5180616d0a05a55370cce05d80c4585a383cc56fff2e2ff74c
|
|
| MD5 |
b94e49206caa7f24981656f23228dbeb
|
|
| BLAKE2b-256 |
fa6e58e12bfe92e11e3ddd7df2c2fe93007b10787e7a5cc8c4162971a0e29b15
|
Provenance
The following attestation bundles were made for carthageai-0.1.0.tar.gz:
Publisher:
publish.yml on alaadotcom/CarthageAI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
carthageai-0.1.0.tar.gz -
Subject digest:
d29bcf78884e8a5180616d0a05a55370cce05d80c4585a383cc56fff2e2ff74c - Sigstore transparency entry: 255563335
- Sigstore integration time:
-
Permalink:
alaadotcom/CarthageAI@f27e18cea735ad370344b7b93cde1f3449090a02 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/alaadotcom
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f27e18cea735ad370344b7b93cde1f3449090a02 -
Trigger Event:
release
-
Statement type:
File details
Details for the file carthageai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: carthageai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b2c7834f24da6287c02f0fe7b175687b68f8019e9b8cbd13ed6a73e6e295eae
|
|
| MD5 |
0704cab10368eef453ad6617778fecda
|
|
| BLAKE2b-256 |
d4e0982755d452d3a24c6f11d1dd7a5e584da9d543e5c9f3926326b04b5d07a4
|
Provenance
The following attestation bundles were made for carthageai-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on alaadotcom/CarthageAI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
carthageai-0.1.0-py3-none-any.whl -
Subject digest:
2b2c7834f24da6287c02f0fe7b175687b68f8019e9b8cbd13ed6a73e6e295eae - Sigstore transparency entry: 255563336
- Sigstore integration time:
-
Permalink:
alaadotcom/CarthageAI@f27e18cea735ad370344b7b93cde1f3449090a02 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/alaadotcom
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f27e18cea735ad370344b7b93cde1f3449090a02 -
Trigger Event:
release
-
Statement type: