AI engineering with PostHog

Last updated:

|

AI engineering is the practice of integrating, building, and shipping software that utilizes LLMs.

At the cutting edge, this might mean building multimodal RAG pipelines and productionizing fine-tuned models at scale. But in our opinion, it also encompasses the practical work of tinkering with prompts, coding in Cursor, or installing the OpenAI SDKs, anything that helps developers leverage AI to build great products.

You'll find this page and its resources useful if you're:

  • Building your products with AI
  • Integrating LLM-powered features into your product
  • A vibe coder or engineer who uses AI agents and tools
  • Just here to try cool AI features in PostHog

PostHog is all the product tools you need in one. When you add AI on top of that, and with enough data, your product should be able to build itself. That's our long-term vision for AI at PostHog, so we're building the tools you need to get there.

It's a bit like the dream of a self-driving car, but for your product.

AI features

Here are the AI products, tools, and resources we offer so far:

AI featureUse caseVibeRepo
Max AIAsk Max, our in-app AI agent, anything about your product data and PostHog. He can write SQL, create dashboards, find session replays, and more.🤖Code
AI wizardMagically add PostHog to your codebase with a single CLI command using AI.🧙Code
PostHog MCPEnable your AI agents and tools to interact with PostHog's API with our MCP server.🧰Code
LLM analyticsTrack and analyze the usage of LLMs in your applications, including token usage, latency, and cost.📊Code
Markdown and llms.txtFeed your AI agents more context. All of our docs pages are available in raw Markdown.📚Code

Everything here is open source. Feel free to take our AI code, fork it, and use it yourself. Just remember to check the license and open a PR if you have any feedback.

We're always thinking of new AI features that can make PostHog even better. If you have any ideas or requests, comment on this page or open a feature request on GitHub.

Software licenses

The listed projects are licensed under either:

  • MIT License – free to use and modify
  • PostHog Enterprise License – free to use and modify for development and testing purposes, but requires a valid license for production use

If you're interested in AI engineering and how we approach it here at PostHog, we recommend these blog posts:

Questions? Ask Max AI.

It's easier than reading through 814 pages of documentation

Community questions

Was this page useful?

Next article

Max AI

Max is an AI-powered product analyst and assistant that lives in PostHog. Max can: Research answers to product questions by querying the data. Get things done quickly in the PostHog UI for you like update filters, create insights, write SQL, find session replays, make surveys, and more. Explain PostHog features and how to use them (based on our docs). Chit-chat about anything PostHog-related really. How do I access Max? You can pop Max open wherever you are in PostHog! Just click on the…

Read next article