Skip to main content

penguin

Simple, minimalist AI-Agent for Linux that runs on almost every device

Alt Text

LLM

Penguin uses (at the moment) the qwen3.5:2b model with Ollama as inference. The model can run at a good conversation speed on most modern laptops and a bit slower on older machines, the minimum I reached with an eight years old Lenovo Thinkpad(i5, 7th generation?) was 7 t/s. I recommend using an 32k context window, which is enough for most applications you will run with penguin.

Installing & Quick Start

One-line install command using pipx:

pipx is a modern PyPi Installer for CLI applications - like apt but for python. Use it to install the penguin-agent-package with a systemwide command penguin-agent-package :

sudo pipx install penguin-agent-package

Then type penguin in your terminal

Standard install using pip:

pip is the standard PyPi Installer. Install penguin-agent-package using pip in a virtual environment:

pip install penguin-agent-package

[!WARNING] This will not install the systemwide penguin command. You need to add it manually to PATH.

Features

Penguin is a very, very simple tool:

  • Uses an Ollama backend(see LLM)
  • Three basic tools in the agent-loop:
    • execute_bash_command
    • get_memory_entry
    • enter_memory_entry
  • Executes bash commands always at ~
  • Uses prompt_toolkit to manage sessions with history and suggestions
  • Uses memory.json file for managing the agent memory

Run it

Just type:

penguin

How it works

The choice of Ollama is due entirely to its good tool-calling integration in python. Tool schemes are converted by the ollama library to JSON and passed to the native function calling of the model.

Credits

I heavily used the prompt_toolkit library for the design and the interaction with the tool. Thanks also to the amazing ollama python library that makes it so easy to use LLMs with Python.

Metadata

Release files for penguin-agent-package 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for penguin-agent-package 0.1.3
File Size Uploaded
penguin_agent_package-0.1.3.tar.gz 667.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for penguin-agent-package 0.1.3
File Interpreter ABI Platform
penguin_agent_package-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 671.4 kB

Release files / penguin_agent_package-0.1.3.tar.gz

Download URL penguin_agent_package-0.1.3.tar.gz
Size 667.9 kB
Tags Source
SHA-256 checksum
How to use checksums
607f8325b74fa6ee9b73b2708288ac7828449ecccf15e533fde60860901592a0
BLAKE2b-256 checksum
How to use checksums
6d857d941ed69ecd84f048461f1e8a5d9c3fadc20c13f6679bc1631ad7b3cadf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / penguin_agent_package-0.1.3-py3-none-any.whl

Download URL penguin_agent_package-0.1.3-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce8e7376bd58aeee1a8f101c403ec25425d61e2bc5f6e75a7dd5c2bf7f37f5b5
BLAKE2b-256 checksum
How to use checksums
fda0c38b85ff290e72f24e9e06f3e0d9568ff5a45f2f45a578b9e88ec504a209
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page