---
title: smolagents LLM analytics installation
platformLogo: smolagents
showStepsToc: true
tableOfContents: [
    {
        url: 'install-dependencies',
        value: 'Install dependencies',
        depth: 1,
    },
    {
        url: 'set-up-opentelemetry-tracing',
        value: 'Set up OpenTelemetry tracing',
        depth: 1,
    },
    {
        url: 'run-your-agent',
        value: 'Run your agent',
        depth: 1,
    },
    {
        url: 'verify-traces-and-generations',
        value: 'Verify traces and generations',
        depth: 1,
    },
]
---

<!--
This page imports shared onboarding content from the main PostHog repo.
Source: https://github.com/PostHog/posthog/blob/master/docs/onboarding/llm-analytics/smolagents.tsx
See the docs runbook for more info: https://posthog.com/handbook/docs-and-wizard/onboarding-docs
-->

import { SmolagentsInstallation } from 'onboarding/llm-analytics/smolagents.tsx'
import { OnboardingContentWrapper } from 'components/Docs/OnboardingContentWrapper'
import NotableGenerationProperties from '../_snippets/notable-generation-properties.mdx'
import { addNextStepsStep } from './_snippets/shared-helpers.tsx'

<OnboardingContentWrapper snippets={{ NotableGenerationProperties }}>
    <SmolagentsInstallation modifySteps={addNextStepsStep} />
</OnboardingContentWrapper>
