"""
lambdagent-guard — Runtime safety layer for LangChain / CrewAI / AutoGen.

Add 2 lines to your existing code. No framework switch required.

Usage:
    # LangChain
    from lambdagent_guard import guard_langchain
    guarded = guard_langchain(executor, cost_budget=5.0)

    # CrewAI
    from lambdagent_guard import guard_crewai
    guarded_crew = guard_crewai(crew, cost_budget=10.0)

    # AutoGen
    from lambdagent_guard import guard_autogen
    guarded = guard_autogen(manager, cost_budget=5.0)

Features:
    - Compile-time: type check, cost prediction, store independence
    - Runtime: cost budget enforcement, loop detection, cost anomaly alert
"""

from .core import (
    GuardConfig, GuardedResult,
    CostBudgetExceeded, InfiniteLoopDetected, StoreConflictError,
)
from .langchain import guard_langchain
from .crewai import guard_crewai
from .autogen import guard_autogen

__all__ = [
    "guard_langchain", "guard_crewai", "guard_autogen",
    "GuardConfig", "GuardedResult",
    "CostBudgetExceeded", "InfiniteLoopDetected", "StoreConflictError",
]
