Coverage for integrations / agent_lightning / __init__.py: 100.0%
7 statements
« prev ^ index » next coverage.py v7.14.0, created at 2026-05-12 04:49 +0000
« prev ^ index » next coverage.py v7.14.0, created at 2026-05-12 04:49 +0000
1"""
2Agent Lightning Integration Module
4Integrates Microsoft Agent Lightning for continuous agent training and optimization.
5Provides minimal-change wrappers and auto-tracing for existing AutoGen agents.
6"""
8__version__ = "1.0.0"
10# Configuration
11from .config import (
12 AGENT_LIGHTNING_CONFIG,
13 is_enabled,
14 get_agent_config,
15 get_reward_value
16)
18# Core components
19from .wrapper import AgentLightningWrapper, instrument_autogen_agent
20from .tracer import enable_auto_tracing, disable_auto_tracing, LightningTracer, Span
21from .rewards import RewardCalculator, RewardType
22from .store import LightningStore
24__all__ = [
25 # Config
26 'AGENT_LIGHTNING_CONFIG',
27 'is_enabled',
28 'get_agent_config',
29 'get_reward_value',
31 # Core
32 'AgentLightningWrapper',
33 'instrument_autogen_agent',
34 'enable_auto_tracing',
35 'disable_auto_tracing',
36 'LightningTracer',
37 'Span',
38 'RewardCalculator',
39 'RewardType',
40 'LightningStore',
41]