Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.1 KB
Raw Blame
"""Intent-based developer environment system.

This module provides tools for selecting products/features developers work on
and starting only the minimum required services.

Key components:
- IntentMap: Domain model defining intents and capabilities
- ProcessRegistry: Abstraction over process definitions (mprocs, pm2, etc.)
- IntentResolver: Resolves intents to the minimal set of processes
- MprocsGenerator: Generates mprocs.yaml configuration
"""

from .generator import (
    DevenvConfig,
    MprocsConfig,
    MprocsGenerator,
    build_docker_compose_command,
    get_generated_mprocs_path,
    load_devenv_config,
)
from .registry import MprocsRegistry, ProcessRegistry, create_mprocs_registry
from .resolver import IntentMap, IntentResolver, load_intent_map
from .wizard import run_setup_wizard

__all__ = [
    "IntentResolver",
    "IntentMap",
    "load_intent_map",
    "DevenvConfig",
    "load_devenv_config",
    "get_generated_mprocs_path",
    "build_docker_compose_command",
    "ProcessRegistry",
    "MprocsRegistry",
    "create_mprocs_registry",
    "MprocsGenerator",
    "MprocsConfig",
    "run_setup_wizard",
]