Add your description here
Project description
orun-py
A Python CLI Agent wrapper for Ollama. It combines chat capabilities with autonomous tools (file I/O, shell execution, web fetching) and built-in screenshot analysis.
Features
- Autonomous Agent: Can read/write files, run shell commands, and fetch URLs (with user confirmation).
- Screenshot Analysis: Auto-detects and attaches recent screenshots from your Pictures folder.
- Conversation History: SQLite-backed history lets you resume any session.
- Model Management: Sync models from Ollama and manage shortcuts.
Installation
pip install orun-py
Usage
Agent & Query
Ask a question or give a task. The AI will use tools if necessary.
orun "Why is the sky blue?"
orun "Scan the current directory and list all Python files"
orun "Read src/main.py and explain how it works"
Interactive Chat
Start a continuous session:
orun chat
Start chat with a specific model:
orun chat -m coder
Analyze Screenshots
Attach the most recent screenshot:
orun "What is this error?" -i
Attach the last 3 screenshots:
orun "Compare these images" -i 3x
Model Management
Sync models from Ollama:
orun refresh
List available models:
orun models
Set default active model:
orun set-active llama3.1
Create a shortcut:
orun shortcut llama3.1:8b l3
Conversation History
List recent conversations:
orun history
Continue a conversation by ID:
orun c 1
Continue the last conversation:
orun last
Requirements
- Python 3.12+
- Ollama running locally
Project details
Release history Release notifications | RSS feed
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 orun_py-1.1.3.tar.gz.
File metadata
- Download URL: orun_py-1.1.3.tar.gz
- Upload date:
- Size: 31.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
293ec11e2bed7f6dc1fead39e0a1b98cd2451553713219b51a72e97f1183cae8
|
|
| MD5 |
6caf667a14dbee2e826e9cb0e9018c27
|
|
| BLAKE2b-256 |
709427fdc6e0dc08113b660e7d7155c00652242a7c0e93baee403ac13afc1324
|
File details
Details for the file orun_py-1.1.3-py3-none-any.whl.
File metadata
- Download URL: orun_py-1.1.3-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e95daf512a596bf41a185940b33a89108616a7a3af9e1afff7de58bcb35e0b51
|
|
| MD5 |
22441ba7f4035b3d43b84b3dec30bf76
|
|
| BLAKE2b-256 |
9b2fcd9f15735555b95f7a4372f7bba5e74016f177f6eb490cdca35ef254c152
|