Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Arshai Documentation
Arshai Documentation

Getting Started

  • Getting Started
    • Installation
    • Quickstart Guide
    • Comprehensive Agent Guide
    • Build Your First Custom Agent
  • Quickstart Guide
  • Comprehensive Agent Guide

Philosophy

  • Philosophy
    • Introduction
    • Three-Layer Architecture
    • Developer Authority
    • Design Decisions
  • Introduction
  • Three-Layer Architecture
  • Developer Authority
  • Design Decisions

Framework (Core)

  • Framework Core
    • LLM Clients (Layer 1)
      • ILLM Interface Overview
      • OpenAI Client
      • Azure OpenAI Client
      • Google Gemini Client
      • OpenRouter Client
      • Extending LLM Clients
    • Agents (Layer 2)
      • BaseAgent Class
      • Creating Agents
      • Tools and Callables
      • Agent Patterns
      • Stateless Agent Design
      • Agent Examples
        • Example 01: Basic Agent Usage
        • Example 02: Creating Custom Agents
        • Example 3: Memory Patterns
        • Example 4: Tool Integration
      • Agent Reference Implementations
        • WorkingMemoryAgent Reference Implementation
    • Building Systems (Layer 3)
      • Example 5: Agent Composition
      • Building Agentic Systems
  • LLM Clients (Layer 1)
    • ILLM Interface Overview
    • OpenAI Client
    • Azure OpenAI Client
    • Google Gemini Client
    • OpenRouter Client
    • Extending LLM Clients
  • Agents (Layer 2)
    • BaseAgent Class
    • Creating Agents
    • Tools and Callables
    • Agent Patterns
    • Stateless Agent Design
    • Agent Examples
      • Example 01: Basic Agent Usage
      • Example 02: Creating Custom Agents
      • Example 3: Memory Patterns
      • Example 4: Tool Integration
    • Agent Reference Implementations
      • WorkingMemoryAgent Reference Implementation
  • Building Systems (Layer 3)
    • Example 5: Agent Composition
    • Building Agentic Systems

Implementations (Reference)

  • Reference Implementations
    • Agent Reference Implementations
      • WorkingMemoryAgent Reference Implementation
    • Orchestration Reference Implementations
      • Workflow System
      • Building Your Own Orchestration
    • Memory Reference Implementations
      • In-Memory Manager
      • Redis Memory Manager
    • Component Reference Implementations
      • Embedding Implementations
      • Vector Database - Milvus Client
  • Agent Reference Implementations
    • WorkingMemoryAgent Reference Implementation
  • Orchestration Reference Implementations
    • Workflow System
    • Building Your Own Orchestration
  • Memory Reference Implementations
    • In-Memory Manager
    • Redis Memory Manager
  • Component Reference Implementations
    • Embedding Implementations
    • Vector Database - Milvus Client

Tutorials

  • Tutorials
    • Building a Simple Chatbot
    • Building a RAG System
    • Building a Custom Agentic System

API Reference

  • API Reference
    • Interfaces
    • Base Classes
    • Models

Extending

  • Extending Arshai
    • Building Custom Agents
    • Adding LLM Providers
Back to top
View this page
Edit this page

Searxng¶

Classes¶

class arshai.web_search.searxng.SearxNGClient(config)[source]¶

Bases: IWebSearchClient

SearxNG search client implementation

__init__(config)[source]¶

Initialize SearxNG client with configuration

async asearch(query, num_results=10, **kwargs)[source]¶

Perform asynchronous search

Return type:

List[IWebSearchResult]

search(query, num_results=10, **kwargs)[source]¶

Perform synchronous search

Return type:

List[IWebSearchResult]

Copyright © 2024, Nima Nazarian
Made with Sphinx and @pradyunsg's Furo
On this page
  • Searxng
    • Classes
      • SearxNGClient
        • SearxNGClient.__init__()
        • SearxNGClient.asearch()
        • SearxNGClient.search()