Start with relevant context.
Retrieval-augmented generation brings related code, tests, and selected team documentation into the review. Semantic matches and exact names help find useful starting points.
The change arrives with context behind it.
How Inkspect works
Find the context. Follow the question. Bring back a finding worth your attention.
Follow a reviewThe diff and its intent
Related code and rules
The questions that remain
Evidence and a next step
Some connections are ready to retrieve. Others emerge as the review asks better questions. Inkspect uses both.
Retrieval-augmented generation brings related code, tests, and selected team documentation into the review. Semantic matches and exact names help find useful starting points.
The change arrives with context behind it.
As questions emerge, Inkspect reads the relevant files, looks up symbols, and follows their references. The next search is guided by what the review still needs to understand.
getInvoicerequireSessioninvoice.workspaceIdEach question gives the next search a purpose.
A new invoice endpoint looks straightforward. Follow the review to see why the surrounding code matters.
A new endpoint returns an invoice by its ID. Inkspect starts with the diff and the surrounding function to understand the behavior being introduced.
Who is allowed to read this invoice?
export async function getInvoice(req) {
const id = req.params.id;
const invoice = await db.invoice.findUnique({
where: { id },
});
if (!invoice) throw new NotFoundError();
return invoice;
}Illustrative walkthrough using prepared code and findings.
Context for your whole team
Help a new teammate find their way around the project. Give an AI assistant the context behind its next task. Both use the same retrieval layer.
A new developer joins your team and opens the dashboard. They can ask how authentication works, where a feature lives, or why a module behaves a certain way. RAG retrieves relevant code and documentation to ground each answer in the project.
Where should I check workspace access for an invoice?
Check workspace membership before returning the invoice. A signed-in session alone does not grant access to its workspace.
docs/access-policy.mdsrc/auth/membership.tsA starting point for onboarding, with source references to explore.
Describe the task to the CLI context pull tool. Retrieve the relevant code, conventions, and documentation, then pass that context to your AI assistant alongside the prompt. The assistant gets a focused starting point without loading the whole codebase into every prompt.
The same project knowledge, ready for an AI teammate.
Yes. The dashboard lets your team talk to the codebase. A teammate asks a question about the codebase, and RAG retrieves relevant code and documentation to ground the answer, with source references they can explore. Answers should explain when the retrieved context is incomplete instead of guessing.
The CLI takes a task description and retrieves relevant project context to pass alongside your AI prompt. This avoids putting the whole repository into every prompt. The repository still needs indexing, and an assistant may need targeted follow-up reads.
RAG gives the review a relevant starting point from indexed code and documentation. Dynamic search follows questions that emerge during the review, using exact symbols, file reads, references, and tests. The two approaches work together to build the context behind a finding.
Here, it means exploring the connected repository as the review progresses. A question about a function can lead to its callers, middleware, or tests. It is targeted code search within the review’s permitted scope.
The review is tied to a specific revision. Retrieved context is checked against that revision before it supports a finding. A new commit is a new review scope, so findings from an older revision should not be presented as a review of the new code.
Inkspect explains the finding and suggests a next step. Your team evaluates the suggestion, runs its checks, and decides what to apply and merge. A recommendation to add a test does not mean that test has already been run.
Use Inkspect Cloud or run it on your own infrastructure.
A little clarity, right here.
Ask about code review, pricing, or running Inkspect with your team.