File size: 2,042 Bytes
b6145cd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# agent/__init__.py
"""
Operations Agent Package

This package provides the complete operations agent with OMIRL integration,
LangGraph workflow management, and tool execution capabilities.

Main Components:
- OperationsAgent: Main agent interface
- Tool Registry: Available tools and specifications
- Workflow: LangGraph workflow definitions
- State Management: Agent state and data flow

Quick Start:
    from agent import create_operations_agent
    
    agent = create_operations_agent()
    response = await agent.process_request("mostra stazioni meteo genova")

OMIRL Integration:
    The agent provides seamless access to OMIRL weather station data
    through natural language requests or direct API calls.

Dependencies:
- LangGraph: Workflow orchestration
- Tools: OMIRL and other operational tools
- Services: Data processing and artifact generation
"""

from .agent import (
    OperationsAgent,
    create_operations_agent,
    create_debug_agent
)

from .registry import (
    get_tool_registry,
    get_tool_by_name,
    list_available_tools,
    get_omirl_tools,
    get_data_extraction_tools
)

from .state import (
    AgentState,
    ToolResult,
    ToolCall,
    create_initial_state
)

from .graph import (
    get_default_workflow,
    create_simple_workflow,
    create_operations_workflow
)

# Main exports
__all__ = [
    # Main agent classes
    "OperationsAgent",
    
    # Agent factory functions
    "create_operations_agent",
    "create_omirl_agent", 
    "create_debug_agent",
    
    # Tool registry functions
    "get_tool_registry",
    "get_tool_by_name",
    "list_available_tools",
    "get_omirl_tools",
    "get_data_extraction_tools",
    
    # State management
    "AgentState",
    "ToolResult", 
    "ToolCall",
    "create_initial_state",
    
    # Workflow functions
    "get_default_workflow",
    "create_simple_workflow",
    "create_operations_workflow"
]

# Package metadata
__version__ = "1.0.0"
__author__ = "Operations Team"
__description__ = "Operations Agent with OMIRL Integration"