A research agent powered by Claude. Weesa searches the web and synthesizes findings to answer your research questions.
pip install -r requirements.txt
export ANTHROPIC_API_KEY=your_key_hereSingle query:
python main.py "What are the latest advances in fusion energy?"Interactive mode:
python main.pyWeesa uses Claude's tool-use capability in an agentic loop:
- Claude receives your research query
- Claude decides which tools to use (web search, summarization)
- Tool results are fed back to Claude
- Claude continues until it can provide a complete, cited answer
| Tool | Description |
|---|---|
web_search |
Searches DuckDuckGo for up-to-date information |
summarize_text |
Condenses long text into a concise summary |
| Option | Default | Description |
|---|---|---|
--model |
claude-opus-4-6 |
Claude model to use |
--max-iterations |
10 |
Max agentic loop iterations |