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.2.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.2-py3-none-any.whl (48.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: judais_lobi-0.6.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ef1bb5b18120eda8cf0277001132e0fb2f8295cf273595a39db03729549d3250
MD5 ac564cfb1f6a0aeb155a3ff73308e92e
BLAKE2b-256 4ecbe6655fbb89ee45e8051d92870c94ebcb6d676027446dfae4cb0a189e061d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: judais_lobi-0.6.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 44917f05cbdf414aa9c66ebae4a2e424b8dd065dc95d3a199ad3e93cb9ddf331
MD5 25ca6c485f193d956ed45ea80c53fe8c
BLAKE2b-256 2e4957f36cf60761d1c6570c6253eb5f1433bc7aaead9a0c5dc86590dba23502

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