Skip to main content

Entity Agent: An AI assistant with platform interaction capabilities

Project description

Entity - A Cross-Platform LLM Agent

Entity is a Python-based AI agent designed to interact with your operating system, execute commands, and control programs across Windows, macOS, and Linux.

Architecture

This agent uses a local Large Language Model (LLM) powered by Ollama. By default, it connects to a locally running Ollama server and uses the default model (e.g., llama3). All data and interactions remain private and on your local machine.

The core components are:

  • Agent Logic: The main Python application that orchestrates tasks.
  • LLM Service: An Ollama server running a local model (e.g., Llama 3).
  • Platform Interaction: Modules for interacting with the specific operating system's terminal and applications.

Getting Started

Prerequisites

  • Python 3.8+
  • Ollama installed and running (default: ollama serve)
  • A downloaded Ollama model (default: llama3, run ollama run llama3 to download)

Installation

From PyPI (recommended)

pip install entityagent

From source

git clone https://github.com/prakashsellathurai/entity
cd entity
pip install .

Running the Agent (Default Ollama)

You can run the agent from the command line (it will use the default Ollama model):

entity-agent

or

python -m entityAgent.runtime

TODO / Roadmap

  • Allow configuration of LLM model (e.g., choose llama3, mistral, etc.)
  • Add support for configuring LLM server URL/port
  • Add UI options (CLI, Web, GUI)
  • Add configuration file for user preferences
  • Extend platform interaction capabilities

Usage

You can interact with the agent in two ways:

  1. Natural Language:

    > Tell me a joke.
    > What is the capital of France?
    
  2. Commands:

    • Execute a shell command:
      > run: ls -l
      
    • List running processes:
      > run: list_processes
      

Testing

To run the test suite, execute the following command:

pytest

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

entityagent-0.1.3.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

entityagent-0.1.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file entityagent-0.1.3.tar.gz.

File metadata

  • Download URL: entityagent-0.1.3.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for entityagent-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b64fe3e0726ab4bfdbda54ef735f0b099e3ff01f1fc4d8b76250f90f27c2898e
MD5 269a2fc09d13fbc24739418c6bdb5ccc
BLAKE2b-256 cd090dd6b8dd3a4f8ea83c53ab27849f41323789ccdc796253c949d24806214d

See more details on using hashes here.

File details

Details for the file entityagent-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: entityagent-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for entityagent-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c34b00aeeac917f8df8ecbfef0c3ea74c2dff11f6c8fc3799920e2d862c0f5f8
MD5 42cfd01253854d5838a11452f1d3c523
BLAKE2b-256 19dcd6730936b68a97e1a3639144b87e466848103f355a22d87afa476b922e4c

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