graph_websearch_agent  by john-adeojo

LangGraph agent for web search

created 1 year ago
390 stars

Top 74.7% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a custom web search agent built using the LangGraph framework, designed for users who need to integrate LLM-powered search capabilities into their applications. It offers a flexible and modular approach to building complex agentic workflows, simplifying the process of creating intelligent search tools.

How It Works

The agent leverages LangGraph to define and execute a stateful, multi-step workflow. This graph-based approach allows for explicit control over agent execution, enabling features like conditional routing, parallel processing, and state management between different tools and LLM calls. The core advantage is the ability to create robust and predictable agentic behavior by visualizing and managing the flow of information and actions.

Quick Start & Requirements

  • Install: Clone the repository and install dependencies using pip install -r requirements.txt.
  • Prerequisites: Python 3.11, Anaconda (recommended for environment management), API keys for Serper, OpenAI, Gemini, Claude, or Groq. Ollama can be used for local LLM inference.
  • Setup: Requires configuring API keys in config.yaml. Running the frontend involves executing run_windows.ps1 or run_linux.sh.
  • Docs: Agent Schema

Highlighted Details

  • Supports multiple LLM providers (OpenAI, Gemini, Claude, Groq) and search APIs (Serper).
  • Integrates with Ollama for local LLM model execution.
  • Provides a frontend interface for interaction.

Maintenance & Community

No specific information on contributors, sponsorships, or community channels is provided in the README.

Licensing & Compatibility

The repository does not explicitly state a license.

Limitations & Caveats

The project requires obtaining and configuring API keys for various services, which may incur costs. The absence of a specified license could pose compatibility issues for commercial or closed-source use.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
26 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Steven Hao Steven Hao(Cofounder of Cognition), and
6 more.

openai-agents-python by openai

1.5%
13k
Python SDK for multi-agent workflows
created 4 months ago
updated 1 day ago
Feedback? Help us improve.