Skip to main content
Intelligent Search uses Claude Agent with specialized graph tools to answer natural language questions about your knowledge graph. It combines semantic search, graph traversal, and reasoning to provide comprehensive answers with supporting evidence.

Overview

Intelligent Search is an AI-powered search feature that allows you to query your context graph using natural language. Unlike traditional keyword search, it:
  • Understands Intent: Interprets what you’re actually asking
  • Multi-Turn Reasoning: Can explore the graph across multiple steps
  • Tool Use: Leverages semantic search, graph queries, and traversal
  • Conversational: Supports follow-up questions in sessions
  • Evidence-Based: Returns both natural language answers and structured graph data
Intelligent Search is powered by Claude and uses an agentic approach with access to graph exploration tools. It’s ideal for complex queries that require reasoning across multiple nodes and relationships.

Quick Start

Core Concepts

How It Works

  1. Query Understanding: Claude analyzes your natural language query
  2. Tool Selection: Agent chooses appropriate graph tools (semantic search, traversal, etc.)
  3. Iterative Exploration: Makes multiple tool calls to gather comprehensive information
  4. Answer Synthesis: Combines findings into a natural language answer with evidence

Available Tools

The Claude Agent has access to:
  • Semantic Search: Vector-based search for finding relevant nodes
  • Graph Traversal: Navigate relationships between nodes
  • Property Filtering: Filter nodes by labels and properties
  • Cypher Queries: (Optional) Execute custom graph queries

Sessions

Sessions enable conversational follow-up:
  • Each search creates a session with a unique session_id
  • Continue conversations by providing the session_id
  • Sessions remember context from previous questions
  • Clean up sessions when done to free resources

Basic Usage

Search with Filters

Control Exploration Depth

Adjust Model Creativity

Multi-Turn Conversations

Basic Session

Session Management

Advanced Features

Enable Cypher Queries

Enabling Cypher queries gives the agent more power but should be used carefully in production environments. Consider performance and security implications.

Use Specific Model

Practical Examples

1. Infrastructure Audit

Perform comprehensive infrastructure audit:

2. Dependency Analysis

Trace service dependencies:

3. Cost Analysis

Analyze infrastructure costs:

4. Security Investigation

Investigate security concerns:

5. Compliance Checker

Check compliance across infrastructure:

Error Handling

Best Practices

1. Clean Up Sessions

2. Use Appropriate max_turns

3. Monitor Tool Usage

4. Handle Low Confidence

API Reference

Parameters:
  • keywords (str): Natural language search query
  • max_turns (int): Maximum conversation turns (1-20, default 5)
  • integration (Optional[str]): Filter by integration name
  • label_filter (Optional[str]): Filter by node label
  • enable_semantic_search (bool): Enable vector search tool (default True)
  • enable_cypher_queries (bool): Allow custom Cypher (default False)
  • session_id (Optional[str]): Continue existing session
  • temperature (float): Model creativity 0.0-2.0 (default 0.7)
  • model (Optional[str]): LiteLLM model identifier
Returns:

Session Management Methods

Next Steps

Semantic Search

Vector-based natural language search

Cognitive Memory

Store and recall context

Context Graph

Complete graph operations

Best Practices

SDK best practices guide