Nia is a search and index API that continuously provides context from docs, research papers, datasets, codebases, and more—so agents never rely on stale data. Scalable, 5x cheaper, and reliable.Documentation Index
Fetch the complete documentation index at: https://nvd-54.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
概述
集成详情
| Class | Package | Serializable | JS support | Version |
|---|---|---|---|---|
NiaToolkit | langchain-nia | ❌ | ❌ |
Tool features
| Returns artifact | Native async | Toolkit | Number of tools | 定价 |
|---|---|---|---|---|
| ❌ | ✅ | ✅ | 20 | Free tier available |
设置
The integration lives in thelangchain-nia package.
凭证
Sign up at trynia.ai to get an API key.Instantiation
Using the toolkit
TheNiaToolkit provides all 20 Nia tools with a shared API wrapper. Use include_* flags to control which tool groups are available:
Using individual tools
You can also use tools directly:Invocation
搜索 across indexed sources
搜索 the web
Read files from indexed sources
Within an agent
Available tools
搜索 tools
- NiaSearch - Semantic search across indexed repos, docs, datasets, and more
- NiaWebSearch - Web search with category filtering and date range
- NiaDeepResearch - Multi-step comprehensive research
- NiaUniversalSearch - Search all sources simultaneously
- NiaAdvisor - Analyze code against indexed documentation
Source management tools
- NiaIndex - Index new sources (repos, docs, papers, datasets)
- NiaSourceList - List indexed sources with filtering
- NiaSourceSubscribe - Subscribe to pre-indexed public sources
- NiaSourceSync - Re-sync sources to pull latest changes
- NiaRead - Read files/pages from indexed sources
- NiaGrep - Regex search within indexed sources
- NiaExplore - Browse file tree of indexed sources
GitHub tools
- NiaGitHubSearch - Search code in GitHub repositories
- NiaGitHubRead - Read files from GitHub repos
- NiaGitHubGlob - Find files matching glob patterns
- NiaGitHubTree - Browse repo file tree structure
Context and memory tools
- NiaContextSave - Save context for cross-agent sharing
- NiaContextSearch - Semantic search over saved contexts
Dependency tools
- NiaDependencySubscribe - Auto-subscribe to docs for project dependencies
- NiaDependencyAnalyze - Preview what would be indexed from a manifest
API 参考
所有 Nia tools and configurations, see the langchain-nia GitHub repository.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

