docs(llm-analytics): Add Claude Agent SDK installation page#16502
Merged
andrewm4894 merged 1 commit intoApr 22, 2026
Merged
Conversation
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.
Contributor
Deploy preview
|
Contributor
|
Hey @andrewm4894! This docs PR was generated for you by an agent. You're responsible for reviewing and merging it into production.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Adds the MDX wrapper page for Claude Agent SDK installation documentation at
contents/docs/llm-analytics/installation/claude-agent-sdk.mdx.This is the companion documentation PR for PostHog/posthog#53011, which added the shared onboarding content at
docs/onboarding/llm-analytics/claude-agent-sdk.tsx.What this page covers
query()drop-in replacement for capturing LLM events ($ai_generation,$ai_span,$ai_trace)instrument()for reusable PostHog configurationPostHogClaudeSDKClientHow it works
The page imports
ClaudeAgentSDKInstallationfrom the monorepo and renders it throughOnboardingContentWrapper, following the exact same architecture asopenai-agents.mdx. The installation platforms list auto-generates from files in the installation folder, so this page will automatically appear in the LLM Analytics installation index.This PR was created by the Inkeep Content Writer agent, which is maintained by the Docs and Wizard team. Please reach out on Slack for help if needed.