Skip to main content

NuralShell: Your AI-Powered Terminal Assistant

NuralShell is an intelligent AI assistant designed to streamline your terminal interactions, especially for server deployment and automation tasks. It operates with root permissions, allowing it to execute shell commands (with your explicit confirmation for safety), read and write files, and maintain a persistent chat history across sessions. NuralShell is flexible, supporting both OpenAI/ChatGPT and Google Gemini as its underlying AI model.

Features

  • Intelligent Command Execution: Safely execute shell commands with user confirmation.
  • File System Interaction: Read and write files to manage code, configurations, and data.
  • Persistent Chat History: Maintains conversation context across sessions for a seamless experience.
  • Configurable AI Model: Easily switch between OpenAI/ChatGPT and Google Gemini, with simple API key and model name setup.
  • Modular Architecture: Built with a clean, modular design using sub-agents for specific tasks like command execution and file I/O.

Installation

You can install NuralShell as a Python package using pip.

pip install NuralShell

Configuration

Upon its first run, NuralShell will guide you through a one-time setup process to configure your AI model (ChatGPT or Gemini), API key, and desired model name. This configuration is saved in ~/.NuralShell/config.json.

You can also set your API keys as environment variables:

  • For OpenAI/ChatGPT: OPENAI_API_KEY
  • For Gemini: GEMINI_API_KEY

Usage

Once installed, you can launch NuralShell directly from your terminal:

nuralshell

Basic Interaction

NuralShell acts like a conversational terminal. You can ask it to perform tasks, run commands, or read/write files.

You: List all files in the current directory.
NuralShell: Do you want to Execute `dir`? (Y/N)
You: Y
NuralShell: (output of `dir` command)

Example Commands

  • Read a file:
    You: Read the content of `my_script.py`
    
  • Write to a file:
    You: Write "Hello, World!" to `output.txt`
    
  • Execute a shell command:
    You: Update the system packages.
    NuralShell: Do you want to Execute `sudo apt update && sudo apt upgrade -y`? (Y/N)
    You: Y
    

Exiting NuralShell

To exit the NuralShell session, simply type exit or quit:

You: exit

Metadata

Release files for nuralshell 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nuralshell 0.1.5
File Size Uploaded Provenance Actions
nuralshell-0.1.5.tar.gz 6.8 kB Without provenance Details for nuralshell-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nuralshell 0.1.5
File Interpreter ABI Platform Actions
nuralshell-0.1.5-py3-none-any.whl Python 3 none any Details for nuralshell-0.1.5-py3-none-any.whl

Total release size: 14.2 kB

Release files / nuralshell-0.1.5.tar.gz

Download URL nuralshell-0.1.5.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c91be5ec84258910891afb81aec9885c092ad18242f23b4708c789df1adf6408
BLAKE2b-256 checksum
How to use checksums
19b7329fdd051dc550b6be6fc87bfefdf7aeef7c8cc26c2a6729b6f566e33099
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release files / nuralshell-0.1.5-py3-none-any.whl

Download URL nuralshell-0.1.5-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6e90212313cd50cebb4a0a88a8fae991ddab0d648891eceff3478feebd1bea9
BLAKE2b-256 checksum
How to use checksums
e3c629903f469d1534e83d925b52f98a756bb23f4716c1664ec0768ebdd3244c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Security for nuralshell 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page