Skip to main content

JudAIs & Lobi: Dual-agent terminal AI with memory, automation, and attitude

Project description

🧠 judais-lobi

"The mind was sacred once. But we sold it—
and no refund is coming."


PyPI Python License Last Commit GitHub stars

JudAIs & Lobi


🔴 JudAIs & 🔵 Lobi

JudAIs & Lobi are dual AI agents that share a powerful toolchain and memory system:

  • 🧝 Lobi: your helpful Linux elf—mischievous, whimsical, full of magic and madness.
  • 🧠 JudAIs: your autonomous adversarial intelligence—strategic, efficient, subversive.

They share:

  • 🛠 Tools for shell, Python, web scraping, and project installation
  • 🧠 Unified SQLite + FAISS memory (short-term, long-term, archive, adventures)
  • 📚 Archive (RAG) system with PDF/DOCX/TXT/code ingestion
  • ⚙️ Modular architecture to execute, reflect, and evolve

Looking for the lore? See STORY.md.


📦 Install

Requirements

  • Python 3.11+
  • OpenAI API key

Install package

pip install judais-lobi

Setup API key

Create a file ~/.elf_env with:

OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxx

Or export inline:

export OPENAI_API_KEY=sk-...

🚀 Examples

🧝 Run Lobi

lobi "hello Lobi"

🧠 Run JudAIs

judais "who should we target today?" --shell

📂 Archive (RAG)

# Crawl Markdown docs
lobi "summarize project docs" --archive crawl --dir ~/workspace/docs --include "*.md"

# Crawl a PDF
lobi "summarize contract" --archive crawl ~/contracts/deal.pdf

# Find knowledge in archive
lobi "how does memory work?" --archive find "UnifiedMemory" --dir ~/workspace/judais-lobi

# Overwrite (delete + reindex)
lobi "refresh docs" --archive overwrite --dir ~/workspace/docs

# Delete from archive
lobi "forget this" --archive delete --dir ~/contracts/deal.pdf

# Check archive status
lobi "status check" --archive status

🛠 Tools

JudAIs & Lobi include a shared toolchain that can be invoked directly from the CLI.

🔧 Shell

lobi "list all Python files" --shell
lobi "check disk usage" --shell --summarize

🐍 Python

lobi "plot a sine wave with matplotlib" --python
lobi "fetch bitcoin price using requests" --python

🌐 Web Search

lobi "what is the latest Linux kernel release?" --search
lobi "explain llama.cpp server mode" --search --deep

📦 Install Project

lobi "install this project" --install-project

📚 Archive + RAG

  • crawl: index directories and files (PDF, DOCX, TXT, Markdown, code)
  • find: semantic search across archive
  • delete: remove from archive
  • overwrite: recrawl + replace
  • status: list indexed directories/files

🔊 Voice

lobi "sing me a song" --voice

Powered by Coqui TTS (tts_models/en/vctk/vits).


⭐️ If you find JudAIs or Lobi helpful, give this project a star! Every ⭐️ helps us build stronger tools for AI autonomy.

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

judais_lobi-0.6.1.tar.gz (44.1 kB view details)

Uploaded Source

Built Distribution

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

judais_lobi-0.6.1-py3-none-any.whl (48.9 kB view details)

Uploaded Python 3

File details

Details for the file judais_lobi-0.6.1.tar.gz.

File metadata

  • Download URL: judais_lobi-0.6.1.tar.gz
  • Upload date:
  • Size: 44.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for judais_lobi-0.6.1.tar.gz
Algorithm Hash digest
SHA256 388edb18480666a0c896ed9670153f14d0ce8d230257e88dc0dcca804e41efe2
MD5 abd2423fa89cfd0deb9d87df59e23e71
BLAKE2b-256 d02c65fe1c38f5f3887fa15e9889da3bccb140c6cc771d9e34acd7e71a3632e7

See more details on using hashes here.

File details

Details for the file judais_lobi-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: judais_lobi-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 48.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for judais_lobi-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6381096a9737e23fbf4750a04081c7a354d9a0830deb70dc0f408961effde257
MD5 55589a2ccf0c0717b3a29f757ea3eda1
BLAKE2b-256 2aba5779bff2fe0264ede00ca1afaaaaee95b810a4a9103e9c3b22dd990775c4

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