Skip to content

Commit a3d7cb3

Browse files
authored
docs(llm-analytics): Add Claude Agent SDK installation page (#16502)
Companion page for PostHog/posthog#53011 which added the shared onboarding content at docs/onboarding/llm-analytics/claude-agent-sdk.tsx. Follows the same pattern as openai-agents.mdx — imports the shared component and wraps it with OnboardingContentWrapper and addNextStepsStep. Co-authored-by: inkeep[bot] <257615677+inkeep[bot]@users.noreply.github.com>
1 parent 95162fd commit a3d7cb3

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Claude Agent SDK LLM analytics installation
3+
platformIconName: IconAnthropic
4+
showStepsToc: true
5+
tableOfContents:
6+
[
7+
{ url: "install-the-posthog-sdk", value: "Install the PostHog SDK", depth: 1 },
8+
{ url: "install-the-claude-agent-sdk", value: "Install the Claude Agent SDK", depth: 1 },
9+
{
10+
url: "initialize-posthog-and-run-a-query",
11+
value: "Initialize PostHog and run a query",
12+
depth: 1,
13+
},
14+
{
15+
url: "reusable-configuration-with-instrument",
16+
value: "Reusable configuration with instrument()",
17+
depth: 1,
18+
},
19+
{
20+
url: "tool-usage-and-multi-turn-conversations",
21+
value: "Tool usage and multi-turn conversations",
22+
depth: 1,
23+
},
24+
{
25+
url: "multi-turn-conversations-with-history",
26+
value: "Multi-turn conversations with history",
27+
depth: 1,
28+
},
29+
{ url: "verify-traces-and-generations", value: "Verify traces and generations", depth: 1 },
30+
]
31+
---
32+
33+
<!--
34+
This page imports shared onboarding content from the main PostHog repo.
35+
Source: https://github.com/PostHog/posthog/blob/master/docs/onboarding/llm-analytics/claude-agent-sdk.tsx
36+
See the docs runbook for more info: https://posthog.com/handbook/docs-and-wizard/onboarding-docs
37+
-->
38+
39+
import { ClaudeAgentSDKInstallation } from "onboarding/llm-analytics/claude-agent-sdk.tsx";
40+
import { OnboardingContentWrapper } from "components/Docs/OnboardingContentWrapper";
41+
import NotableGenerationProperties from "../_snippets/notable-generation-properties.mdx";
42+
import { addNextStepsStep } from "./_snippets/shared-helpers.tsx";
43+
44+
<OnboardingContentWrapper snippets={{ NotableGenerationProperties }}>
45+
<ClaudeAgentSDKInstallation modifySteps={addNextStepsStep} />
46+
</OnboardingContentWrapper>

0 commit comments

Comments
 (0)