Bits CLI brings Bits Chat and its built-in Datadog tools to your terminal. It adds coding tools that run in your local workspace, so Bits can inspect and edit code, run commands, and help implement and verify fixes using your Datadog context. Start a new conversation or continue one you started in Datadog.
Note
Bits CLI is currently in preview. Features and interfaces may change.
Install with Homebrew:
brew tap datadog-labs/pack
brew install datadog-labs/pack/bitsInstall with Homebrew:
brew tap datadog-labs/pack
brew install datadog-labs/pack/bitsOr download the standalone binary from GitHub Releases:
VERSION="0.0.7"
case "$(uname -m)" in
x86_64) ARCH="amd64" ;;
arm64|aarch64) ARCH="arm64" ;;
*) echo "Unsupported architecture: $(uname -m)" >&2; exit 1 ;;
esac
ASSET="bits_${VERSION}_linux_${ARCH}.tar.gz"
curl -fL \
"https://github.com/datadog-labs/bits-cli/releases/download/v${VERSION}/${ASSET}" \
-o "/tmp/${ASSET}"
tar -xzf "/tmp/${ASSET}" bits
sudo install -m 755 bits /usr/local/bin/
rm -f "/tmp/${ASSET}" bitsLaunch Bits from the project you want to work on:
cd your-project
bitsOn first launch, choose your Datadog site and sign in through your browser. You'll need a Datadog account with the Bits Chat Access permission.
Sign in to use the Datadog tools available through Bits Chat. The integration is built in, with no separate Datadog tool server to configure or API keys to manage for browser sign-in.
Reference services, monitors, incidents, and dashboards directly in your
conversation. Type @ to search your Datadog entities and attach the relevant
context to your question.
An investigation started in Datadog can continue against your local code.
Use /resume to select a conversation, or open it by ID:
bits --conversation YOUR_CONVERSATION_IDUse /web to reopen the active conversation in Datadog.
Bits asks for permission before reading workspace files, editing files, or
executing commands. Run bits --help for available commands.
See CONTRIBUTING.md for development setup and the contribution workflow.
Bits CLI is released under the Apache-2.0 License. Third-party components and their licenses are listed in LICENSE-3rdparty.csv.