Skip to main content

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:

  1. Install missing Python dependencies
  2. Prompt you to enter GEMINI_API_KEY and/or OPENAI_API_KEY if not already set
  3. Save them permanently in your system environment
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taskgpt-0.1.5.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

taskgpt-0.1.5-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

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

Hashes for taskgpt-0.1.5.tar.gz
Algorithm Hash digest
SHA256 e30c6316439f5f3684f68587c836d59980e06ac4456adf31eb35189a21c53640
MD5 528a294adce0b4362dfe8d11cb73f714
BLAKE2b-256 3de131101fe79b791ab67e1024a45334503743f64a06a464129f1f249094c3cb

See more details on using hashes here.

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

Hashes for taskgpt-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 346c08a9286dc662efd6ce834f38c641626a31fdc97ee22dbfc263e2e20f0761
MD5 bcdd0d80aaf9506046f73097da981749
BLAKE2b-256 0af6340f47e72d9aabef42124671d23dbc9b8d9a8ec2ffa5f3a461f27c72f73a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page