AI engineering with PostHog

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
Agent toolkitIntegrate with AI agent frameworks with PostHog's native function calling toolkit.🛠️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:

Community questions

Was this page useful?

Questions about this page? or post a community question.