DeepCritical / examples /README.md
VibecoderMcSwaggins's picture
fix: pydantic-ai v1 compatibility and Anthropic model update
4732667
|
raw
history blame
726 Bytes

Examples

Demo scripts for DeepCritical functionality.

1. Search Demo (Phase 2)

Demonstrates parallel search across PubMed and Web. No API keys required.

uv run python examples/search_demo/run_search.py "metformin cancer"

2. Agent Demo (Phase 4)

Demonstrates the full search-judge-synthesize loop.

Option A: Mock Mode (No Keys) Test the logic/mechanics without an LLM.

uv run python examples/orchestrator_demo/run_agent.py "metformin cancer" --mock

Option B: Real Mode (Requires Keys) Uses the real LLM Judge to evaluate evidence. Requires OPENAI_API_KEY or ANTHROPIC_API_KEY in .env.

uv run python examples/orchestrator_demo/run_agent.py "metformin cancer"