Installation
- Python
- TypeScript
Quick Start
- Python
- TypeScript
Core Concepts
The SDK is organized into three clients accessible from the mainNiaSDK instance:
| Client | Description |
|---|---|
sdk.search | Semantic search, web search, deep research, and query-based code search |
sdk.sources | Create, list, resolve, and delete indexed sources (repos, docs, papers) |
sdk.oracle | Launch autonomous research jobs with streaming and polling |
Search
- Python
- TypeScript
Source Management
- Python
- TypeScript
Oracle Research
Oracle is Nia’s autonomous research agent. It runs multi-step research jobs that can take minutes to complete.- Python
- TypeScript
Configuration
Both SDKs accept the same configuration options:- Python
- TypeScript
Next Steps
Authentication
API key setup, environment variables, and advanced client configuration
Examples
Complete code examples for all SDK operations
REST API Reference
Full REST API documentation with all endpoints
Get API Key
Create your free Nia account and generate an API key

