From 22d1b97b5c9998bbaa3821743728ae05b8f83951 Mon Sep 17 00:00:00 2001 From: dbrian57 Date: Wed, 29 Jul 2026 13:29:25 -0400 Subject: [PATCH 1/3] Updates Weave's landing page with new auto-instrumentation skill --- weave.mdx | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/weave.mdx b/weave.mdx index f3f9e9afa9..6224418f1a 100644 --- a/weave.mdx +++ b/weave.mdx @@ -73,21 +73,27 @@ Select your workload type and then use the following docs to guide you through t -## Install Weave +## Automatically instrument agents with Weave -W&B Weave provides Python and TypeScript libraries. To install the Weave library, run the following command: +To automatically instrument your agents to use Weave, update the following prompt with your project name and [W&B API key](https://wandb.ai/settings) environment variables, then pass the prompt to your agent: - - - ```bash - pip install weave - ``` - - - ```bash - npm install weave - ``` - - +```text +Fetch and then use the following skill to instrument all agents with Weave: + +https://raw.githubusercontent.com/wandb/weave/refs/heads/master/skills/weave-instrument/SKILL.md + +Project configuration: +WEAVE_PROJECT=$[YOUR-PROJECT-NAME] +WEAVE_API_KEY=$[WANDB-API-KEY]`; +``` + +Your agent installs Weave's auto-instrumentation skill and uses it to: + +1. Install the Weave package, authenticate with W&B, and add `weave.init("YOUR-TEAM-NAME/WEAVE_PROJECT")` to agent entry points. +1. Identify the codebase's language, LLM/agent libraries, agent's structure (loop, model calls, tool dispatch, sub-agents), and any existing OTel setup. +1. Help you structure your trace data and properly instrument your application. +1. Verify the configuration works by sending traces to your Weave project. + +Once you've completed the configuration, your agents automatically start sending traces to Weave. -To start using the Weave library, create a [Weights & Biases (W&B) account](https://wandb.ai) and an [API key at User Settings](https://wandb.ai/settings). The API key allows you to authenticate to your W&B account and start sending data to it. +If you want to manually instrument an agent, see [Quickstart: Set up custom agent observability](/weave/custom-agents-quickstart). \ No newline at end of file From 47ebd3ae3401463bf79863f1155a55ff0ffdb506 Mon Sep 17 00:00:00 2001 From: Dan Brian Date: Thu, 6 Aug 2026 09:03:20 -0400 Subject: [PATCH 2/3] Update weave.mdx --- weave.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weave.mdx b/weave.mdx index 6224418f1a..99f4f3781f 100644 --- a/weave.mdx +++ b/weave.mdx @@ -73,7 +73,7 @@ Select your workload type and then use the following docs to guide you through t -## Automatically instrument agents with Weave +## Automatically set up Weave To automatically instrument your agents to use Weave, update the following prompt with your project name and [W&B API key](https://wandb.ai/settings) environment variables, then pass the prompt to your agent: @@ -96,4 +96,4 @@ Your agent installs Weave's auto-instrumentation skill and uses it to: Once you've completed the configuration, your agents automatically start sending traces to Weave. -If you want to manually instrument an agent, see [Quickstart: Set up custom agent observability](/weave/custom-agents-quickstart). \ No newline at end of file +If you want to manually instrument an agent, see [Quickstart: Set up custom agent observability](/weave/custom-agents-quickstart). From 701ca54fceb683b1ab35149c376d24585b631420 Mon Sep 17 00:00:00 2001 From: Dan Brian Date: Thu, 6 Aug 2026 13:51:19 -0400 Subject: [PATCH 3/3] Apply suggestion from @anastasiaguspan Co-authored-by: Anastasia Guspan --- weave.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave.mdx b/weave.mdx index 99f4f3781f..32b8070fb1 100644 --- a/weave.mdx +++ b/weave.mdx @@ -73,7 +73,7 @@ Select your workload type and then use the following docs to guide you through t -## Automatically set up Weave +## Automatically instrument Weave To automatically instrument your agents to use Weave, update the following prompt with your project name and [W&B API key](https://wandb.ai/settings) environment variables, then pass the prompt to your agent: