From 7d43130f7cb129ecfa0af615dac88d853a4849a6 Mon Sep 17 00:00:00 2001 From: "datadog-prod-us1-5[bot]" <266081015+datadog-prod-us1-5[bot]@users.noreply.github.com> Date: Thu, 2 Apr 2026 20:54:51 +0000 Subject: [PATCH 1/2] Promote Environment Setup to ## heading level Co-authored-by: chrissmiller <29052966+chrissmiller@users.noreply.github.com> --- content/en/bits_ai/bits_ai_dev_agent/setup.md | 34 +++++++++++-------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/content/en/bits_ai/bits_ai_dev_agent/setup.md b/content/en/bits_ai/bits_ai_dev_agent/setup.md index 2f8e77d40ed..324d18e7818 100644 --- a/content/en/bits_ai/bits_ai_dev_agent/setup.md +++ b/content/en/bits_ai/bits_ai_dev_agent/setup.md @@ -49,9 +49,27 @@ To enable auto-push, so the Dev Agent can push commits directly to a branch, nav **Note**: If auto-push is disabled, you must review and approve code in Datadog before the Dev Agent can push it. +### Configure custom instructions + +The Dev Agent ingests custom instruction files from your repository, including: + +- `.cursorrules` +- `.windsurfrules` +- `copilot-instructions.md` +- `CLAUDE.md` +- `AGENTS.md` +- `agent.md` + + +You can also define global custom instructions, which apply to all Dev Agent sessions, in **Bits AI Dev** > [**Settings**][12] > **General**, in the **Global Agent Instructions** section. + +## Environment setup + +Configure the Dev Agent's runtime environment, including network access policies and repository-specific tooling. + ### Configure internet access -To configure which external domains agents can reach during agent execution, navigate to **Bits AI Dev** > [**Settings**][12] > **General**, and find the **Internet Access** section. Choose from the following access policies: **No Internet Access**, **Default Allowlist**, **Custom + Default Allowlist**, or **Custom Allowlist**. +By default, the Dev Agent has **no internet access** during agent execution. To configure which external domains agents can reach, navigate to **Bits AI Dev** > [**Settings**][12] > **General**, and find the **Internet Access** section. Choose from the following access policies: **No Internet Access**, **Default Allowlist**, **Custom + Default Allowlist**, or **Custom Allowlist**. The default allowlist includes the following domains: @@ -66,20 +84,6 @@ The default allowlist includes the following domains: | Python | `files.pythonhosted.org`, `pypi.org`, `pypi.python.org`, `pythonhosted.org` | | Rust | `index.crates.io`, `static.crates.io` | -### Configure custom instructions - -The Dev Agent ingests custom instruction files from your repository, including: - -- `.cursorrules` -- `.windsurfrules` -- `copilot-instructions.md` -- `CLAUDE.md` -- `AGENTS.md` -- `agent.md` - - -You can also define global custom instructions, which apply to all Dev Agent sessions, in **Bits AI Dev** > [**Settings**][12] > **General**, in the **Global Agent Instructions** section. - ### Configure repository environment Configure a custom environment for the Dev Agent to install dependencies, formatters, linters, and build tools that are needed for your codebase. Each repository runs in its own isolated sandbox, and the environment defines the settings for that sandbox. From 871a1290ee6f44fcfa498a0a4196591cd17f91ab Mon Sep 17 00:00:00 2001 From: "datadog-prod-us1-6[bot]" <266788760+datadog-prod-us1-6[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 18:58:39 +0000 Subject: [PATCH 2/2] Add yarnpkg and sum.golang.org to allowlist Co-authored-by: chrissmiller <29052966+chrissmiller@users.noreply.github.com> --- content/en/bits_ai/bits_ai_dev_agent/setup.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/bits_ai/bits_ai_dev_agent/setup.md b/content/en/bits_ai/bits_ai_dev_agent/setup.md index 324d18e7818..5d790ed4a35 100644 --- a/content/en/bits_ai/bits_ai_dev_agent/setup.md +++ b/content/en/bits_ai/bits_ai_dev_agent/setup.md @@ -76,9 +76,9 @@ The default allowlist includes the following domains: | Language | Domains | |---|---| | Clojure/JVM | `repo.clojars.org` | -| Go | `pkg.go.dev`, `proxy.golang.org`, `vuln.go.dev` | +| Go | `pkg.go.dev`, `proxy.golang.org`, `sum.golang.org`, `vuln.go.dev` | | Java/JVM | `repo1.maven.org` | -| JavaScript/TypeScript | `registry.npmjs.org` | +| JavaScript/TypeScript | `registry.npmjs.org`, `registry.yarnpkg.com` | | .NET/C# | `api.nuget.org` | | PHP | `packagist.org`, `repo.packagist.org` | | Python | `files.pythonhosted.org`, `pypi.org`, `pypi.python.org`, `pythonhosted.org` |