Skip to content
MYZATECHSOLUTIONS
CompletedAI & Intelligent Applications

Web Research Agent

Streamlit chat agent that answers questions with current, search-backed information using Claude's built-in web search tool.

Personal project

Overview

A deployed research assistant: ask a question in a chat interface, and the agent decides when to search the web before answering, keeping the conversation history across turns.

The problem

Language models on their own can give outdated answers. Research questions often need current information from the web.

The solution

The agent uses Claude with the built-in web search tool, so it can look things up when a question needs current information.

A Streamlit chat interface keeps multi-turn memory in the session, so follow-up questions work naturally.

Architecture and workflow

  1. User question in the Streamlit chat
  2. Conversation history from session state
  3. Claude with the web search tool
  4. Answer grounded in search results
  5. Response added to the chat history

Implementation details

  • Started with a small test script to verify the API, then built the Streamlit app.
  • Multi-turn memory stored in Streamlit session state.
  • API key kept in environment variables, never in code.
  • Deployed to Streamlit Community Cloud from GitHub.

Challenges and lessons learned

  • Managing conversation state correctly across reruns of a Streamlit app.
  • Handling secrets safely from local development through to cloud deployment.

More work

  • Completed

    AI & Intelligent Applications

    WhatsApp AI Assistant

    WhatsApp bot that understands text and voice notes in English or Roman Urdu and replies in the same language, using Claude and Azure AI Speech.

    • Python
    • Flask
    • Meta WhatsApp Cloud API
    • Anthropic Claude API
    • +3 more
  • Completed · Training demo

    AI & Intelligent Applications

    Agentic Chatbot Training Demo

    Flask web chatbot built for a live training session to show how a chatbot becomes agentic by deciding when to search the web.

    • Python
    • Flask
    • Anthropic Claude API
    • Claude web search tool
  • In progress

    AI & Intelligent Applications

    Fraud Detection System

    Credit-card fraud detection comparing supervised, unsupervised, and deep-learning models on a heavily imbalanced dataset, with a multi-agent layer planned.

    • Python
    • scikit-learn
    • TensorFlow
    • Keras

Need something similar?

Tell me about your project and let's explore whether this kind of solution fits.

Start a Conversation