agent-framework-core 1.2.2__tar.gz → 1.4.0__tar.gz
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.
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/PKG-INFO +2 -1
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/__init__.py +68 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_feature_stage.py +2 -1
- agent_framework_core-1.4.0/agent_framework/_harness/_memory.py +1636 -0
- agent_framework_core-1.4.0/agent_framework/_harness/_mode.py +296 -0
- agent_framework_core-1.4.0/agent_framework/_harness/_todo.py +549 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_mcp.py +109 -16
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_sessions.py +3 -6
- agent_framework_core-1.4.0/agent_framework/_skills.py +3176 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_tools.py +105 -28
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_types.py +14 -1
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_request_info_mixin.py +369 -369
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/declarative/__init__.py +12 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/declarative/__init__.pyi +24 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/foundry/__init__.py +0 -4
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/foundry/__init__.pyi +0 -8
- agent_framework_core-1.4.0/agent_framework/hyperlight/__init__.py +35 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/observability.py +1 -1
- agent_framework_core-1.4.0/agent_framework/py.typed +0 -0
- agent_framework_core-1.4.0/agent_framework/security.py +2686 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/pyproject.toml +2 -1
- agent_framework_core-1.2.2/agent_framework/_skills.py +0 -1558
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/LICENSE +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/README.md +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_agents.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_clients.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_compaction.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_docstrings.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_evaluation.py +0 -0
- /agent_framework_core-1.2.2/agent_framework/py.typed → /agent_framework_core-1.4.0/agent_framework/_harness/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_middleware.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_serialization.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_settings.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_telemetry.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_agent.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_agent_executor.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_agent_utils.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_checkpoint.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_checkpoint_encoding.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_const.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_conversation_history.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_edge.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_edge_runner.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_events.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_executor.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_function_executor.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_functional.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_message_utils.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_model_utils.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_runner.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_runner_context.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_state.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_typing_utils.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_validation.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_viz.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_workflow.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_workflow_builder.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_workflow_context.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/_workflows/_workflow_executor.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/a2a/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/a2a/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/ag_ui/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/ag_ui/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/amazon/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/amazon/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/anthropic/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/anthropic/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/azure/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/azure/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/chatkit/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/chatkit/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/devui/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/devui/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/exceptions.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/github/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/github/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/google/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/google/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/lab/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/mem0/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/mem0/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/microsoft/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/microsoft/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/ollama/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/ollama/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/openai/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/openai/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/orchestrations/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/orchestrations/__init__.pyi +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/redis/__init__.py +0 -0
- {agent_framework_core-1.2.2 → agent_framework_core-1.4.0}/agent_framework/redis/__init__.pyi +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-framework-core
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0
|
|
4
4
|
Summary: Microsoft Agent Framework for building AI Agents with Python. This is the core package that has all the core abstractions and implementations.
|
|
5
5
|
Author-email: Microsoft <af-support@microsoft.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -37,6 +37,7 @@ Requires-Dist: agent-framework-durabletask ; extra == "all"
|
|
|
37
37
|
Requires-Dist: agent-framework-foundry ; extra == "all"
|
|
38
38
|
Requires-Dist: agent-framework-foundry-local ; extra == "all"
|
|
39
39
|
Requires-Dist: agent-framework-github-copilot ; extra == "all" and ( python_version >= '3.11')
|
|
40
|
+
Requires-Dist: agent-framework-hyperlight ; extra == "all" and ( ((sys_platform == 'linux' and platform_machine == 'x86_64') or (sys_platform == 'win32' and platform_machine == 'AMD64')) and python_version < '3.14')
|
|
40
41
|
Requires-Dist: agent-framework-lab ; extra == "all"
|
|
41
42
|
Requires-Dist: agent-framework-mem0 ; extra == "all"
|
|
42
43
|
Requires-Dist: agent-framework-ollama ; extra == "all"
|
|
@@ -79,6 +79,29 @@ from ._evaluation import (
|
|
|
79
79
|
tool_calls_present,
|
|
80
80
|
)
|
|
81
81
|
from ._feature_stage import ExperimentalFeature, ReleaseCandidateFeature
|
|
82
|
+
from ._harness._memory import (
|
|
83
|
+
DEFAULT_MEMORY_SOURCE_ID,
|
|
84
|
+
MemoryContextProvider,
|
|
85
|
+
MemoryFileStore,
|
|
86
|
+
MemoryIndexEntry,
|
|
87
|
+
MemoryStore,
|
|
88
|
+
MemoryTopicRecord,
|
|
89
|
+
)
|
|
90
|
+
from ._harness._mode import (
|
|
91
|
+
DEFAULT_MODE_SOURCE_ID,
|
|
92
|
+
AgentModeProvider,
|
|
93
|
+
get_agent_mode,
|
|
94
|
+
set_agent_mode,
|
|
95
|
+
)
|
|
96
|
+
from ._harness._todo import (
|
|
97
|
+
DEFAULT_TODO_SOURCE_ID,
|
|
98
|
+
TodoFileStore,
|
|
99
|
+
TodoInput,
|
|
100
|
+
TodoItem,
|
|
101
|
+
TodoProvider,
|
|
102
|
+
TodoSessionStore,
|
|
103
|
+
TodoStore,
|
|
104
|
+
)
|
|
82
105
|
from ._mcp import MCPStdioTool, MCPStreamableHTTPTool, MCPWebsocketTool
|
|
83
106
|
from ._middleware import (
|
|
84
107
|
AgentContext,
|
|
@@ -111,11 +134,25 @@ from ._sessions import (
|
|
|
111
134
|
)
|
|
112
135
|
from ._settings import SecretString, load_settings
|
|
113
136
|
from ._skills import (
|
|
137
|
+
AggregatingSkillsSource,
|
|
138
|
+
ClassSkill,
|
|
139
|
+
DeduplicatingSkillsSource,
|
|
140
|
+
DelegatingSkillsSource,
|
|
141
|
+
FileSkill,
|
|
142
|
+
FileSkillScript,
|
|
143
|
+
FileSkillsSource,
|
|
144
|
+
FilteringSkillsSource,
|
|
145
|
+
InlineSkill,
|
|
146
|
+
InlineSkillResource,
|
|
147
|
+
InlineSkillScript,
|
|
148
|
+
InMemorySkillsSource,
|
|
114
149
|
Skill,
|
|
150
|
+
SkillFrontmatter,
|
|
115
151
|
SkillResource,
|
|
116
152
|
SkillScript,
|
|
117
153
|
SkillScriptRunner,
|
|
118
154
|
SkillsProvider,
|
|
155
|
+
SkillsSource,
|
|
119
156
|
)
|
|
120
157
|
from ._telemetry import (
|
|
121
158
|
AGENT_FRAMEWORK_USER_AGENT,
|
|
@@ -261,6 +298,9 @@ __all__ = [
|
|
|
261
298
|
"APP_INFO",
|
|
262
299
|
"COMPACTION_STATE_KEY",
|
|
263
300
|
"DEFAULT_MAX_ITERATIONS",
|
|
301
|
+
"DEFAULT_MEMORY_SOURCE_ID",
|
|
302
|
+
"DEFAULT_MODE_SOURCE_ID",
|
|
303
|
+
"DEFAULT_TODO_SOURCE_ID",
|
|
264
304
|
"EXCLUDED_KEY",
|
|
265
305
|
"EXCLUDE_REASON_KEY",
|
|
266
306
|
"GROUP_ANNOTATION_KEY",
|
|
@@ -285,10 +325,12 @@ __all__ = [
|
|
|
285
325
|
"AgentMiddleware",
|
|
286
326
|
"AgentMiddlewareLayer",
|
|
287
327
|
"AgentMiddlewareTypes",
|
|
328
|
+
"AgentModeProvider",
|
|
288
329
|
"AgentResponse",
|
|
289
330
|
"AgentResponseUpdate",
|
|
290
331
|
"AgentRunInputs",
|
|
291
332
|
"AgentSession",
|
|
333
|
+
"AggregatingSkillsSource",
|
|
292
334
|
"Annotation",
|
|
293
335
|
"BaseAgent",
|
|
294
336
|
"BaseChatClient",
|
|
@@ -305,6 +347,7 @@ __all__ = [
|
|
|
305
347
|
"ChatResponseUpdate",
|
|
306
348
|
"CheckResult",
|
|
307
349
|
"CheckpointStorage",
|
|
350
|
+
"ClassSkill",
|
|
308
351
|
"CompactionProvider",
|
|
309
352
|
"CompactionStrategy",
|
|
310
353
|
"Content",
|
|
@@ -312,7 +355,9 @@ __all__ = [
|
|
|
312
355
|
"ContinuationToken",
|
|
313
356
|
"ConversationSplit",
|
|
314
357
|
"ConversationSplitter",
|
|
358
|
+
"DeduplicatingSkillsSource",
|
|
315
359
|
"Default",
|
|
360
|
+
"DelegatingSkillsSource",
|
|
316
361
|
"Edge",
|
|
317
362
|
"EdgeCondition",
|
|
318
363
|
"EdgeDuplicationError",
|
|
@@ -333,6 +378,10 @@ __all__ = [
|
|
|
333
378
|
"FanOutEdgeGroup",
|
|
334
379
|
"FileCheckpointStorage",
|
|
335
380
|
"FileHistoryProvider",
|
|
381
|
+
"FileSkill",
|
|
382
|
+
"FileSkillScript",
|
|
383
|
+
"FileSkillsSource",
|
|
384
|
+
"FilteringSkillsSource",
|
|
336
385
|
"FinalT",
|
|
337
386
|
"FinishReason",
|
|
338
387
|
"FinishReasonLiteral",
|
|
@@ -350,11 +399,20 @@ __all__ = [
|
|
|
350
399
|
"HistoryProvider",
|
|
351
400
|
"InMemoryCheckpointStorage",
|
|
352
401
|
"InMemoryHistoryProvider",
|
|
402
|
+
"InMemorySkillsSource",
|
|
353
403
|
"InProcRunnerContext",
|
|
404
|
+
"InlineSkill",
|
|
405
|
+
"InlineSkillResource",
|
|
406
|
+
"InlineSkillScript",
|
|
354
407
|
"LocalEvaluator",
|
|
355
408
|
"MCPStdioTool",
|
|
356
409
|
"MCPStreamableHTTPTool",
|
|
357
410
|
"MCPWebsocketTool",
|
|
411
|
+
"MemoryContextProvider",
|
|
412
|
+
"MemoryFileStore",
|
|
413
|
+
"MemoryIndexEntry",
|
|
414
|
+
"MemoryStore",
|
|
415
|
+
"MemoryTopicRecord",
|
|
358
416
|
"Message",
|
|
359
417
|
"MiddlewareException",
|
|
360
418
|
"MiddlewareTermination",
|
|
@@ -375,10 +433,12 @@ __all__ = [
|
|
|
375
433
|
"SessionContext",
|
|
376
434
|
"SingleEdgeGroup",
|
|
377
435
|
"Skill",
|
|
436
|
+
"SkillFrontmatter",
|
|
378
437
|
"SkillResource",
|
|
379
438
|
"SkillScript",
|
|
380
439
|
"SkillScriptRunner",
|
|
381
440
|
"SkillsProvider",
|
|
441
|
+
"SkillsSource",
|
|
382
442
|
"SlidingWindowStrategy",
|
|
383
443
|
"StepWrapper",
|
|
384
444
|
"SubWorkflowRequestMessage",
|
|
@@ -396,6 +456,12 @@ __all__ = [
|
|
|
396
456
|
"SwitchCaseEdgeGroupCase",
|
|
397
457
|
"SwitchCaseEdgeGroupDefault",
|
|
398
458
|
"TextSpanRegion",
|
|
459
|
+
"TodoFileStore",
|
|
460
|
+
"TodoInput",
|
|
461
|
+
"TodoItem",
|
|
462
|
+
"TodoProvider",
|
|
463
|
+
"TodoSessionStore",
|
|
464
|
+
"TodoStore",
|
|
399
465
|
"TokenBudgetComposedStrategy",
|
|
400
466
|
"TokenizerProtocol",
|
|
401
467
|
"ToolMode",
|
|
@@ -439,6 +505,7 @@ __all__ = [
|
|
|
439
505
|
"evaluator",
|
|
440
506
|
"executor",
|
|
441
507
|
"function_middleware",
|
|
508
|
+
"get_agent_mode",
|
|
442
509
|
"get_run_context",
|
|
443
510
|
"handler",
|
|
444
511
|
"included_messages",
|
|
@@ -455,6 +522,7 @@ __all__ = [
|
|
|
455
522
|
"register_state_type",
|
|
456
523
|
"resolve_agent_id",
|
|
457
524
|
"response_handler",
|
|
525
|
+
"set_agent_mode",
|
|
458
526
|
"step",
|
|
459
527
|
"tool",
|
|
460
528
|
"tool_call_args_match",
|
|
@@ -48,9 +48,10 @@ class ExperimentalFeature(str, Enum):
|
|
|
48
48
|
|
|
49
49
|
EVALS = "EVALS"
|
|
50
50
|
FILE_HISTORY = "FILE_HISTORY"
|
|
51
|
+
FIDES = "FIDES"
|
|
51
52
|
FUNCTIONAL_WORKFLOWS = "FUNCTIONAL_WORKFLOWS"
|
|
53
|
+
HARNESS = "HARNESS"
|
|
52
54
|
SKILLS = "SKILLS"
|
|
53
|
-
TOOLBOXES = "TOOLBOXES"
|
|
54
55
|
|
|
55
56
|
|
|
56
57
|
class ReleaseCandidateFeature(str, Enum):
|