liagent 0.9.0-zero → 0.9.1-zero
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/agent.py +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# liagent
|
|
4
4
|
|
|
5
5
|
Terminal AI agent for Raspberry Pi cyberdecks. Runs on **every Pi** (Zero … 5, 32/64-bit) with Raspberry Pi OS, Kali or any Debian: one Python file,
|
|
6
|
-
**zero dependencies** (standard library only), ~
|
|
6
|
+
**zero dependencies** (standard library only), ~370 KB installed. Also runs on Windows for testing.
|
|
7
7
|
|
|
8
8
|
> This is the **zero-dependency edition** (`zero-deps` branch). The main edition on `main` uses rich +
|
|
9
9
|
> prompt_toolkit for the terminal UI and is otherwise the same.
|
|
@@ -12,7 +12,7 @@ Terminal AI agent for Raspberry Pi cyberdecks. Runs on **every Pi** (Zero … 5,
|
|
|
12
12
|
status · opens apps, files and URLs · GPIO · Wi-Fi · voice in and out · remembers facts about your deck ·
|
|
13
13
|
saves every command it runs into a cheatsheet and quizzes you on it · a web UI for your phone and a Discord bot.
|
|
14
14
|
|
|
15
|
-
**Brain:** any OpenAI-compatible provider: Groq (default, free key), Cerebras, Gemini, OpenRouter, Mistral,
|
|
15
|
+
**Brain:** any OpenAI-compatible provider: Groq (default, free key), Cerebras, Gemini, OpenRouter, Pollinations, CoArena, Mistral,
|
|
16
16
|
OpenAI, DeepSeek, a custom URL, or Ollama offline.
|
|
17
17
|
|
|
18
18
|
## Install
|
package/agent.py
CHANGED
|
@@ -44,7 +44,7 @@ from pathlib import Path
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
NAME = "liagent"
|
|
47
|
-
VERSION = "0.9-zero" # the zero-dependency edition; main has the rich + prompt_toolkit one
|
|
47
|
+
VERSION = "0.9.1-zero" # the zero-dependency edition; main has the rich + prompt_toolkit one
|
|
48
48
|
APP = "deck-agent" # config folder name — kept stable so the saved key survives renames
|
|
49
49
|
IS_WIN = sys.platform == "win32"
|
|
50
50
|
if IS_WIN:
|
|
@@ -74,6 +74,10 @@ PROVIDERS = {
|
|
|
74
74
|
"https://aistudio.google.com/apikey", "free tier, Google"),
|
|
75
75
|
"openrouter": _p("https://openrouter.ai/api/v1", "openai/gpt-oss-120b", "OPENROUTER_API_KEY",
|
|
76
76
|
"https://openrouter.ai/keys", "hundreds of models, some free"),
|
|
77
|
+
"pollinations": _p("https://gen.pollinations.ai/v1", "openai", "POLLINATIONS_API_KEY",
|
|
78
|
+
"https://enter.pollinations.ai/keys", "many models behind one key"),
|
|
79
|
+
"coarena": _p("https://coarena.ai/api/v1", "ergo-1-0", "COARENA_API_KEY",
|
|
80
|
+
"https://coarena.ai/account/api/keys", "free key, no card · stores prompts"),
|
|
77
81
|
"mistral": _p("https://api.mistral.ai/v1", "mistral-small-latest", "MISTRAL_API_KEY",
|
|
78
82
|
"https://console.mistral.ai/api-keys", "free tier, EU"),
|
|
79
83
|
"openai": _p("https://api.openai.com/v1", "gpt-5-mini", "OPENAI_API_KEY",
|
|
@@ -3502,7 +3506,7 @@ class Agent:
|
|
|
3502
3506
|
"""Provider → (base URL) → key → model, all inside the terminal."""
|
|
3503
3507
|
names = list(PROVIDERS)
|
|
3504
3508
|
if name not in PROVIDERS:
|
|
3505
|
-
opts = [f"{n:<
|
|
3509
|
+
opts = [f"{n:<13} {PROVIDERS[n]['about']}" + (" ✓ key" if PROVIDERS[n]["env_key"] and self.key_for(n)
|
|
3506
3510
|
else "") for n in names]
|
|
3507
3511
|
c = choose(opts, title="Provider", start=names.index(self.provider))
|
|
3508
3512
|
if c is None:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "liagent",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1-zero",
|
|
4
4
|
"description": "Tiny terminal AI agent for Raspberry Pi cyberdecks: shell, files, GPIO, voice, web UI, Discord bot, calculators/LoRa/SMS. One Python file, zero dependencies.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"liagent": "bin/liagent.js"
|