This project has been archived by its maintainers, and is no longer receiving any updates.
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
Release files for entityagent 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| entityagent-0.1.3.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| entityagent-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.0 kB
Release files / entityagent-0.1.3.tar.gz
| Download URL | entityagent-0.1.3.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b64fe3e0726ab4bfdbda54ef735f0b099e3ff01f1fc4d8b76250f90f27c2898e
|
|
BLAKE2b-256 checksum How to use checksums |
cd090dd6b8dd3a4f8ea83c53ab27849f41323789ccdc796253c949d24806214d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / entityagent-0.1.3-py3-none-any.whl
| Download URL | entityagent-0.1.3-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c34b00aeeac917f8df8ecbfef0c3ea74c2dff11f6c8fc3799920e2d862c0f5f8
|
|
BLAKE2b-256 checksum How to use checksums |
19dcd6730936b68a97e1a3639144b87e466848103f355a22d87afa476b922e4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|