penguin
Simple, minimalist AI-Agent for Linux that runs on almost every device
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 :
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
penguincommand. 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.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| penguin_agent_package-0.2.0.tar.gz | 668.1 kB | Without provenance | Details for penguin_agent_package-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| penguin_agent_package-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for penguin_agent_package-0.2.0-py3-none-any.whl |
Total release size: 674.1 kB
Release files / penguin_agent_package-0.2.0.tar.gz
| Download URL | penguin_agent_package-0.2.0.tar.gz |
|---|---|
| Size | 668.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
801e171464c9c271ea7cc60474dea200abb773a2e871a89ac891b161289bbafa
|
|
BLAKE2b-256 checksum How to use checksums |
1bdccf02968ea32cea0f863ee758e6b28a617688b2334bf697ab9f202644c0a4
|
| 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.2.0-py3-none-any.whl
| Download URL | penguin_agent_package-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00ef052f43fba74b1d10877aa6ccb187ff24445120444548d82470b0ad1bbf0e
|
|
BLAKE2b-256 checksum How to use checksums |
43f21e61ca52e88420e77def27c1afab7474962c493f331a7d503a58ad61d735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for penguin-agent-package 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.