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.3.tar.gz (44.0 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.3-py3-none-any.whl (48.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: judais_lobi-0.6.3.tar.gz
  • Upload date:
  • Size: 44.0 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.3.tar.gz
Algorithm Hash digest
SHA256 a77ba0940865885586f569d4130c48345fb593d6d79b2f5283f754c2421f487e
MD5 d6b05dd388f5e4d3ac2658e946e3cdcc
BLAKE2b-256 6fcf8658b8845c23d414d909ceb0f5954d6777f0c31557e550552ab8753daba0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: judais_lobi-0.6.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 89bec47efd1675bce7f0051f1023fc94e216c0f7ce71312184fa76cbf0bff319
MD5 b5478fedcc9be0d9a62fcc7b22dc7c43
BLAKE2b-256 f719446f6f146d998eaa313a0796a9794fc82946883e54d4ab408d551b3b1a81

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