Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.zencoder.ai/llms.txt

Use this file to discover all available pages before exploring further.

What Repo Grokking Does

Repo Grokking indexes and analyzes your codebase so that agents have project-specific context when generating or modifying code. It covers four areas:

Four Core Capabilities

1. Full Context Window Usage

Zencoder sends the maximum context the underlying model supports. Since most production repos exceed even large context windows, the system selects the most relevant files and symbols rather than truncating arbitrarily.

2. Agentic Context Orchestration

The agentic pipeline runs multiple reasoning passes over the gathered context — validating, correcting, and refining before producing output. This enables multi-step reasoning, error correction, and iterative refinement for complex tasks.

3. Multi-Repository Indexing

Multi-Repository Search indexes multiple repos in your organization. Agents can look up implementations, trace cross-service dependencies, and reference API contracts from other repositories when working on a task. Indexing uses incremental updates.

4. Intelligent Mono Repo Navigation

Large monorepos exceed any context window. The navigation system builds targeted context on demand — traversing code relationships, following relevant paths, and selecting only the files and symbols pertinent to the current task.

Building Context with the Repo Info Agent

The Repo Info Agent analyzes your project structure, dependencies, build systems, and architectural patterns, then writes a repo.md file. This file is automatically injected into every agent request, so agents know your build system, module layout, and conventions without repeated explanation.

How These Capabilities Work Together

For a given task, the system:
  1. Loads repo.md as baseline context
  2. Queries multi-repo indexes if the task references other services
  3. Navigates the monorepo (if applicable) to gather relevant files
  4. Runs agentic orchestration passes to validate and refine before generating output

Extending Repo Grokking with Your Context

You can supplement the automated indexing with your own project-specific context:

Zen Rules

Define project-specific coding standards, architectural patterns, and team conventions in markdown files that automatically inject into agent context based on file patterns.

Repo Info Agent

Generate and maintain a comprehensive project snapshot that captures build systems, dependencies, module organization, and technology stack details.

Custom AI Agents

Create specialized agents with custom tools and instructions that leverage repository understanding for specific workflows like code reviews, documentation generation, or custom analysis tasks.
These capabilities layer on top of Repo Grokking’s automated indexing, combining codebase analysis with your project-specific rules and custom agents.