AI that uses your codebase as contextCody is an AI coding assistant that helps you understand, write, and fix code faster. It uses advanced search to pull context from both local and remote codebases so that you can use context about APIs, symbols, and usage patterns from across your entire codebase at any scale, all from within VS Code. Plus, Cody users can choose from the latest large language models—like GPT-4o and Claude 3.5 Sonnet—to customize Cody to their needs. Install Cody to get started with free AI-powered autocomplete, chat, prompts, and more. AutocompleteCody autocompletes single lines, or whole functions, in any programming language, configuration file, or documentation. It’s powered by the latest instant LLM models, for accuracy and performance. ChatAnswer questions about your entire codebase, specific files and symbols, or general programming topics. For example, you can ask Cody:
Built-In PromptsStreamline your development process by using prompts to understand, improve, fix, document, and generate unit tests for your code. Prompt LibraryYou can also create your own prompts and save them in the Prompt Library to tailor Cody to your workflow. Choose Your LLMCody users can select the LLM they want to use for chat and experiment to choose the best model for the job. Choose from multiple options including Claude 3.5 Sonnet, Gemini 1.5 Pro, and Mixtral 8x7B. Cody Pro users can also select Claude 3 Opus and GPT-4o. See the full list of model options here. Administrators for Sourcegraph Enterprise instances can configure which model options to let team members choose from. UsageThis extension works for all Cody plans, including Cody Free, Cody Pro, and Cody Enterprise. You can find detailed information about Cody's available plans on our website. Programming LanguagesCody works for any programming language because it uses LLMs trained on broad data. Cody works great with Python, Go, JavaScript, and TypeScript code. Code SearchCody is powered by Sourcegraph’s code search, which it uses to retrieve context from your codebase and extend its capabilities. By using context from entire projects, Cody can give more accurate answers and generate idiomatic code. For example:
Cody EnterpriseCody Enterprise can search context from your entire remote codebase using Sourcegraph's code search. This allows Cody to answer questions about all of your code, even the repositories that don't live on your local machine. Contact us to set up a trial of Cody Enterprise. If you’re an existing Sourcegraph Enterprise customer, contact your technical advisor. FeedbackMore InformationSee https://cody.dev/ for demos, information and more. |