Pro Feature - Tracer is available on Pro plans.
Overview
Tracer is an autonomous sub-agent that searches code on GitHub without requiring you to index repositories first. Powered by Claude Opus 4.6 with 1M context window support, it explores codebases, reads files, and synthesizes findings into comprehensive reports. Use Tracer when you need to quickly search unfamiliar code, find implementation examples, or understand how libraries work internally.How It Works
You provide a question and repositories to search. Tracer handles the rest:Available Tools
Tracer autonomously uses four GitHub tools:| Tool | Purpose |
|---|---|
github_search | Code search with qualifiers (language:, path:) |
github_list | Browse file tree structure |
github_read | Read file contents with optional line ranges |
github_glob | Find files matching glob patterns |
API Usage
Create a Tracer Job
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Your research question |
repositories | string[] | No | Repositories to search (owner/repo format) |
context | string | No | Additional context to guide the agent’s focus |
Stream Results
Subscribe to real-time updates as Tracer works:| Event | Description |
|---|---|
started | Job started with query and repositories |
tool_start | Tool execution beginning |
tool_complete | Tool finished with success/failure |
complete | Final report ready |
error | Error occurred |
Get Job Status
List Jobs
MCP Integration
Tracer is available as an MCP tool. Once configured, use it in Claude Code, Cursor, or any MCP-compatible agent:Example Use Cases
Understanding Library Internals
Understanding Library Internals
Query: “Explain why we’re getting this error from Zod and show me the validation logic causing it.”Tracer searches the Zod repo for error messages, finds the validation functions, reads the implementation, and explains exactly what triggers the error.
Finding Implementation Examples
Finding Implementation Examples
Query: “Find examples of how to implement cursor-based pagination in GraphQL resolvers.”Tracer searches multiple repositories, finds pagination implementations, compares approaches, and synthesizes findings.
Learning Framework Patterns
Learning Framework Patterns
Query: “How does React’s useEffect cleanup function work?”Tracer navigates the React codebase, finds the hooks implementation, reads the relevant code, and explains the cleanup mechanism.
Tracer vs Index-Based Search
| Aspect | Tracer | Nia Search |
|---|---|---|
| Speed | Slower (live API calls) | Faster (pre-indexed) |
| Setup | None | Requires indexing |
| Coverage | All public GitHub | Only indexed sources |
| Best for | Exploration, one-off queries | Repeated searches, production use |
- Exploring unfamiliar code
- Searching repos you haven’t indexed
- Researching across multiple repositories
- Working with familiar codebases
- Need fast, repeated searches
- Want precise control over search scope

