Mvp 1 agents - #3
Merged
Merged
Conversation
- Initializing core agentic framework with FAISS indexing, - State management, and - Debate orchestration modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR establishes the core multi-agent debate infrastructure (MVP 1), integrating state management, vector retrieval, parallel evaluation, and a command-line debate runner using LangGraph.
1. Core Orchestration & State Management (
src/argument_lab/orchestrator/)graph.py), defining theDebateStateand the flow between the proponent, opponent, and evaluation nodes.2. FAISS Ingestion & Retrieval (
src/argument_lab/core/)faiss_index.pyand aretriever.pywrapper to chunk and embed documents, allowing agents to ground their arguments in external evidence.sample_corpus.jsoncontaining test documents.3. Advanced Evaluation Engine (
src/argument_lab/core/)evaluation.pyandeval_prompts.pyto handle 3 independent checks:Verdict(winner, unresolved claims, summary) upon completion.4. Data Schemas (
models.py,state.py)HallucinationFlag,ContradictionFlag), and theVerdict.Annotatedreducers instate.pyto handle complex state accumulation.5. Executable Setup Utilities (
setup/)setup/ingest_corpus.pyto allow users to build the vector index via CLI.setup/debate.pyas the primary CLI runner. It streams state chunks round-by-round and prints beautiful terminal outputs.6. Export & Persistence (
exporter.py)export_debateto save the final graph execution to a structured JSON source of truth, along with a human-readable Markdown transcript of the debate.README.mdto reflect end-to-end setup and usage instructions.