Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orun_py-1.1.4.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

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

orun_py-1.1.4-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file orun_py-1.1.4.tar.gz.

File metadata

  • Download URL: orun_py-1.1.4.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for orun_py-1.1.4.tar.gz
Algorithm Hash digest
SHA256 f4708e71a0ddc1ddab161123fa180a8fe6180d8aed302c861bc7ab344e5eb3f5
MD5 4a97086ac6336c9d822f7b84d750e531
BLAKE2b-256 b80d2e4fbcf511e6336fb629a93e20a46f6df6ce6addf90c2a7b688725ae702a

See more details on using hashes here.

File details

Details for the file orun_py-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: orun_py-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for orun_py-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c1d024862bcce4c29c814e14f3fa5d2abbc0d88fe63ed8ebdf55962cfae7a62b
MD5 0768aa27424527bb1b35613d9a8a5170
BLAKE2b-256 64be80db666c0ba74c6714f33ab5f656529f3d9f76c35405aab7bedb3c38a956

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