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.4.tar.gz (44.5 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.4-py3-none-any.whl (49.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for judais_lobi-0.6.4.tar.gz
Algorithm Hash digest
SHA256 4ffbf98741e0b6bbe6734b9e243fc886568646cd1293b45b99819ee7f53bd709
MD5 e1040de31a6cfa4324bfffe2d8775844
BLAKE2b-256 89363668906225d19f7f4f122275e162a08b5949590fc37bcb3e8b6a0fb45372

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for judais_lobi-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4ad0140170c219cc058dba892486b8fc039f4724f08908a11419795d55deeffd
MD5 8cf5a9bc4f42ad1732b328f05638ea15
BLAKE2b-256 371a4d5467d37b275e0eca7ef82a37c522ead848a84fd7395c4a4a002fcdd110

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