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, runollama run llama3to 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:
-
Natural Language:
> Tell me a joke. > What is the capital of France? -
Commands:
- Execute a shell command:
> run: ls -l - List running processes:
> run: list_processes
- Execute a shell command:
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b64fe3e0726ab4bfdbda54ef735f0b099e3ff01f1fc4d8b76250f90f27c2898e
|
|
| MD5 |
269a2fc09d13fbc24739418c6bdb5ccc
|
|
| BLAKE2b-256 |
cd090dd6b8dd3a4f8ea83c53ab27849f41323789ccdc796253c949d24806214d
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c34b00aeeac917f8df8ecbfef0c3ea74c2dff11f6c8fc3799920e2d862c0f5f8
|
|
| MD5 |
42cfd01253854d5838a11452f1d3c523
|
|
| BLAKE2b-256 |
19dcd6730936b68a97e1a3639144b87e466848103f355a22d87afa476b922e4c
|