AI Terminal Agent
Project description
kernel.sh
AI Terminal
A natural language terminal assistant that translates your English requests into shell commands.
Features
- Natural Language to Shell: Just type what you want to do.
- Safety First: Dangerous commands (like
rm -rf) are flagged, and all commands require confirmation. - Context Aware: Runs in your current shell session, preserving directory and environment.
- Privacy: Runs locally (logic) and uses your own API key.
Installation
- Run the installer:
./install.sh
- Restart your terminal or source your config (e.g.,
source ~/.zshrc).
Usage
- Type
agentto enter AI mode. - Type your request, for example:
- "List all python files modified yesterday"
- "Find the largest file in this directory"
- "Undo the last git commit"
- Review the suggested command.
- Type
yto execute, or anything else to cancel. - Type
exitto leave AI mode.
Configuration
The configuration file is located at ~/.config/ai_terminal/config.
You can set your API key there:
GEMINI_API_KEY=your_key_here
Alternatively, you can export GEMINI_API_KEY in your environment.
Requirements
- Python 3
- Bash or Zsh
- Gemini API Key
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
ktml_agent-0.1.3.tar.gz
(10.6 kB
view details)
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 ktml_agent-0.1.3.tar.gz.
File metadata
- Download URL: ktml_agent-0.1.3.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3bcbac5269cab2f865a6b7811f28cd1de70ef3686259ca43497e35a5873faf2
|
|
| MD5 |
2aaa66705beecc387691026ef13ec383
|
|
| BLAKE2b-256 |
f741978ecfc3402520a8e6ac0326376932b74ca710f852d7f998d75be7aa21dd
|
File details
Details for the file ktml_agent-0.1.3-py3-none-any.whl.
File metadata
- Download URL: ktml_agent-0.1.3-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95a31f9e1085ceffcb7031dce5094661d839260ce0738b19b8ce6832bfbefec9
|
|
| MD5 |
bc1e3438d70fa8f705d4688df54c7a2d
|
|
| BLAKE2b-256 |
7eb0d5ede60e48748af9c9115d4f35bac6b3012da712629e820a80dd29bae78e
|