GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||
GeezerVison is showing docs.datadoghq.com — Bits Code For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/bits_ai/bits_code.md.
A documentation index is available at /llms.txt.
This product is not supported for your selected Datadog site. (). OverviewBits Code is a generative AI coding assistant that uses Datadog observability data to automatically diagnose and fix issues in your code. It integrates with source code providers to create production-ready pull or merge requests, then iterates on changes using CI logs and developer feedback. You can work with Bits Code in Datadog or in a Slack code channel. Each time Bits Code investigates an issue or generates a fix, it creates a session, which captures the agent’s analysis, actions, and any resulting code changes across supported Datadog products. Set up automations to have Bits Code run sessions on a schedule or in response to signals from other Datadog products, such as a new APM Recommendation or flaky test. To get started with Bits Code, set up a source code integration and complete any additional configuration. Then, start your first session. Learn how your Bits Code usage is billed on AI Credits. SessionsA session captures a segment of work with Bits Code, including its analysis and code changes. Start, view, and manage your sessions at Bits AI > Bits Code > Sessions. Start a sessionAfter completing setup, do one of the following to start a Bits Code session:
A session can also be created when another Bits AI agent (like Bits Chat or Bits Investigation) hands off a coding task to Bits Code. Session visibilityBits Code sessions are shared across your Datadog organization by default. Anyone in your organization can open a session to review its analysis, actions, and code changes—or continue working with Bits Code in it. This makes it easy to share context and pick up a teammate’s in-progress work. View and manage sessionsOn Sessions, the My Sessions panel shows the sessions you’re involved in. A session appears here if you initiated it or interacted with it in some way, like participating in the conversation or creating an associated PR or MR. My Sessions is a personalized view, not a privacy boundary—that is, other members of your organization can still access these sessions. Click a session to view its details and continue working with Bits Code. To remove a session from your My Sessions list, click one of the following:
Supported source code providersBits Code supports the following source code providers:
The following plans are not supported:
Supported Datadog productsBits Code can suggest code improvements within several Datadog products, including the following:
Key capabilitiesCode fixes and optimizations surfaced by Datadog productsAcross supported Datadog products, use Bits Code to implement optimizations and fixes—for example, Cloud Cost Recommendations, Error Tracking issues, and SAST vulnerabilities. In certain products, Bits Chat explores and investigates issues, then hands off its findings to Bits Code to implement a code change. You can manually prompt Bits Code to implement changes for a certain finding, or configure an automation so that it does so autonomously. General coding tasksUse the freeform prompt field at Sessions to work with Bits Code on general coding tasks. AutomationsAutomations run Bits Code sessions automatically, on a schedule or in response to signals from Datadog products like Error Tracking, APM, or Code Security. After a session completes, Bits Code delivers the results as a pull or merge request (optionally in draft mode) or a Slack notification. You can build automations from triggers (a product finding, a custom prompt, a schedule, or a combination) and configure one or more outputs. Datadog-provided templates are also available to help you get started. Create and manage automations at Bits AI > Bits Code > Automations. Custom agent skills and instructionsBits Code can use custom skills defined in your repository. It discovers skills formatted like Bits Code automatically invokes appropriate skills based on their Bits Code also ingests custom instructions defined in your repository and Bits Code settings. Code channels in SlackWhen you ask Bits Chat in Slack to make a code change, Bits Code creates a dedicated code channel for that task. In the code channel, you and your team can steer the agent, view a diff of proposed changes, and open a pull or merge request. Pull or merge request collaborationBits Code integrates with source code providers to:
While Bits Code works on your request, it keeps a single status comment up to date on the pull or merge request. The comment shows the state of the run and the actions and links available to you, including a link to the Datadog session when the request is backed by one. When CI Auto-fix is available, the comment also shows its status and controls to fix failing CI checks. Bits Code never auto-merges PRs or MRs. See all the PRs or MRs that Bits Code is working on in Bits AI > Bits Code > Sessions. Limitations
Further readingAdditional helpful documentation, links, and articles: | ||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |