"""langchain-condensa: Condensa integration for LangChain.

Drop-in token compression for agent-to-agent communication.
70%+ token reduction with zero-shot LLM comprehension.

Three integration points:

    # 1. Message transformer (works with any chain/agent)
    from langchain_condensa import CondensaTransformer
    transformer = CondensaTransformer()
    compressed = transformer.compress_messages(messages)

    # 2. Callback handler (monitoring & metrics)
    from langchain_condensa import CondensaCallbackHandler
    result = chain.invoke(input, config={"callbacks": [CondensaCallbackHandler()]})

    # 3. Pure functions (use anywhere)
    from langchain_condensa import compress_message, decompress_message
"""

__version__ = "0.1.0"

from .transformer import (
    CondensaTransformer,
    compress_message,
    decompress_message,
    compress_messages,
)
from .callback import CondensaCallbackHandler

__all__ = [
    "CondensaTransformer",
    "CondensaCallbackHandler",
    "compress_message",
    "decompress_message",
    "compress_messages",
]
