A CLI tool that helps you run GPT-based agents locally
Project description
taskGPT
taskGPT is a Python-based command-line tool for running AI agents powered by OpenAI and Gemini models. It offers a guided setup experience, installs dependencies automatically, and configures API keys globally for seamless future use.
Features
- Run GPT-based agents from your terminal with a simple command
- One-time setup for dependencies and API keys
- Supports both OpenAI and Gemini API keys
- Persists API keys to system environment (Windows Registry / shell config)
- Automatically detects setup and avoids redundant installations
- Docker support for isolated environments
- Installable via PyPI or GitHub
Installation
Option 1: Install via pip
You can install taskGPT from either PyPI or GitHub:
From PyPI
pip install taskgpt
From GitHub
pip install git+https://github.com/KetanHegde/taskGPT.git
Option 2: Run using Docker
If you prefer using containers, taskGPT works great inside Docker.
Build the Docker image
docker build -t taskgpt .
Run the container
Unix/Linux
docker run -it --rm \
-v "$PWD":/app \
-w /app \
-e OPENAI_API_KEY=your-openai-key \
-e GEMINI_API_KEY=your-gemini-key \
taskgpt
Windows CMD
docker run -it --rm ^
-v "%cd%":/app ^
-w /app ^
-e OPENAI_API_KEY=your-openai-key ^
-e GEMINI_API_KEY=your-gemini-key ^
taskgpt
Windows Powershell
docker run -it --rm `
-v "${PWD}:/app" `
-w /app `
-e OPENAI_API_KEY=your-openai-key `
-e GEMINI_API_KEY=your-gemini-key `
taskgpt
Usage
Once installed, run the tool using:
taskgpt
First Run
On the first launch, taskgpt will:
- Install missing Python dependencies
- Prompt you to enter
GEMINI_API_KEYand/orOPENAI_API_KEYif not already set - Save them permanently in your system environment
- Ask you to restart your terminal (only on first setup)
Subsequent runs will skip setup and launch the agent directly.
Development
To contribute to this project:
Clone the repository
git clone https://github.com/KetanHegde/taskGPT.git
cd taskGPT
Install dependencies
pip install -e .
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 taskgpt-0.1.5.tar.gz.
File metadata
- Download URL: taskgpt-0.1.5.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e30c6316439f5f3684f68587c836d59980e06ac4456adf31eb35189a21c53640
|
|
| MD5 |
528a294adce0b4362dfe8d11cb73f714
|
|
| BLAKE2b-256 |
3de131101fe79b791ab67e1024a45334503743f64a06a464129f1f249094c3cb
|
File details
Details for the file taskgpt-0.1.5-py3-none-any.whl.
File metadata
- Download URL: taskgpt-0.1.5-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
346c08a9286dc662efd6ce834f38c641626a31fdc97ee22dbfc263e2e20f0761
|
|
| MD5 |
bcdd0d80aaf9506046f73097da981749
|
|
| BLAKE2b-256 |
0af6340f47e72d9aabef42124671d23dbc9b8d9a8ec2ffa5f3a461f27c72f73a
|