PricingTemplatesBlogResourcesDocsChangelogRoadmapCommunityGitHubSlackX / TwitterLinkedIn
Book a demoGet started
Engineering

Code Q&A

Answers questions about the repo when mentioned.

Code Q&AExample runAnswered in thread

@agent where do we validate API keys?

  1. Searched the repo for the validation path
  2. Read the two files that own it

Validation happens in `api/oss/src/utils/auth.py` — the middleware resolves the key, then the router's dependency checks scope per request. Both are cited below.

Overview

Answers questions about your repo when mentioned, citing the files and lines it used.

How it works

  1. WhenRuns when the agent is @-mentioned.
  2. Step 1 · GitHubRead the code.Read repo files & code
  3. Step 2 · Slack · OptionalAnswer on a Slack mention.Answer on a Slack mention

Tools it can use

  • Search codeFind files relevant to the question.
  • Get file contentRead the matching file to answer accurately.

Set it up

  1. 1Use it for freeAgenta creates the agent from this template in your workspace.
  2. 2Connect GitHub and SlackEach app connects from the setup screen.
  3. 3Test, then let it runRun it once to check the result. Then the trigger takes over.
FAQ

Code Q&A FAQ

What does the Code Q&A template do?

Answers questions about your repo when mentioned, citing the files and lines it used.

When does the Code Q&A agent run?

Runs when the agent is @-mentioned.

Which apps does Code Q&A connect to?

It connects to GitHub or GitLab. Slack is optional.

Which tools can the Code Q&A agent use?

It can use Search code and Get file content.

Is the Code Q&A template free?

Yes. Every template runs on any Agenta plan, including the free plan.

Can I customize the Code Q&A agent?

Yes. Every skill is a versioned SKILL.md. Edit it in the playground, evaluate the change, then deploy.

Start with the Code Q&A template