Skip to main content

Let language models run code with intelligent action system

Project description

UniShell

AI-powered code execution with natural language.

Installation

pip install unishell-q

How to Run

# Interactive mode
unishell

# With Azure OpenAI
unishell --model azure/gpt-4o --api_key YOUR_KEY --api_base YOUR_ENDPOINT --api_version 2024-08-01-preview

# With OpenAI
export OPENAI_API_KEY=your-key
unishell --model gpt-4o

# Auto-run (skip approval)
unishell -y

How to Use

> create a file named test.txt in desktop
> lock my screen
> mute the volume
> open application for instance notepad

Python API

from unishell import unishell

unishell.llm.model = "gpt-4o"
unishell.llm.api_key = "your-key"
unishell.chat("Create a Python script")

Version: 0.4.1

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

unishell_q-0.5.1.tar.gz (254.6 kB view details)

Uploaded Source

Built Distribution

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

unishell_q-0.5.1-py3-none-any.whl (348.3 kB view details)

Uploaded Python 3

File details

Details for the file unishell_q-0.5.1.tar.gz.

File metadata

  • Download URL: unishell_q-0.5.1.tar.gz
  • Upload date:
  • Size: 254.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for unishell_q-0.5.1.tar.gz
Algorithm Hash digest
SHA256 8dfe0ebf26d126e2a37f5f66663c87ecb5e0be0537f70bea3065b9bbc726e0a5
MD5 5f24529e741ee5f408394e23ba723d39
BLAKE2b-256 b2381d1883fea79a281b6502ccf5447ece0becccc440f29100624da166ca80c2

See more details on using hashes here.

File details

Details for the file unishell_q-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: unishell_q-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 348.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for unishell_q-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d8be5761871c0546c0d1c36243a16b286b1a267aeb41e9f81d947c3701da535
MD5 ba4cbd0950741bf49c2f1c18c4ea295b
BLAKE2b-256 394f05bbfb41b436abd1fab2751c3d38c6844dc071a271f3a2271e27e7ea7103

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