empathy-framework 4.6.3__py3-none-any.whl → 4.6.5__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.
Files changed (65) hide show
  1. {empathy_framework-4.6.3.dist-info → empathy_framework-4.6.5.dist-info}/METADATA +53 -11
  2. {empathy_framework-4.6.3.dist-info → empathy_framework-4.6.5.dist-info}/RECORD +32 -57
  3. empathy_llm_toolkit/agent_factory/crews/health_check.py +7 -4
  4. empathy_llm_toolkit/agent_factory/decorators.py +3 -2
  5. empathy_llm_toolkit/agent_factory/memory_integration.py +6 -2
  6. empathy_llm_toolkit/contextual_patterns.py +5 -2
  7. empathy_llm_toolkit/git_pattern_extractor.py +8 -4
  8. empathy_llm_toolkit/providers.py +4 -3
  9. empathy_os/__init__.py +1 -1
  10. empathy_os/cli/__init__.py +306 -0
  11. empathy_os/cli/__main__.py +26 -0
  12. empathy_os/cli/commands/__init__.py +8 -0
  13. empathy_os/cli/commands/inspection.py +48 -0
  14. empathy_os/cli/commands/memory.py +56 -0
  15. empathy_os/cli/commands/provider.py +86 -0
  16. empathy_os/cli/commands/utilities.py +94 -0
  17. empathy_os/cli/core.py +32 -0
  18. empathy_os/cli.py +18 -6
  19. empathy_os/cli_unified.py +19 -3
  20. empathy_os/memory/short_term.py +12 -2
  21. empathy_os/project_index/scanner.py +151 -49
  22. empathy_os/socratic/visual_editor.py +9 -4
  23. empathy_os/workflows/bug_predict.py +70 -1
  24. empathy_os/workflows/pr_review.py +6 -0
  25. empathy_os/workflows/security_audit.py +13 -0
  26. empathy_os/workflows/tier_tracking.py +50 -2
  27. wizards/discharge_summary_wizard.py +4 -2
  28. wizards/incident_report_wizard.py +4 -2
  29. empathy_os/meta_workflows/agent_creator 2.py +0 -254
  30. empathy_os/meta_workflows/builtin_templates 2.py +0 -567
  31. empathy_os/meta_workflows/cli_meta_workflows 2.py +0 -1551
  32. empathy_os/meta_workflows/form_engine 2.py +0 -304
  33. empathy_os/meta_workflows/intent_detector 2.py +0 -298
  34. empathy_os/meta_workflows/pattern_learner 2.py +0 -754
  35. empathy_os/meta_workflows/session_context 2.py +0 -398
  36. empathy_os/meta_workflows/template_registry 2.py +0 -229
  37. empathy_os/meta_workflows/workflow 2.py +0 -980
  38. empathy_os/orchestration/pattern_learner 2.py +0 -699
  39. empathy_os/orchestration/real_tools 2.py +0 -938
  40. empathy_os/socratic/__init__ 2.py +0 -273
  41. empathy_os/socratic/ab_testing 2.py +0 -969
  42. empathy_os/socratic/blueprint 2.py +0 -532
  43. empathy_os/socratic/cli 2.py +0 -689
  44. empathy_os/socratic/collaboration 2.py +0 -1112
  45. empathy_os/socratic/domain_templates 2.py +0 -916
  46. empathy_os/socratic/embeddings 2.py +0 -734
  47. empathy_os/socratic/engine 2.py +0 -729
  48. empathy_os/socratic/explainer 2.py +0 -663
  49. empathy_os/socratic/feedback 2.py +0 -767
  50. empathy_os/socratic/forms 2.py +0 -624
  51. empathy_os/socratic/generator 2.py +0 -716
  52. empathy_os/socratic/llm_analyzer 2.py +0 -635
  53. empathy_os/socratic/mcp_server 2.py +0 -751
  54. empathy_os/socratic/session 2.py +0 -306
  55. empathy_os/socratic/storage 2.py +0 -635
  56. empathy_os/socratic/success 2.py +0 -719
  57. empathy_os/socratic/visual_editor 2.py +0 -812
  58. empathy_os/socratic/web_ui 2.py +0 -925
  59. empathy_os/workflows/batch_processing 2.py +0 -310
  60. empathy_os/workflows/release_prep_crew 2.py +0 -968
  61. empathy_os/workflows/test_coverage_boost_crew 2.py +0 -848
  62. {empathy_framework-4.6.3.dist-info → empathy_framework-4.6.5.dist-info}/WHEEL +0 -0
  63. {empathy_framework-4.6.3.dist-info → empathy_framework-4.6.5.dist-info}/entry_points.txt +0 -0
  64. {empathy_framework-4.6.3.dist-info → empathy_framework-4.6.5.dist-info}/licenses/LICENSE +0 -0
  65. {empathy_framework-4.6.3.dist-info → empathy_framework-4.6.5.dist-info}/top_level.txt +0 -0
@@ -1,273 +0,0 @@
1
- """Socratic Agent Generation System
2
-
3
- Generate optimized agent workflows through guided questioning.
4
-
5
- This module provides a Socratic approach to agent generation where:
6
- 1. User provides a free-form goal
7
- 2. System asks clarifying questions to understand requirements
8
- 3. Agents and workflows are generated based on refined understanding
9
- 4. Success criteria are defined for measuring completion
10
-
11
- Example:
12
- >>> from empathy_os.socratic import SocraticWorkflowBuilder
13
- >>>
14
- >>> builder = SocraticWorkflowBuilder()
15
- >>> session = builder.start_session("I want to automate code reviews")
16
- >>>
17
- >>> # Get clarifying questions
18
- >>> form = builder.get_next_questions(session)
19
- >>> print(form.questions[0].text)
20
- "What programming languages does your team primarily use?"
21
- >>>
22
- >>> # Answer questions
23
- >>> session = builder.submit_answers(session, {
24
- ... "languages": ["python", "typescript"],
25
- ... "focus_areas": ["security", "performance"]
26
- ... })
27
- >>>
28
- >>> # Generate workflow when ready
29
- >>> if builder.is_ready_to_generate(session):
30
- ... workflow = builder.generate_workflow(session)
31
- ... print(f"Generated {len(workflow.agents)} agents")
32
-
33
- Copyright 2026 Smart-AI-Memory
34
- Licensed under Fair Source License 0.9
35
- """
36
-
37
- # A/B testing
38
- from .ab_testing import (
39
- AllocationStrategy,
40
- Experiment,
41
- ExperimentManager,
42
- ExperimentResult,
43
- Variant,
44
- WorkflowABTester,
45
- )
46
- from .blueprint import (
47
- AgentBlueprint,
48
- AgentSpec,
49
- ToolSpec,
50
- WorkflowBlueprint,
51
- )
52
-
53
- # CLI interface
54
- from .cli import Console, SocraticCLI
55
-
56
- # Collaboration
57
- from .collaboration import (
58
- Change,
59
- ChangeType,
60
- CollaborationManager,
61
- CollaborativeSession,
62
- Comment,
63
- InvitationManager,
64
- Participant,
65
- ParticipantRole,
66
- SyncAdapter,
67
- Vote,
68
- VoteType,
69
- VotingResult,
70
- )
71
-
72
- # Domain templates
73
- from .domain_templates import (
74
- AgentTemplate,
75
- Domain,
76
- DomainTemplate,
77
- DomainTemplateRegistry,
78
- WorkflowTemplate,
79
- get_registry,
80
- )
81
-
82
- # Vector embeddings for semantic matching
83
- from .embeddings import (
84
- AnthropicEmbeddingProvider,
85
- EmbeddedGoal,
86
- EmbeddingProvider,
87
- SemanticGoalMatcher,
88
- SimilarityResult,
89
- TFIDFEmbeddingProvider,
90
- VectorStore,
91
- )
92
- from .engine import SocraticWorkflowBuilder
93
-
94
- # Workflow explainer
95
- from .explainer import (
96
- AudienceLevel,
97
- DetailLevel,
98
- Explanation,
99
- LLMExplanationGenerator,
100
- OutputFormat,
101
- WorkflowExplainer,
102
- explain_workflow,
103
- )
104
-
105
- # Feedback loop
106
- from .feedback import (
107
- AdaptiveAgentGenerator,
108
- AgentPerformance,
109
- FeedbackCollector,
110
- FeedbackLoop,
111
- WorkflowPattern,
112
- )
113
- from .forms import (
114
- FieldType,
115
- Form,
116
- FormField,
117
- FormResponse,
118
- ValidationResult,
119
- )
120
- from .generator import AgentGenerator
121
-
122
- # LLM-powered analysis
123
- from .llm_analyzer import (
124
- LLMAgentRecommendation,
125
- LLMAnalysisResult,
126
- LLMGoalAnalyzer,
127
- LLMQuestionResult,
128
- llm_questions_to_form,
129
- )
130
-
131
- # MCP server
132
- from .mcp_server import SOCRATIC_TOOLS, SocraticMCPServer
133
- from .session import SessionState, SocraticSession
134
-
135
- # Persistent storage
136
- from .storage import (
137
- JSONFileStorage,
138
- SQLiteStorage,
139
- StorageBackend,
140
- StorageManager,
141
- )
142
- from .success import MetricType, SuccessCriteria, SuccessMetric
143
-
144
- # Visual editor
145
- from .visual_editor import (
146
- ASCIIVisualizer,
147
- EditorEdge,
148
- EditorNode,
149
- EditorState,
150
- VisualWorkflowEditor,
151
- WorkflowVisualizer,
152
- generate_editor_html,
153
- generate_react_flow_schema,
154
- )
155
-
156
- # Web UI components
157
- from .web_ui import (
158
- ReactBlueprintSchema,
159
- ReactFormSchema,
160
- ReactSessionSchema,
161
- create_blueprint_response,
162
- create_form_response,
163
- render_complete_page,
164
- render_form_html,
165
- )
166
-
167
- __all__ = [
168
- # Core engine
169
- "SocraticWorkflowBuilder",
170
- # Forms
171
- "Form",
172
- "FormField",
173
- "FieldType",
174
- "FormResponse",
175
- "ValidationResult",
176
- # Blueprints
177
- "AgentBlueprint",
178
- "AgentSpec",
179
- "WorkflowBlueprint",
180
- "ToolSpec",
181
- # Generation
182
- "AgentGenerator",
183
- # Success measurement
184
- "SuccessCriteria",
185
- "SuccessMetric",
186
- "MetricType",
187
- # Session
188
- "SocraticSession",
189
- "SessionState",
190
- # LLM-powered analysis
191
- "LLMGoalAnalyzer",
192
- "LLMAnalysisResult",
193
- "LLMQuestionResult",
194
- "LLMAgentRecommendation",
195
- "llm_questions_to_form",
196
- # Persistent storage
197
- "StorageBackend",
198
- "JSONFileStorage",
199
- "SQLiteStorage",
200
- "StorageManager",
201
- # CLI interface
202
- "SocraticCLI",
203
- "Console",
204
- # Web UI components
205
- "ReactFormSchema",
206
- "ReactSessionSchema",
207
- "ReactBlueprintSchema",
208
- "render_form_html",
209
- "render_complete_page",
210
- "create_form_response",
211
- "create_blueprint_response",
212
- # Feedback loop
213
- "FeedbackLoop",
214
- "FeedbackCollector",
215
- "AdaptiveAgentGenerator",
216
- "AgentPerformance",
217
- "WorkflowPattern",
218
- # MCP server
219
- "SocraticMCPServer",
220
- "SOCRATIC_TOOLS",
221
- # Vector embeddings
222
- "VectorStore",
223
- "SemanticGoalMatcher",
224
- "EmbeddingProvider",
225
- "TFIDFEmbeddingProvider",
226
- "AnthropicEmbeddingProvider",
227
- "EmbeddedGoal",
228
- "SimilarityResult",
229
- # A/B testing
230
- "ExperimentManager",
231
- "WorkflowABTester",
232
- "Experiment",
233
- "Variant",
234
- "ExperimentResult",
235
- "AllocationStrategy",
236
- # Domain templates
237
- "DomainTemplateRegistry",
238
- "Domain",
239
- "AgentTemplate",
240
- "WorkflowTemplate",
241
- "DomainTemplate",
242
- "get_registry",
243
- # Visual editor
244
- "VisualWorkflowEditor",
245
- "ASCIIVisualizer",
246
- "WorkflowVisualizer",
247
- "EditorState",
248
- "EditorNode",
249
- "EditorEdge",
250
- "generate_react_flow_schema",
251
- "generate_editor_html",
252
- # Workflow explainer
253
- "WorkflowExplainer",
254
- "LLMExplanationGenerator",
255
- "Explanation",
256
- "AudienceLevel",
257
- "DetailLevel",
258
- "OutputFormat",
259
- "explain_workflow",
260
- # Collaboration
261
- "CollaborationManager",
262
- "CollaborativeSession",
263
- "Participant",
264
- "ParticipantRole",
265
- "Comment",
266
- "Vote",
267
- "VoteType",
268
- "Change",
269
- "ChangeType",
270
- "VotingResult",
271
- "InvitationManager",
272
- "SyncAdapter",
273
- ]