py-meta-agent 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- meta_agent_madcoderme/__init__.py +88 -0
- meta_agent_madcoderme/builder.py +832 -0
- meta_agent_madcoderme/compiler.py +134 -0
- meta_agent_madcoderme/evaluators.py +25 -0
- meta_agent_madcoderme/graph.py +604 -0
- meta_agent_madcoderme/memory.py +137 -0
- meta_agent_madcoderme/nodes.py +161 -0
- meta_agent_madcoderme/optimization.py +340 -0
- meta_agent_madcoderme/resilience.py +349 -0
- meta_agent_madcoderme/state.py +97 -0
- meta_agent_madcoderme/tools.py +76 -0
- meta_agent_madcoderme/utils.py +282 -0
- py_meta_agent-0.1.0.dist-info/METADATA +529 -0
- py_meta_agent-0.1.0.dist-info/RECORD +17 -0
- py_meta_agent-0.1.0.dist-info/WHEEL +5 -0
- py_meta_agent-0.1.0.dist-info/entry_points.txt +3 -0
- py_meta_agent-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"""Meta Agent: YAML-defined agent network compiler built on LangGraph."""
|
|
2
|
+
|
|
3
|
+
from .builder import (
|
|
4
|
+
ensure_agent_yaml_path,
|
|
5
|
+
generate_agent_yaml,
|
|
6
|
+
generate_companion_modules,
|
|
7
|
+
validate_agent_yaml,
|
|
8
|
+
write_network_bundle,
|
|
9
|
+
)
|
|
10
|
+
from .graph import create_graph
|
|
11
|
+
from .memory import apply_context_policy, create_memory
|
|
12
|
+
from .nodes import NetworkAgent, create_agents, create_human_node
|
|
13
|
+
from .optimization import (
|
|
14
|
+
STRATEGIES,
|
|
15
|
+
HarnessRegistry,
|
|
16
|
+
HarnessVersion,
|
|
17
|
+
MetricCheck,
|
|
18
|
+
Window,
|
|
19
|
+
apply_optimization,
|
|
20
|
+
evaluate_metrics,
|
|
21
|
+
optimize,
|
|
22
|
+
target_met,
|
|
23
|
+
validate_optimization,
|
|
24
|
+
)
|
|
25
|
+
from .resilience import (
|
|
26
|
+
GraphRegistry,
|
|
27
|
+
GraphVersion,
|
|
28
|
+
SelfHealer,
|
|
29
|
+
TokenBucketRateLimiter,
|
|
30
|
+
apply_graph_patch,
|
|
31
|
+
retry_call,
|
|
32
|
+
)
|
|
33
|
+
from .state import create_states, get_state_scopes, reducer_append, reducer_dedupe_by_id
|
|
34
|
+
from .tools import create_tools
|
|
35
|
+
from .utils import (
|
|
36
|
+
ConfigResolver,
|
|
37
|
+
apply_pre_filters,
|
|
38
|
+
deep_merge,
|
|
39
|
+
evaluate_condition,
|
|
40
|
+
extract_input_context,
|
|
41
|
+
render_input_prompt,
|
|
42
|
+
resolve_module,
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
__version__ = "0.1.0"
|
|
46
|
+
|
|
47
|
+
__all__ = [
|
|
48
|
+
"__version__",
|
|
49
|
+
"ConfigResolver",
|
|
50
|
+
"GraphRegistry",
|
|
51
|
+
"GraphVersion",
|
|
52
|
+
"HarnessRegistry",
|
|
53
|
+
"HarnessVersion",
|
|
54
|
+
"MetricCheck",
|
|
55
|
+
"NetworkAgent",
|
|
56
|
+
"STRATEGIES",
|
|
57
|
+
"SelfHealer",
|
|
58
|
+
"TokenBucketRateLimiter",
|
|
59
|
+
"Window",
|
|
60
|
+
"apply_context_policy",
|
|
61
|
+
"apply_graph_patch",
|
|
62
|
+
"apply_optimization",
|
|
63
|
+
"apply_pre_filters",
|
|
64
|
+
"create_agents",
|
|
65
|
+
"create_graph",
|
|
66
|
+
"create_human_node",
|
|
67
|
+
"create_memory",
|
|
68
|
+
"create_states",
|
|
69
|
+
"create_tools",
|
|
70
|
+
"deep_merge",
|
|
71
|
+
"ensure_agent_yaml_path",
|
|
72
|
+
"evaluate_condition",
|
|
73
|
+
"evaluate_metrics",
|
|
74
|
+
"extract_input_context",
|
|
75
|
+
"generate_agent_yaml",
|
|
76
|
+
"generate_companion_modules",
|
|
77
|
+
"get_state_scopes",
|
|
78
|
+
"optimize",
|
|
79
|
+
"reducer_append",
|
|
80
|
+
"reducer_dedupe_by_id",
|
|
81
|
+
"render_input_prompt",
|
|
82
|
+
"resolve_module",
|
|
83
|
+
"retry_call",
|
|
84
|
+
"target_met",
|
|
85
|
+
"validate_agent_yaml",
|
|
86
|
+
"validate_optimization",
|
|
87
|
+
"write_network_bundle",
|
|
88
|
+
]
|