CorfedoCorfedoDocs
Use Corfedo

Ask Corfedo

Ask Corfedo AI about your code in the browser, read the cited sources, and continue the conversation with follow-up questions.

Corfedo AI answers questions about your code. It searches and reads the repositories you can access and cites the files and lines its answer is based on.

Before you begin

Your workspace has an AI profile you can use. A workspace administrator sets it up, see Try it in the browser shows how.

Ask a question

Open a new conversation

Select Ask Corfedo AI in the sidebar.

Write your question

Ask the way you would ask a colleague who knows the code, for example "Who calls DiscountPolicy.Evaluate?" or "How does acme/payments retry a failed charge?". Name repositories, files or symbols when you know them.

Send

Select Send. With All my sources under Sources the agent reads every repository you can access. To limit it, choose Only selected and select repositories or saved contexts first. The profile menu next to Send sets the model and tools, see Choose a profile.

Check: the answer appears with citations to files and lines. Select a citation to open the code it refers to.

You can leave the page while the agent works. The answer continues and is there when you come back.

Point the agent at code

Type @ or select Add context to attach a repository, file or symbol. A pasted link to a file on your forge becomes an attachment too.

Context tells the agent where to start. It can still read other repositories unless Sources is set to Only selected.

Check the answer

Citations open the code at the lines the agent read. N sources under the answer lists every file the agent used, cited or not. Select the "Thought for …" line above the answer to see the searches and reads behind it.

Type in Ask a follow-up to continue. The agent sees the earlier messages.

Ask from other places

FromHow
The search boxPress Shift+Enter instead of Enter
Search resultsAsk about this search, or select files and Ask about N selected
A file in the code browserAsk Corfedo, with any selected lines attached
A finding, an advisory or a package under SecurityAsk Corfedo
SlackA direct message or a mention, see Ask in Slack
Microsoft TeamsA 1:1 chat or a mention, see Ask in Teams
Microsoft 365 CopilotChoose the agent in Copilot Chat, see Ask in Microsoft 365 Copilot

In the browser, each one opens a new conversation with the reference attached. Nothing is sent until you select Send.

When an answer does not arrive

What you seeWhat to do
Profile unavailableSee Choose a profile
"Your monthly AI limit was reached." or "This workspace's monthly AI limit was reached."Wait for the date it gives, or ask a workspace administrator to raise the limit
Stopped or a failure under the answerSelect Retry
AI is not available right now.The providers of your profiles are turned off. Tell a workspace administrator.
AI is not configured for this workspace.No profile is open to you. Ask a workspace administrator.

On this page