convez.ai
AgenteAutomaçãoAvançado
zarubinphil

Themis · Фемида — Sistema Multiagente para Litígios Russos

zarubinphil/themis

IA multiagente para litígios russos: 13 advogados débatendo casos em tempo real

Ver no GitHub
InicialPluginScore · de 0 a 100

Themis é um sistema multiagente que executa processos judiciais russos simulando um escritório de advocacia de IA, com 13 agentes especializados (cartógrafos, leitores, caçadores de jurisprudência, conselho de 5 juristas) que argumentam casos em tempo real. Oferece OCR local ($0), aprendizado autônomo e um painel de controle visual onde os agentes trabalham juntos em cada etapa do processo, desde o intake até a preparação para audiência, com verificação multinível integrada.

Instalação

$npx convez-ai zarubinphil/themis

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
10
Forks
3
Acompanhando
0
Saúde
57%
Último commit
há 1 mês
Versão
—
Issues abertas
0
Contribuidores
2

Casos de uso

  • Automação completa de processos judiciais russos com múltiplas perspectivas legais
  • Análise e síntese de jurisprudência com verificação de posições favoráveis e contrárias
  • Redação de petições e documentos processuais com consenso entre agentes especializados

Veredito

Themis é uma implementação sofisticada de orquestração multiagente para um domínio altamente especializado (litígio russo), destacando-se pelo rigor na verificação multinível, privacidade local e interface visual que expõe o debate entre agentes. Ideal para construtores que buscam padrões avançados de coordenação de IA em contextos de alta responsabilidade.

README

A tradução para o português deste README ainda está na fila.

Themis · Фемида

Multi-agent AI system for Russian litigation, built on Claude Code. Мультиагентная ИИ-система ведения российских судебных дел на Claude Code.

13 lawyer-agents · practice hunters · a 5-jurist council · local-first OCR ($0) · self-learning · an Apple-grade cockpit where the lawyers argue a case live.

13 агентов-юристов · охотники за практикой · Ареопаг из 5 правоведов · локальное извлечение ($0) · самообучение · cockpit, где юристы спорят о деле вживую.

English · Русский

Cockpit — new case


English

What it is

Themis runs litigation like a living law firm of AI agents led by a single assistant — Femida, the goddess of justice. She maps the case, reads and cross-checks the materials, hunts and verifies case law (both for and against the position), forms a legal position through a council, drafts court-ready documents, and prepares the lawyer for the hearing. The point isn't text speed — it's built-in multi-level verification: no fact, position, or document passes on without confirmation from independent agents and a consensus marker.

How decisions are made — the lawyers argue

The practice hunters genuinely disagree. The classic builds the position, the skeptic attacks it, the tactician adds procedure — then Femida weighs all three. You see it happen live:

The lawyers argue

The document lands in the chat, ready to open

When the work is done, the draft appears as a card you can open in Word — and feed back for self-learning after you edit it.

Document in chat

Highlights

  • 13 lawyer-agents — registry, cartographer, readers, reconciler, three practice hunters, a 5-jurist council (Areopagus), drafter, reviewer, hearing prep.
  • Local-first extraction ($0) — Apple Vision OCR (accurate Russian, on-device), markitdown (text), whisper (audio/video). Mixed PDFs extracted in full. Auto-requisites (INN / case № / sums) to a sidecar. No Ollama, no cloud on the main path.
  • Self-learning — you edit the finished .docx; Femida compares before/after (content and formatting) and stops repeating the same mistakes.
  • Cockpit — a local UI (FastAPI) where agents switch live, the chat flows sequentially, and Femida speaks in the goddess's feminine voice.
  • Knowledge graph — /graphify surfaces cross-case links (shared opponent, same object, reusable arguments) so the growing base saves tokens.
  • Self-update — /themis-update pulls the latest logic from GitHub without touching your cases or knowledge base.
  • Privacy — client data (cases/) stays local and never ships.

The 13 agents

Persona (RU)Role (EN)Step
Грузенберг / GruzenbergRegistry — inbox intake1
Лохвицкий / LokhvitskySorting1
Мейер / MeyerCase mapping1
Гольмстен · Буринский · Покровский / Holmsten · Burinsky · PokrovskyReaders (scan / image / text)1
Шершеневич / ShershenevichReconciler — verify readers1
Спасович / SpasovichPractice hunter — classic2
Плевако / PlevakoPractice hunter — tactical2
Карабчевский / KarabchevskyPractice hunter — skeptic2
Ареопаг / Areopagus (5 jurists)Council — legal position3
Сперанский / SperanskyDrafter4
Кони / KoniReviewer5
Андреевский / AndreevskyHearing prep—
Рождественский / RozhdestvenskyArchivist — knowledge base—

Install

Requirements: macOS (Apple Vision OCR), Python 3.11+, Xcode CLT (xcode-select --install), Claude Code.

git clone https://github.com/zarubinphil/themis.git
cd themis
bash install.sh

install.sh installs Python deps, builds Apple Vision OCR from source, installs whisper + ffmpeg, prepares directories and checks for the Claude Code CLI.

Use

In Claude Code: open the project and say "New case: Ivanov, split the flat after divorce, draft a claim." Femida runs steps 0→5 and produces the document.

Cockpit (UI): python3 cockpit/app.py → http://localhost:8800

Update: /themis-update — pulls the latest logic, leaves your data untouched.

Privacy

cases/ (client materials) is git-ignored and never published. Extraction is local ($0); documents stay on your Mac. The repo ships only a synthetic example (cases/ivanov-ivan).

License

MIT — see LICENSE. Built on Claude Code.


Русский

Что это

Themis ведёт судебные дела как живая юрфирма из ИИ-агентов под управлением единого ассистента — Фемиды, богини правосудия. Она картирует дело, читает и сверяет материалы, ищет и проверяет судебную практику (за позицию и против), вырабатывает правовую позицию через совет, составляет процессуальные документы готовыми к подаче и готовит юриста к заседанию. Главное — не скорость текста, а встроенная многоуровневая верификация: ни факт, ни позиция, ни документ не идут дальше без подтверждения независимыми агентами и маркера консенсуса.

Как принимаются решения — юристы спорят

Охотники за практикой по-настоящему не соглашаются. Классик строит позицию, скептик её ломает, тактик добавляет процессуальное — затем Фемида сводит три голоса. Это видно вживую (скриншот выше: спор Спасович ↔ Карабчевский ↔ Плевако).

Документ появляется в чате — открывай сразу

Когда работа сделана, черновик приходит карточкой: открыть в Word и, после твоих правок, отдать на самообучение (скриншот выше).

Ключевое

  • 13 агентов-юристов — канцелярия, картограф, читатели, сверка, три охотника за практикой, Ареопаг (совет 5 правоведов), составитель, ревизор, подготовка к суду.
  • Local-first извлечение ($0) — Apple Vision OCR (русский точно, локально), markitdown (текст), whisper (аудио/видео). Смешанный PDF извлекается полностью. Авто-реквизиты (ИНН / № дела / суммы) в сайдкар. Никакого Ollama, никакого облака на основном проходе.
  • Самообучение — правишь готовый .docx, Фемида сравнивает «до/после» (содержание И форматирование) и больше не повторяет огрехи.
  • Cockpit — локальный UI (FastAPI), где агенты переключаются вживую, чат идёт последовательно, Фемида говорит женским голосом богини.
  • Граф знаний — /graphify вскрывает межкейсовые связи (общий оппонент, один объект, переиспользуемые аргументы) — экономия токенов на росте базы.
  • Самообновление — /themis-update тянет последнюю логику с GitHub, не трогая твои дела и базу знаний.
  • Приватность — данные клиентов (cases/) всегда локально, в публику не уходят.

13 агентов

ПерсонажРольШаг
ГрузенбергКанцелярия — приём входящих1
ЛохвицкийСортировка1
МейерКартирование дела1
Гольмстен · Буринский · ПокровскийЧитатели (скан / картинка / текст)1
ШершеневичСверка читателей1
СпасовичОхотник — классик2
ПлевакоОхотник — тактик2
КарабчевскийОхотник — скептик2
Ареопаг (5 правоведов)Совет — правовая позиция3
СперанскийСоставитель4
КониРевизор5
АндреевскийПодготовка к заседанию—
РождественскийАрхивист — база знаний—

Установка

Требования: macOS (Apple Vision OCR), Python 3.11+, Xcode CLT (xcode-select --install), Claude Code.

git clone https://github.com/zarubinphil/themis.git
cd themis
bash install.sh

install.sh ставит Python-зависимости, собирает Apple Vision OCR из исходника, ставит whisper + ffmpeg, готовит директории и проверяет Claude Code CLI.

Использование

В Claude Code: открой проект, скажи «Новое дело: Иванов, раздел квартиры после развода, нужно исковое». Фемида прогонит Шаг 0→5 и выдаст документ.

Cockpit (UI): python3 cockpit/app.py → http://localhost:8800

Обновление: /themis-update — тянет последнюю логику, данные не трогает.

Приватность

cases/ (материалы дел) — в .gitignore, никогда не публикуется. Извлечение локальное ($0), документы остаются на твоём Mac. В репозитории — только синтетический пример (cases/ivanov-ivan).

Лицензия

MIT — см. LICENSE. Построено на Claude Code.

Ver o original no GitHub

Bom para

Relacionados