nvidia-nat 1.4.0a20251008__py3-none-any.whl → 1.4.0a20251010__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.
@@ -153,7 +153,7 @@ def recursive_componentref_discovery(cls: TypedBaseModel, value: typing.Any,
153
153
  for v in value.values():
154
154
  yield from recursive_componentref_discovery(cls, v, decomposed_type.args[1])
155
155
  elif (issubclass(type(value), BaseModel)):
156
- for field, field_info in value.model_fields.items():
156
+ for field, field_info in type(value).model_fields.items():
157
157
  field_data = getattr(value, field)
158
158
  yield from recursive_componentref_discovery(cls, field_data, field_info.annotation)
159
159
  if (decomposed_type.is_union):
@@ -156,6 +156,7 @@ class WorkflowBuilder(Builder, AbstractAsyncContextManager):
156
156
  self._registry = registry
157
157
 
158
158
  self._logging_handlers: dict[str, logging.Handler] = {}
159
+ self._removed_root_handlers: list[tuple[logging.Handler, int]] = []
159
160
  self._telemetry_exporters: dict[str, ConfiguredTelemetryExporter] = {}
160
161
 
161
162
  self._functions: dict[str, ConfiguredFunction] = {}
@@ -187,6 +188,15 @@ class WorkflowBuilder(Builder, AbstractAsyncContextManager):
187
188
  # Get the telemetry info from the config
188
189
  telemetry_config = self.general_config.telemetry
189
190
 
191
+ # If we have logging configuration, we need to manage the root logger properly
192
+ root_logger = logging.getLogger()
193
+
194
+ # Collect configured handler types to determine if we need to adjust existing handlers
195
+ # This is somewhat of a hack by inspecting the class name of the config object
196
+ has_console_handler = any(
197
+ hasattr(config, "__class__") and "console" in config.__class__.__name__.lower()
198
+ for config in telemetry_config.logging.values())
199
+
190
200
  for key, logging_config in telemetry_config.logging.items():
191
201
  # Use the same pattern as tracing, but for logging
192
202
  logging_info = self._registry.get_logging_method(type(logging_config))
@@ -200,7 +210,31 @@ class WorkflowBuilder(Builder, AbstractAsyncContextManager):
200
210
  self._logging_handlers[key] = handler
201
211
 
202
212
  # Now attach to NAT's root logger
203
- logging.getLogger().addHandler(handler)
213
+ root_logger.addHandler(handler)
214
+
215
+ # If we added logging handlers, manage existing handlers appropriately
216
+ if self._logging_handlers:
217
+ min_handler_level = min((handler.level for handler in root_logger.handlers), default=logging.CRITICAL)
218
+
219
+ # Ensure the root logger level allows messages through
220
+ root_logger.level = max(root_logger.level, min_handler_level)
221
+
222
+ # If a console handler is configured, adjust or remove default CLI handlers
223
+ # to avoid duplicate output while preserving workflow visibility
224
+ if has_console_handler:
225
+ # Remove existing StreamHandlers that are not the newly configured ones
226
+ for handler in root_logger.handlers[:]:
227
+ if type(handler) is logging.StreamHandler and handler not in self._logging_handlers.values():
228
+ self._removed_root_handlers.append((handler, handler.level))
229
+ root_logger.removeHandler(handler)
230
+ else:
231
+ # No console handler configured, but adjust existing handler levels
232
+ # to respect the minimum configured level for file/other handlers
233
+ for handler in root_logger.handlers[:]:
234
+ if type(handler) is logging.StreamHandler:
235
+ old_level = handler.level
236
+ handler.setLevel(min_handler_level)
237
+ self._removed_root_handlers.append((handler, old_level))
204
238
 
205
239
  # Add the telemetry exporters
206
240
  for key, telemetry_exporter_config in telemetry_config.tracing.items():
@@ -212,8 +246,17 @@ class WorkflowBuilder(Builder, AbstractAsyncContextManager):
212
246
 
213
247
  assert self._exit_stack is not None, "Exit stack not initialized"
214
248
 
215
- for _, handler in self._logging_handlers.items():
216
- logging.getLogger().removeHandler(handler)
249
+ root_logger = logging.getLogger()
250
+
251
+ # Remove custom logging handlers
252
+ for handler in self._logging_handlers.values():
253
+ root_logger.removeHandler(handler)
254
+
255
+ # Restore original handlers and their levels
256
+ for handler, old_level in self._removed_root_handlers:
257
+ if handler not in root_logger.handlers:
258
+ root_logger.addHandler(handler)
259
+ handler.setLevel(old_level)
217
260
 
218
261
  await self._exit_stack.__aexit__(*exc_details)
219
262
 
nat/cli/entrypoint.py CHANGED
@@ -29,6 +29,7 @@ import time
29
29
 
30
30
  import click
31
31
  import nest_asyncio
32
+ from dotenv import load_dotenv
32
33
 
33
34
  from nat.utils.log_levels import LOG_LEVELS
34
35
 
@@ -45,6 +46,9 @@ from .commands.uninstall import uninstall_command
45
46
  from .commands.validate import validate_command
46
47
  from .commands.workflow.workflow import workflow_command
47
48
 
49
+ # Load environment variables from .env file, if it exists
50
+ load_dotenv()
51
+
48
52
  # Apply at the beginning of the file to avoid issues with asyncio
49
53
  nest_asyncio.apply()
50
54
 
@@ -52,7 +56,11 @@ nest_asyncio.apply()
52
56
  def setup_logging(log_level: str):
53
57
  """Configure logging with the specified level"""
54
58
  numeric_level = LOG_LEVELS.get(log_level.upper(), logging.INFO)
55
- logging.basicConfig(level=numeric_level, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
59
+ logging.basicConfig(
60
+ level=numeric_level,
61
+ format="%(asctime)s - %(levelname)-8s - %(name)s:%(lineno)d - %(message)s",
62
+ datefmt="%Y-%m-%d %H:%M:%S",
63
+ )
56
64
  return numeric_level
57
65
 
58
66
 
nat/data_models/config.py CHANGED
@@ -187,7 +187,7 @@ class TelemetryConfig(BaseModel):
187
187
 
188
188
  class GeneralConfig(BaseModel):
189
189
 
190
- model_config = ConfigDict(protected_namespaces=())
190
+ model_config = ConfigDict(protected_namespaces=(), extra="forbid")
191
191
 
192
192
  use_uvloop: bool | None = Field(
193
193
  default=None,
@@ -95,5 +95,14 @@ class ConsoleFrontEndPlugin(SimpleFrontEndPluginBase[ConsoleFrontEndConfig]):
95
95
  else:
96
96
  assert False, "Should not reach here. Should have been caught by pre_run"
97
97
 
98
- # Print result
99
- logger.info(f"\n{'-' * 50}\n{Fore.GREEN}Workflow Result:\n%s{Fore.RESET}\n{'-' * 50}", runner_outputs)
98
+ line = f"{'-' * 50}"
99
+ prefix = f"{line}\n{Fore.GREEN}Workflow Result:\n"
100
+ suffix = f"{Fore.RESET}\n{line}"
101
+
102
+ logger.info(f"{prefix}%s{suffix}", runner_outputs)
103
+
104
+ # (handler is a stream handler) => (level > INFO)
105
+ effective_level_too_high = all(
106
+ type(h) is not logging.StreamHandler or h.level > logging.INFO for h in logging.getLogger().handlers)
107
+ if effective_level_too_high:
108
+ print(f"{prefix}{runner_outputs}{suffix}")
@@ -24,4 +24,4 @@ class HTTPAuthenticationFlowHandler(FlowHandlerBase):
24
24
  async def authenticate(self, config: AuthProviderBaseConfig, method: AuthFlowType) -> AuthenticatedContext:
25
25
 
26
26
  raise NotImplementedError(f"Authentication method '{method}' is not supported by the HTTP frontend."
27
- f" Do you have Websockets enabled?")
27
+ f" Do you have WebSockets enabled?")
@@ -77,6 +77,14 @@ async def console_logging_method(config: ConsoleLoggingMethodConfig, builder: Bu
77
77
  level = getattr(logging, config.level.upper(), logging.INFO)
78
78
  handler = logging.StreamHandler(stream=sys.stdout)
79
79
  handler.setLevel(level)
80
+
81
+ # Set formatter to match the default CLI format
82
+ formatter = logging.Formatter(
83
+ fmt="%(asctime)s - %(levelname)-8s - %(name)s:%(lineno)d - %(message)s",
84
+ datefmt="%Y-%m-%d %H:%M:%S",
85
+ )
86
+ handler.setFormatter(formatter)
87
+
80
88
  yield handler
81
89
 
82
90
 
@@ -95,4 +103,12 @@ async def file_logging_method(config: FileLoggingMethod, builder: Builder):
95
103
  level = getattr(logging, config.level.upper(), logging.INFO)
96
104
  handler = logging.FileHandler(filename=config.path, mode="a", encoding="utf-8")
97
105
  handler.setLevel(level)
106
+
107
+ # Set formatter to match the default CLI format
108
+ formatter = logging.Formatter(
109
+ fmt="%(asctime)s - %(levelname)-8s - %(name)s:%(lineno)d - %(message)s",
110
+ datefmt="%Y-%m-%d %H:%M:%S",
111
+ )
112
+ handler.setFormatter(formatter)
113
+
98
114
  yield handler
nat/runtime/session.py CHANGED
@@ -192,7 +192,7 @@ class SessionManager:
192
192
  user_message_id: str | None,
193
193
  conversation_id: str | None) -> None:
194
194
  """
195
- Extracts and sets user metadata for Websocket connections.
195
+ Extracts and sets user metadata for WebSocket connections.
196
196
  """
197
197
 
198
198
  # Extract cookies from WebSocket headers (similar to HTTP request)
@@ -30,10 +30,10 @@ logger = logging.getLogger(__name__)
30
30
  class AddToolConfig(FunctionBaseConfig, name="add_memory"):
31
31
  """Function to add memory to a hosted memory platform."""
32
32
 
33
- description: str = Field(default=("Tool to add memory about a user's interactions to a system "
33
+ description: str = Field(default=("Tool to add a memory about a user's interactions to a system "
34
34
  "for retrieval later."),
35
35
  description="The description of this function's use for tool calling agents.")
36
- memory: MemoryRef = Field(default="saas_memory",
36
+ memory: MemoryRef = Field(default=MemoryRef("saas_memory"),
37
37
  description=("Instance name of the memory client instance from the workflow "
38
38
  "configuration object."))
39
39
 
@@ -46,7 +46,7 @@ async def add_memory_tool(config: AddToolConfig, builder: Builder):
46
46
  from langchain_core.tools import ToolException
47
47
 
48
48
  # First, retrieve the memory client
49
- memory_editor = builder.get_memory_client(config.memory)
49
+ memory_editor = await builder.get_memory_client(config.memory)
50
50
 
51
51
  async def _arun(item: MemoryItem) -> str:
52
52
  """
@@ -30,10 +30,9 @@ logger = logging.getLogger(__name__)
30
30
  class DeleteToolConfig(FunctionBaseConfig, name="delete_memory"):
31
31
  """Function to delete memory from a hosted memory platform."""
32
32
 
33
- description: str = Field(default=("Tool to retrieve memory about a user's "
34
- "interactions to help answer questions in a personalized way."),
33
+ description: str = Field(default="Tool to delete a memory from a hosted memory platform.",
35
34
  description="The description of this function's use for tool calling agents.")
36
- memory: MemoryRef = Field(default="saas_memory",
35
+ memory: MemoryRef = Field(default=MemoryRef("saas_memory"),
37
36
  description=("Instance name of the memory client instance from the workflow "
38
37
  "configuration object."))
39
38
 
@@ -47,7 +46,7 @@ async def delete_memory_tool(config: DeleteToolConfig, builder: Builder):
47
46
  from langchain_core.tools import ToolException
48
47
 
49
48
  # First, retrieve the memory client
50
- memory_editor = builder.get_memory_client(config.memory)
49
+ memory_editor = await builder.get_memory_client(config.memory)
51
50
 
52
51
  async def _arun(user_id: str) -> str:
53
52
  """
@@ -30,10 +30,10 @@ logger = logging.getLogger(__name__)
30
30
  class GetToolConfig(FunctionBaseConfig, name="get_memory"):
31
31
  """Function to get memory to a hosted memory platform."""
32
32
 
33
- description: str = Field(default=("Tool to retrieve memory about a user's "
33
+ description: str = Field(default=("Tool to retrieve a memory about a user's "
34
34
  "interactions to help answer questions in a personalized way."),
35
35
  description="The description of this function's use for tool calling agents.")
36
- memory: MemoryRef = Field(default="saas_memory",
36
+ memory: MemoryRef = Field(default=MemoryRef("saas_memory"),
37
37
  description=("Instance name of the memory client instance from the workflow "
38
38
  "configuration object."))
39
39
 
@@ -49,7 +49,7 @@ async def get_memory_tool(config: GetToolConfig, builder: Builder):
49
49
  from langchain_core.tools import ToolException
50
50
 
51
51
  # First, retrieve the memory client
52
- memory_editor = builder.get_memory_client(config.memory)
52
+ memory_editor = await builder.get_memory_client(config.memory)
53
53
 
54
54
  async def _arun(search_input: SearchMemoryInput) -> str:
55
55
  """
@@ -0,0 +1,195 @@
1
+ Metadata-Version: 2.4
2
+ Name: nvidia-nat
3
+ Version: 1.4.0a20251010
4
+ Summary: NVIDIA NeMo Agent toolkit
5
+ Author: NVIDIA Corporation
6
+ Maintainer: NVIDIA Corporation
7
+ License-Expression: Apache-2.0
8
+ Project-URL: documentation, https://docs.nvidia.com/nemo/agent-toolkit/latest/
9
+ Project-URL: source, https://github.com/NVIDIA/NeMo-Agent-Toolkit
10
+ Keywords: ai,rag,agents
11
+ Classifier: Programming Language :: Python
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Requires-Python: <3.14,>=3.11
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE.md
18
+ License-File: LICENSE-3rd-party.txt
19
+ Requires-Dist: aioboto3>=11.0.0
20
+ Requires-Dist: authlib~=1.5
21
+ Requires-Dist: click~=8.1
22
+ Requires-Dist: colorama~=0.4.6
23
+ Requires-Dist: datasets~=4.0
24
+ Requires-Dist: expandvars~=1.0
25
+ Requires-Dist: fastapi~=0.115.5
26
+ Requires-Dist: httpx~=0.27
27
+ Requires-Dist: jinja2~=3.1
28
+ Requires-Dist: jsonpath-ng~=1.7
29
+ Requires-Dist: mcp~=1.13
30
+ Requires-Dist: nest-asyncio~=1.6
31
+ Requires-Dist: networkx~=3.4
32
+ Requires-Dist: numpy~=1.26; python_version < "3.12"
33
+ Requires-Dist: numpy~=2.3; python_version >= "3.12"
34
+ Requires-Dist: openinference-semantic-conventions~=0.1.14
35
+ Requires-Dist: openpyxl~=3.1
36
+ Requires-Dist: optuna~=4.4.0
37
+ Requires-Dist: pip>=24.3.1
38
+ Requires-Dist: pkce==1.0.3
39
+ Requires-Dist: pkginfo~=1.12
40
+ Requires-Dist: platformdirs~=4.3
41
+ Requires-Dist: pydantic~=2.11
42
+ Requires-Dist: pymilvus~=2.4
43
+ Requires-Dist: python-dotenv~=1.1.1
44
+ Requires-Dist: PyYAML~=6.0
45
+ Requires-Dist: ragas~=0.2.14
46
+ Requires-Dist: rich~=13.9
47
+ Requires-Dist: tabulate~=0.9
48
+ Requires-Dist: uvicorn[standard]<0.36
49
+ Requires-Dist: wikipedia~=1.4
50
+ Provides-Extra: all
51
+ Requires-Dist: nvidia-nat-all; extra == "all"
52
+ Provides-Extra: adk
53
+ Requires-Dist: nvidia-nat-adk; extra == "adk"
54
+ Provides-Extra: agno
55
+ Requires-Dist: nvidia-nat-agno; extra == "agno"
56
+ Provides-Extra: crewai
57
+ Requires-Dist: nvidia-nat-crewai; extra == "crewai"
58
+ Provides-Extra: data-flywheel
59
+ Requires-Dist: nvidia-nat-data-flywheel; extra == "data-flywheel"
60
+ Provides-Extra: ingestion
61
+ Requires-Dist: nvidia-nat-ingestion; extra == "ingestion"
62
+ Provides-Extra: langchain
63
+ Requires-Dist: nvidia-nat-langchain; extra == "langchain"
64
+ Provides-Extra: llama-index
65
+ Requires-Dist: nvidia-nat-llama-index; extra == "llama-index"
66
+ Provides-Extra: mcp
67
+ Requires-Dist: nvidia-nat-mcp; extra == "mcp"
68
+ Provides-Extra: mem0ai
69
+ Requires-Dist: nvidia-nat-mem0ai; extra == "mem0ai"
70
+ Provides-Extra: opentelemetry
71
+ Requires-Dist: nvidia-nat-opentelemetry; extra == "opentelemetry"
72
+ Provides-Extra: phoenix
73
+ Requires-Dist: nvidia-nat-phoenix; extra == "phoenix"
74
+ Provides-Extra: profiling
75
+ Requires-Dist: nvidia-nat-profiling; extra == "profiling"
76
+ Provides-Extra: ragaai
77
+ Requires-Dist: nvidia-nat-ragaai; extra == "ragaai"
78
+ Provides-Extra: mysql
79
+ Requires-Dist: nvidia-nat-mysql; extra == "mysql"
80
+ Provides-Extra: redis
81
+ Requires-Dist: nvidia-nat-redis; extra == "redis"
82
+ Provides-Extra: s3
83
+ Requires-Dist: nvidia-nat-s3; extra == "s3"
84
+ Provides-Extra: semantic-kernel
85
+ Requires-Dist: nvidia-nat-semantic-kernel; extra == "semantic-kernel"
86
+ Provides-Extra: telemetry
87
+ Requires-Dist: nvidia-nat-opentelemetry; extra == "telemetry"
88
+ Requires-Dist: nvidia-nat-phoenix; extra == "telemetry"
89
+ Requires-Dist: nvidia-nat-weave; extra == "telemetry"
90
+ Requires-Dist: nvidia-nat-ragaai; extra == "telemetry"
91
+ Provides-Extra: weave
92
+ Requires-Dist: nvidia-nat-weave; extra == "weave"
93
+ Provides-Extra: zep-cloud
94
+ Requires-Dist: nvidia-nat-zep-cloud; extra == "zep-cloud"
95
+ Provides-Extra: examples
96
+ Requires-Dist: nat_adk_demo; extra == "examples"
97
+ Requires-Dist: nat_agno_personal_finance; extra == "examples"
98
+ Requires-Dist: nat_haystack_deep_research_agent; extra == "examples"
99
+ Requires-Dist: nat_alert_triage_agent; extra == "examples"
100
+ Requires-Dist: nat_automated_description_generation; extra == "examples"
101
+ Requires-Dist: nat_email_phishing_analyzer; extra == "examples"
102
+ Requires-Dist: nat_multi_frameworks; extra == "examples"
103
+ Requires-Dist: nat_plot_charts; extra == "examples"
104
+ Requires-Dist: nat_por_to_jiratickets; extra == "examples"
105
+ Requires-Dist: nat_profiler_agent; extra == "examples"
106
+ Requires-Dist: nat_redact_pii; extra == "examples"
107
+ Requires-Dist: nat_router_agent; extra == "examples"
108
+ Requires-Dist: nat_semantic_kernel_demo; extra == "examples"
109
+ Requires-Dist: nat_sequential_executor; extra == "examples"
110
+ Requires-Dist: nat_simple_auth; extra == "examples"
111
+ Requires-Dist: nat_simple_auth_mcp; extra == "examples"
112
+ Requires-Dist: nat_simple_web_query; extra == "examples"
113
+ Requires-Dist: nat_simple_web_query_eval; extra == "examples"
114
+ Requires-Dist: nat_simple_calculator; extra == "examples"
115
+ Requires-Dist: nat_simple_calculator_custom_routes; extra == "examples"
116
+ Requires-Dist: nat_simple_calculator_eval; extra == "examples"
117
+ Requires-Dist: nat_simple_calculator_mcp; extra == "examples"
118
+ Requires-Dist: nat_simple_calculator_observability; extra == "examples"
119
+ Requires-Dist: nat_simple_calculator_hitl; extra == "examples"
120
+ Requires-Dist: nat_simple_rag; extra == "examples"
121
+ Requires-Dist: nat_swe_bench; extra == "examples"
122
+ Requires-Dist: nat_user_report; extra == "examples"
123
+ Provides-Extra: gunicorn
124
+ Requires-Dist: gunicorn~=23.0; extra == "gunicorn"
125
+ Provides-Extra: async-endpoints
126
+ Requires-Dist: aiosqlite~=0.21; extra == "async-endpoints"
127
+ Requires-Dist: dask==2023.6; extra == "async-endpoints"
128
+ Requires-Dist: distributed==2023.6; extra == "async-endpoints"
129
+ Requires-Dist: sqlalchemy[asyncio]~=2.0; extra == "async-endpoints"
130
+ Provides-Extra: nvidia-haystack
131
+ Requires-Dist: nvidia-haystack~=0.3.0; extra == "nvidia-haystack"
132
+ Provides-Extra: litellm
133
+ Requires-Dist: litellm==1.74.9; extra == "litellm"
134
+ Provides-Extra: openai
135
+ Requires-Dist: openai~=1.106; extra == "openai"
136
+ Dynamic: license-file
137
+
138
+ <!--
139
+ SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
140
+ SPDX-License-Identifier: Apache-2.0
141
+
142
+ Licensed under the Apache License, Version 2.0 (the "License");
143
+ you may not use this file except in compliance with the License.
144
+ You may obtain a copy of the License at
145
+
146
+ http://www.apache.org/licenses/LICENSE-2.0
147
+
148
+ Unless required by applicable law or agreed to in writing, software
149
+ distributed under the License is distributed on an "AS IS" BASIS,
150
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
151
+ See the License for the specific language governing permissions and
152
+ limitations under the License.
153
+ -->
154
+
155
+ ![NVIDIA NeMo Agent Toolkit](https://media.githubusercontent.com/media/NVIDIA/NeMo-Agent-Toolkit/refs/heads/main/docs/source/_static/banner.png "NeMo Agent toolkit banner image")
156
+
157
+ # NVIDIA NeMo Agent Toolkit
158
+
159
+ NeMo Agent toolkit is a flexible library designed to seamlessly integrate your enterprise agents—regardless of framework—with various data sources and tools. By treating agents, tools, and agentic workflows as simple function calls, NeMo Agent toolkit enables true composability: build once and reuse anywhere.
160
+
161
+ ## Key Features
162
+
163
+ - [**Framework Agnostic:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/extend/plugins.html) Works with any agentic framework, so you can use your current technology stack without replatforming.
164
+ - [**Reusability:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/extend/sharing-components.html) Every agent, tool, or workflow can be combined and repurposed, allowing developers to leverage existing work in new scenarios.
165
+ - [**Rapid Development:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/tutorials/index.html) Start with a pre-built agent, tool, or workflow, and customize it to your needs.
166
+ - [**Profiling:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/workflows/profiler.html) Profile entire workflows down to the tool and agent level, track input/output tokens and timings, and identify bottlenecks.
167
+ - [**Observability:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/workflows/observe/observe-workflow-with-phoenix.html) Monitor and debug your workflows with any OpenTelemetry-compatible observability tool, with examples using [Phoenix](https://docs.nvidia.com/nemo/agent-toolkit/1.3/workflows/observe/observe-workflow-with-phoenix.html) and [W&B Weave](https://docs.nvidia.com/nemo/agent-toolkit/1.3/workflows/observe/observe-workflow-with-weave.html).
168
+ - [**Evaluation System:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/workflows/evaluate.html) Validate and maintain accuracy of agentic workflows with built-in evaluation tools.
169
+ - [**User Interface:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/quick-start/launching-ui.html) Use the NeMo Agent toolkit UI chat interface to interact with your agents, visualize output, and debug workflows.
170
+ - [**MCP Compatibility**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/workflows/mcp/mcp-client.html) Compatible with Model Context Protocol (MCP), allowing tools served by MCP Servers to be used as NeMo Agent toolkit functions.
171
+
172
+ With NeMo Agent toolkit, you can move quickly, experiment freely, and ensure reliability across all your agent-driven projects.
173
+
174
+ ## Links
175
+ * [Documentation](https://docs.nvidia.com/nemo/agent-toolkit/1.3/index.html): Explore the full documentation for NeMo Agent toolkit.
176
+
177
+ ## First time user?
178
+ If this is your first time using NeMo Agent toolkit, it is recommended to install the latest version from the [source repository](https://github.com/NVIDIA/NeMo-Agent-Toolkit?tab=readme-ov-file#quick-start) on GitHub. This package is intended for users who are familiar with NeMo Agent toolkit applications and need to add NeMo Agent toolkit as a dependency to their project.
179
+
180
+ ## Feedback
181
+
182
+ We would love to hear from you! Please file an issue on [GitHub](https://github.com/NVIDIA/NeMo-Agent-Toolkit/issues) if you have any feedback or feature requests.
183
+
184
+ ## Acknowledgements
185
+
186
+ We would like to thank the following open source projects that made NeMo Agent toolkit possible:
187
+
188
+ - [CrewAI](https://github.com/crewAIInc/crewAI)
189
+ - [FastAPI](https://github.com/tiangolo/fastapi)
190
+ - [LangChain](https://github.com/langchain-ai/langchain)
191
+ - [Llama-Index](https://github.com/run-llama/llama_index)
192
+ - [Mem0ai](https://github.com/mem0ai/mem0)
193
+ - [Ragas](https://github.com/explodinggradients/ragas)
194
+ - [Semantic Kernel](https://github.com/microsoft/semantic-kernel)
195
+ - [uv](https://github.com/astral-sh/uv)
@@ -41,7 +41,7 @@ nat/authentication/oauth2/oauth2_resource_server_config.py,sha256=ltcNp8Dwb2Q4tl
41
41
  nat/authentication/oauth2/register.py,sha256=7rXhf-ilgSS_bUJsd9pOOCotL1FM8dKUt3ke1TllKkQ,1228
42
42
  nat/builder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
43
  nat/builder/builder.py,sha256=okI3Y101hwF63AwazzxiahQx-W9eFZ_SNdFXzDuoftU,11608
44
- nat/builder/component_utils.py,sha256=-5vEWLwj9ch-1B9vbkBjCIkXB9SL8Tj9yl6zFwhV6wU,13832
44
+ nat/builder/component_utils.py,sha256=gxDhm4NCLI1GU0XL9gFe_gife0oJLwgk_YuABJneFfs,13838
45
45
  nat/builder/context.py,sha256=6NQmHfJS0gY4eLU7Xg84olmrgUdtVJcS3gmxc-OADiw,13093
46
46
  nat/builder/embedder.py,sha256=NPkOEcxt_-wc53QRijCQQDLretRUYHRYaKoYmarmrBk,965
47
47
  nat/builder/eval_builder.py,sha256=I-ScvupmorClYoVBIs_PhSsB7Xf9e2nGWe0rCZp3txo,6857
@@ -56,9 +56,9 @@ nat/builder/llm.py,sha256=DW-2q64A06VChsXNEL5PfBjH3DcsnTKVoCEWDuP7MF4,951
56
56
  nat/builder/retriever.py,sha256=ZyEqc7pFK31t_yr6Jaxa34c-tRas2edKqJZCNiVh9-0,970
57
57
  nat/builder/user_interaction_manager.py,sha256=-Z2qbQes7a2cuXgT7KEbWeuok0HcCnRdw9WB8Ghyl9k,3081
58
58
  nat/builder/workflow.py,sha256=bHrxK-VFsxUTw2wZgkWcCttpCMDeWNGPfmIGEW_bjZo,6908
59
- nat/builder/workflow_builder.py,sha256=Fdf2eIYrRg1ovLkySzzgh5C2PNLV7QzQIN7pLHSr6zI,56339
59
+ nat/builder/workflow_builder.py,sha256=GgNkeBmG_q3YGnGliuzpYhkC869q_PdaP4RoqXH6HdI,58709
60
60
  nat/cli/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
61
- nat/cli/entrypoint.py,sha256=7NHq3Grb_qzpJzzbb0YtTsWd4YhA6y9ljHwsOQPQAIs,4928
61
+ nat/cli/entrypoint.py,sha256=vN9G8fe-7ITmsVciJU11Fk7JaSxFnN5A4FrD7WjYbxg,5105
62
62
  nat/cli/main.py,sha256=LZMKvoHYR926mghMjVpfLiI2qraqtrhMY9hvuAQCRWk,2258
63
63
  nat/cli/register_workflow.py,sha256=DOQQgUWB_NO9k7nlkP4cAx_RX03Cndk032K-kqyuvEs,23285
64
64
  nat/cli/type_registry.py,sha256=HbPU-7lzSHZ4aepJ3qOgfnl5LzK6-KHwcerhFpWw6mU,48839
@@ -117,7 +117,7 @@ nat/data_models/authentication.py,sha256=XPu9W8nh4XRSuxPv3HxO-FMQ_JtTEoK6Y02Jwnz
117
117
  nat/data_models/common.py,sha256=nXXfGrjpxebzBUa55mLdmzePLt7VFHvTAc6Znj3yEv0,5875
118
118
  nat/data_models/component.py,sha256=b_hXOA8Gm5UNvlFkAhsR6kEvf33ST50MKtr5kWf75Ao,1894
119
119
  nat/data_models/component_ref.py,sha256=KFDWFVCcvJCfBBcXTh9f3R802EVHBtHXh9OdbRqFmdM,4747
120
- nat/data_models/config.py,sha256=pWy-rHI7lfn1-_Vtl6HAmVZs2rC7GZF54ZojoEp0ZbQ,18817
120
+ nat/data_models/config.py,sha256=P0JJmjqvUHUkpZ3Yc0IrMPoA2qP8HkmOjl7CwNq-nQQ,18833
121
121
  nat/data_models/dataset_handler.py,sha256=bFPahRkmPtSmA4DVSUwKg-NJRHP7TGQDSRJiSv5UhZY,5518
122
122
  nat/data_models/discovery_metadata.py,sha256=_l97iQsqp_ihba8CbMBQ73mH1sipTQ19GiJDdzQYQGY,13432
123
123
  nat/data_models/embedder.py,sha256=nPhthEQDtzAMGd8gFRB1ZfJpN5M9DJvv0h28ohHnTmI,1002
@@ -234,7 +234,7 @@ nat/front_ends/register.py,sha256=_C6AFpsQ8hUXavKHaBMy0g137fOcLfEjyU0EAuYqtao,85
234
234
  nat/front_ends/console/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
235
235
  nat/front_ends/console/authentication_flow_handler.py,sha256=iv8sm7i1mtVT60lfXwwqDrlQfNZ1bl1bPfWkaH5oaLA,12147
236
236
  nat/front_ends/console/console_front_end_config.py,sha256=wkMXk-RCdlEj3303kB1gh47UKJnubX2R-vzBzhedpS4,1318
237
- nat/front_ends/console/console_front_end_plugin.py,sha256=vsaBwCvgsyDNEM2YdH5bKivXWa4uPTfMv9cQaoEh7uI,4310
237
+ nat/front_ends/console/console_front_end_plugin.py,sha256=rlh8rL8iJCczVJngBFMckNFB7ERqJGtX1QJr-iNKGyA,4670
238
238
  nat/front_ends/console/register.py,sha256=2Kf6Mthx6jzWzU8YdhYIR1iABmZDvs1UXM_20npXWXs,1153
239
239
  nat/front_ends/cron/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
240
240
  nat/front_ends/fastapi/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
@@ -253,7 +253,7 @@ nat/front_ends/fastapi/response_helpers.py,sha256=MGE9E73sQSCYjsR5YXRga2qbl44hrT
253
253
  nat/front_ends/fastapi/step_adaptor.py,sha256=J6UtoXL9De8bgAg93nE0ASLUHZbidWOfRiuFo-tyZgY,12412
254
254
  nat/front_ends/fastapi/utils.py,sha256=oYuuLsugx-fpy6u4xd9gL7g9kfwsyKOnwH5YOwH633w,1998
255
255
  nat/front_ends/fastapi/auth_flow_handlers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
256
- nat/front_ends/fastapi/auth_flow_handlers/http_flow_handler.py,sha256=69ye-nJ81jAoD1cVYv86-AUYu2-Uk8ZqU_m8AVO9vT8,1280
256
+ nat/front_ends/fastapi/auth_flow_handlers/http_flow_handler.py,sha256=69umUT4LALoM62GUdmk3MlpnfKz50ui7eCbf1Tz3694,1280
257
257
  nat/front_ends/fastapi/auth_flow_handlers/websocket_flow_handler.py,sha256=qU8Kba48PD7TitygQNsZfx2rrluKlpRm7Zx_C6DtOnc,6576
258
258
  nat/front_ends/fastapi/html_snippets/__init__.py,sha256=GUJrgGtpvyMUCjUBvR3faAdv-tZzbU9W-izgx9aMEQg,680
259
259
  nat/front_ends/fastapi/html_snippets/auth_code_grant_success.py,sha256=BNpWwzmA58UM0GK4kZXG4PHJy_5K9ihaVHu8SgCs5JA,1131
@@ -288,7 +288,7 @@ nat/object_store/models.py,sha256=xsch4o3GzEFxVbFEYBfr92lEMZk5XHHr224WZGsQUNM,15
288
288
  nat/object_store/register.py,sha256=jNuZfyG2rSuxS-DNK_aFdgfjiHK3VC1_4A5lmpmRP_A,756
289
289
  nat/observability/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
290
290
  nat/observability/exporter_manager.py,sha256=sJqYEF68-83WPkhp7Sj6ULWV0FoWM8cXEZ4ZilaXFhs,13836
291
- nat/observability/register.py,sha256=Hpk5aYYXCKdvkTqE245QgtmhCKrGh75uZZoefcxa38Y,4225
291
+ nat/observability/register.py,sha256=4DunSq-9mti3wQ6vJ2cWqQi6Uq3z-4uqBZG290vZ58A,4723
292
292
  nat/observability/exporter/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
293
293
  nat/observability/exporter/base_exporter.py,sha256=OGSv-_688TmzdGUeax4iMBwvaHICPSyWmklsDQanbtM,16604
294
294
  nat/observability/exporter/exporter.py,sha256=fqF0GYuhZRQEq0skq_FK2nlnsaUAzLpQi-OciaOkRno,2391
@@ -407,7 +407,7 @@ nat/retriever/nemo_retriever/retriever.py,sha256=gi3_qJFqE-iqRh3of_cmJg-SwzaQ3z2
407
407
  nat/runtime/__init__.py,sha256=Xs1JQ16L9btwreh4pdGKwskffAw1YFO48jKrU4ib_7c,685
408
408
  nat/runtime/loader.py,sha256=obUdAgZVYCPGC0R8u3wcoKFJzzSPQgJvrbU4OWygtog,7953
409
409
  nat/runtime/runner.py,sha256=sUF-zJMgqcFq4xRx8y5bxct2EzgiKbmFkvWkYxlDsQg,11798
410
- nat/runtime/session.py,sha256=yOlZg3myau4c06M8v23KEojQpmMwDsr5P6GnXiVMg94,9101
410
+ nat/runtime/session.py,sha256=E8RTbnAhPbY5KCoSfiHzOJksmBh7xWjsoX0BC7Rn1ck,9101
411
411
  nat/runtime/user_metadata.py,sha256=ce37NRYJWnMOWk6A7VAQ1GQztjMmkhMOq-uYf2gNCwo,3692
412
412
  nat/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
413
413
  nat/settings/global_settings.py,sha256=dEw9nkyx7pEEufmLS1o3mWhcXy7-ZpES4BZx1OWfg5M,12467
@@ -434,9 +434,9 @@ nat/tool/code_execution/local_sandbox/local_sandbox_server.py,sha256=eOFQV8ZE9-n
434
434
  nat/tool/code_execution/local_sandbox/sandbox.requirements.txt,sha256=R86yJ6mcUhfD9_ZU-rSMdaojR6MU41hcH4pE3vAGmcE,43
435
435
  nat/tool/code_execution/local_sandbox/start_local_sandbox.sh,sha256=gnPuzbneKZ61YvzaGIYSUdcyKMLuchYPti3zGLaNCZY,2055
436
436
  nat/tool/memory_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
437
- nat/tool/memory_tools/add_memory_tool.py,sha256=DYaYkVlH2myRshJpzmULfzdF0wFoPCAkTBokFVmhfzU,3349
438
- nat/tool/memory_tools/delete_memory_tool.py,sha256=EWJVgzIzLDqktY5domXph-N2U9FmybdWl4J7KM7uK4g,2532
439
- nat/tool/memory_tools/get_memory_tool.py,sha256=F0P7OkWQJZ1W6vCBWhAuYitBLnRXpAxnGyNmbkcTpAk,2749
437
+ nat/tool/memory_tools/add_memory_tool.py,sha256=N400PPvI37NUCMh5KcuoAL8khK8ecUQyfenahfjzbHQ,3368
438
+ nat/tool/memory_tools/delete_memory_tool.py,sha256=zMllkpC0of9qFPNuG9vkVOoydRblOViCQf0uSbqz0sE,2461
439
+ nat/tool/memory_tools/get_memory_tool.py,sha256=fcW6QE7bMZrpNK62et3sTw_QZ8cV9lXfEuDsm1-05bE,2768
440
440
  nat/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
441
441
  nat/utils/callable_utils.py,sha256=EIao6NhHRFEoBqYRC7aWoFqhlr2LeFT0XK-ac0coF9E,2475
442
442
  nat/utils/debugging_utils.py,sha256=6M4JhbHDNDnfmSRGmHvT5IgEeWSHBore3VngdE_PMqc,1332
@@ -470,10 +470,10 @@ nat/utils/reactive/base/observer_base.py,sha256=6BiQfx26EMumotJ3KoVcdmFBYR_fnAss
470
470
  nat/utils/reactive/base/subject_base.py,sha256=UQOxlkZTIeeyYmG5qLtDpNf_63Y7p-doEeUA08_R8ME,2521
471
471
  nat/utils/settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
472
472
  nat/utils/settings/global_settings.py,sha256=9JaO6pxKT_Pjw6rxJRsRlFCXdVKCl_xUKU2QHZQWWNM,7294
473
- nvidia_nat-1.4.0a20251008.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
474
- nvidia_nat-1.4.0a20251008.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
475
- nvidia_nat-1.4.0a20251008.dist-info/METADATA,sha256=rMyOzBSSp9zJsVVBrJCSIlsUhvnc0tiKDNX4d1H0i2o,22827
476
- nvidia_nat-1.4.0a20251008.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
477
- nvidia_nat-1.4.0a20251008.dist-info/entry_points.txt,sha256=4jCqjyETMpyoWbCBf4GalZU8I_wbstpzwQNezdAVbbo,698
478
- nvidia_nat-1.4.0a20251008.dist-info/top_level.txt,sha256=lgJWLkigiVZuZ_O1nxVnD_ziYBwgpE2OStdaCduMEGc,8
479
- nvidia_nat-1.4.0a20251008.dist-info/RECORD,,
473
+ nvidia_nat-1.4.0a20251010.dist-info/licenses/LICENSE-3rd-party.txt,sha256=fOk5jMmCX9YoKWyYzTtfgl-SUy477audFC5hNY4oP7Q,284609
474
+ nvidia_nat-1.4.0a20251010.dist-info/licenses/LICENSE.md,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
475
+ nvidia_nat-1.4.0a20251010.dist-info/METADATA,sha256=00VTeVFR2xV-WeSbD9_vuaSgV-cmgEgGTxnDpualLPM,10239
476
+ nvidia_nat-1.4.0a20251010.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
477
+ nvidia_nat-1.4.0a20251010.dist-info/entry_points.txt,sha256=4jCqjyETMpyoWbCBf4GalZU8I_wbstpzwQNezdAVbbo,698
478
+ nvidia_nat-1.4.0a20251010.dist-info/top_level.txt,sha256=lgJWLkigiVZuZ_O1nxVnD_ziYBwgpE2OStdaCduMEGc,8
479
+ nvidia_nat-1.4.0a20251010.dist-info/RECORD,,
@@ -1,389 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: nvidia-nat
3
- Version: 1.4.0a20251008
4
- Summary: NVIDIA NeMo Agent toolkit
5
- Author: NVIDIA Corporation
6
- Maintainer: NVIDIA Corporation
7
- License: Apache License
8
- Version 2.0, January 2004
9
- http://www.apache.org/licenses/
10
-
11
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
12
-
13
- 1. Definitions.
14
-
15
- "License" shall mean the terms and conditions for use, reproduction,
16
- and distribution as defined by Sections 1 through 9 of this document.
17
-
18
- "Licensor" shall mean the copyright owner or entity authorized by
19
- the copyright owner that is granting the License.
20
-
21
- "Legal Entity" shall mean the union of the acting entity and all
22
- other entities that control, are controlled by, or are under common
23
- control with that entity. For the purposes of this definition,
24
- "control" means (i) the power, direct or indirect, to cause the
25
- direction or management of such entity, whether by contract or
26
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
27
- outstanding shares, or (iii) beneficial ownership of such entity.
28
-
29
- "You" (or "Your") shall mean an individual or Legal Entity
30
- exercising permissions granted by this License.
31
-
32
- "Source" form shall mean the preferred form for making modifications,
33
- including but not limited to software source code, documentation
34
- source, and configuration files.
35
-
36
- "Object" form shall mean any form resulting from mechanical
37
- transformation or translation of a Source form, including but
38
- not limited to compiled object code, generated documentation,
39
- and conversions to other media types.
40
-
41
- "Work" shall mean the work of authorship, whether in Source or
42
- Object form, made available under the License, as indicated by a
43
- copyright notice that is included in or attached to the work
44
- (an example is provided in the Appendix below).
45
-
46
- "Derivative Works" shall mean any work, whether in Source or Object
47
- form, that is based on (or derived from) the Work and for which the
48
- editorial revisions, annotations, elaborations, or other modifications
49
- represent, as a whole, an original work of authorship. For the purposes
50
- of this License, Derivative Works shall not include works that remain
51
- separable from, or merely link (or bind by name) to the interfaces of,
52
- the Work and Derivative Works thereof.
53
-
54
- "Contribution" shall mean any work of authorship, including
55
- the original version of the Work and any modifications or additions
56
- to that Work or Derivative Works thereof, that is intentionally
57
- submitted to Licensor for inclusion in the Work by the copyright owner
58
- or by an individual or Legal Entity authorized to submit on behalf of
59
- the copyright owner. For the purposes of this definition, "submitted"
60
- means any form of electronic, verbal, or written communication sent
61
- to the Licensor or its representatives, including but not limited to
62
- communication on electronic mailing lists, source code control systems,
63
- and issue tracking systems that are managed by, or on behalf of, the
64
- Licensor for the purpose of discussing and improving the Work, but
65
- excluding communication that is conspicuously marked or otherwise
66
- designated in writing by the copyright owner as "Not a Contribution."
67
-
68
- "Contributor" shall mean Licensor and any individual or Legal Entity
69
- on behalf of whom a Contribution has been received by Licensor and
70
- subsequently incorporated within the Work.
71
-
72
- 2. Grant of Copyright License. Subject to the terms and conditions of
73
- this License, each Contributor hereby grants to You a perpetual,
74
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
75
- copyright license to reproduce, prepare Derivative Works of,
76
- publicly display, publicly perform, sublicense, and distribute the
77
- Work and such Derivative Works in Source or Object form.
78
-
79
- 3. Grant of Patent License. Subject to the terms and conditions of
80
- this License, each Contributor hereby grants to You a perpetual,
81
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
82
- (except as stated in this section) patent license to make, have made,
83
- use, offer to sell, sell, import, and otherwise transfer the Work,
84
- where such license applies only to those patent claims licensable
85
- by such Contributor that are necessarily infringed by their
86
- Contribution(s) alone or by combination of their Contribution(s)
87
- with the Work to which such Contribution(s) was submitted. If You
88
- institute patent litigation against any entity (including a
89
- cross-claim or counterclaim in a lawsuit) alleging that the Work
90
- or a Contribution incorporated within the Work constitutes direct
91
- or contributory patent infringement, then any patent licenses
92
- granted to You under this License for that Work shall terminate
93
- as of the date such litigation is filed.
94
-
95
- 4. Redistribution. You may reproduce and distribute copies of the
96
- Work or Derivative Works thereof in any medium, with or without
97
- modifications, and in Source or Object form, provided that You
98
- meet the following conditions:
99
-
100
- (a) You must give any other recipients of the Work or
101
- Derivative Works a copy of this License; and
102
-
103
- (b) You must cause any modified files to carry prominent notices
104
- stating that You changed the files; and
105
-
106
- (c) You must retain, in the Source form of any Derivative Works
107
- that You distribute, all copyright, patent, trademark, and
108
- attribution notices from the Source form of the Work,
109
- excluding those notices that do not pertain to any part of
110
- the Derivative Works; and
111
-
112
- (d) If the Work includes a "NOTICE" text file as part of its
113
- distribution, then any Derivative Works that You distribute must
114
- include a readable copy of the attribution notices contained
115
- within such NOTICE file, excluding those notices that do not
116
- pertain to any part of the Derivative Works, in at least one
117
- of the following places: within a NOTICE text file distributed
118
- as part of the Derivative Works; within the Source form or
119
- documentation, if provided along with the Derivative Works; or,
120
- within a display generated by the Derivative Works, if and
121
- wherever such third-party notices normally appear. The contents
122
- of the NOTICE file are for informational purposes only and
123
- do not modify the License. You may add Your own attribution
124
- notices within Derivative Works that You distribute, alongside
125
- or as an addendum to the NOTICE text from the Work, provided
126
- that such additional attribution notices cannot be construed
127
- as modifying the License.
128
-
129
- You may add Your own copyright statement to Your modifications and
130
- may provide additional or different license terms and conditions
131
- for use, reproduction, or distribution of Your modifications, or
132
- for any such Derivative Works as a whole, provided Your use,
133
- reproduction, and distribution of the Work otherwise complies with
134
- the conditions stated in this License.
135
-
136
- 5. Submission of Contributions. Unless You explicitly state otherwise,
137
- any Contribution intentionally submitted for inclusion in the Work
138
- by You to the Licensor shall be under the terms and conditions of
139
- this License, without any additional terms or conditions.
140
- Notwithstanding the above, nothing herein shall supersede or modify
141
- the terms of any separate license agreement you may have executed
142
- with Licensor regarding such Contributions.
143
-
144
- 6. Trademarks. This License does not grant permission to use the trade
145
- names, trademarks, service marks, or product names of the Licensor,
146
- except as required for reasonable and customary use in describing the
147
- origin of the Work and reproducing the content of the NOTICE file.
148
-
149
- 7. Disclaimer of Warranty. Unless required by applicable law or
150
- agreed to in writing, Licensor provides the Work (and each
151
- Contributor provides its Contributions) on an "AS IS" BASIS,
152
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
153
- implied, including, without limitation, any warranties or conditions
154
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
155
- PARTICULAR PURPOSE. You are solely responsible for determining the
156
- appropriateness of using or redistributing the Work and assume any
157
- risks associated with Your exercise of permissions under this License.
158
-
159
- 8. Limitation of Liability. In no event and under no legal theory,
160
- whether in tort (including negligence), contract, or otherwise,
161
- unless required by applicable law (such as deliberate and grossly
162
- negligent acts) or agreed to in writing, shall any Contributor be
163
- liable to You for damages, including any direct, indirect, special,
164
- incidental, or consequential damages of any character arising as a
165
- result of this License or out of the use or inability to use the
166
- Work (including but not limited to damages for loss of goodwill,
167
- work stoppage, computer failure or malfunction, or any and all
168
- other commercial damages or losses), even if such Contributor
169
- has been advised of the possibility of such damages.
170
-
171
- 9. Accepting Warranty or Additional Liability. While redistributing
172
- the Work or Derivative Works thereof, You may choose to offer,
173
- and charge a fee for, acceptance of support, warranty, indemnity,
174
- or other liability obligations and/or rights consistent with this
175
- License. However, in accepting such obligations, You may act only
176
- on Your own behalf and on Your sole responsibility, not on behalf
177
- of any other Contributor, and only if You agree to indemnify,
178
- defend, and hold each Contributor harmless for any liability
179
- incurred by, or claims asserted against, such Contributor by reason
180
- of your accepting any such warranty or additional liability.
181
-
182
- END OF TERMS AND CONDITIONS
183
-
184
- APPENDIX: How to apply the Apache License to your work.
185
-
186
- To apply the Apache License to your work, attach the following
187
- boilerplate notice, with the fields enclosed by brackets "[]"
188
- replaced with your own identifying information. (Don't include
189
- the brackets!) The text should be enclosed in the appropriate
190
- comment syntax for the file format. We also recommend that a
191
- file or class name and description of purpose be included on the
192
- same "printed page" as the copyright notice for easier
193
- identification within third-party archives.
194
-
195
- Copyright [yyyy] [name of copyright owner]
196
-
197
- Licensed under the Apache License, Version 2.0 (the "License");
198
- you may not use this file except in compliance with the License.
199
- You may obtain a copy of the License at
200
-
201
- http://www.apache.org/licenses/LICENSE-2.0
202
-
203
- Unless required by applicable law or agreed to in writing, software
204
- distributed under the License is distributed on an "AS IS" BASIS,
205
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
206
- See the License for the specific language governing permissions and
207
- limitations under the License.
208
- Keywords: ai,rag,agents
209
- Classifier: Programming Language :: Python
210
- Classifier: Programming Language :: Python :: 3.11
211
- Classifier: Programming Language :: Python :: 3.12
212
- Classifier: Programming Language :: Python :: 3.13
213
- Requires-Python: <3.14,>=3.11
214
- Description-Content-Type: text/markdown
215
- License-File: LICENSE-3rd-party.txt
216
- License-File: LICENSE.md
217
- Requires-Dist: aioboto3>=11.0.0
218
- Requires-Dist: authlib~=1.5
219
- Requires-Dist: click~=8.1
220
- Requires-Dist: colorama~=0.4.6
221
- Requires-Dist: datasets~=4.0
222
- Requires-Dist: expandvars~=1.0
223
- Requires-Dist: fastapi~=0.115.5
224
- Requires-Dist: httpx~=0.27
225
- Requires-Dist: jinja2~=3.1
226
- Requires-Dist: jsonpath-ng~=1.7
227
- Requires-Dist: mcp~=1.13
228
- Requires-Dist: nest-asyncio~=1.6
229
- Requires-Dist: networkx~=3.4
230
- Requires-Dist: numpy~=1.26; python_version < "3.12"
231
- Requires-Dist: numpy~=2.3; python_version >= "3.12"
232
- Requires-Dist: openinference-semantic-conventions~=0.1.14
233
- Requires-Dist: openpyxl~=3.1
234
- Requires-Dist: optuna~=4.4.0
235
- Requires-Dist: pip>=24.3.1
236
- Requires-Dist: pkce==1.0.3
237
- Requires-Dist: pkginfo~=1.12
238
- Requires-Dist: platformdirs~=4.3
239
- Requires-Dist: pydantic~=2.11
240
- Requires-Dist: pymilvus~=2.4
241
- Requires-Dist: PyYAML~=6.0
242
- Requires-Dist: ragas~=0.2.14
243
- Requires-Dist: rich~=13.9
244
- Requires-Dist: tabulate~=0.9
245
- Requires-Dist: uvicorn[standard]~=0.34
246
- Requires-Dist: wikipedia~=1.4
247
- Provides-Extra: all
248
- Requires-Dist: nvidia-nat-all; extra == "all"
249
- Provides-Extra: adk
250
- Requires-Dist: nvidia-nat-adk; extra == "adk"
251
- Provides-Extra: agno
252
- Requires-Dist: nvidia-nat-agno; extra == "agno"
253
- Provides-Extra: crewai
254
- Requires-Dist: nvidia-nat-crewai; extra == "crewai"
255
- Provides-Extra: data-flywheel
256
- Requires-Dist: nvidia-nat-data-flywheel; extra == "data-flywheel"
257
- Provides-Extra: ingestion
258
- Requires-Dist: nvidia-nat-ingestion; extra == "ingestion"
259
- Provides-Extra: langchain
260
- Requires-Dist: nvidia-nat-langchain; extra == "langchain"
261
- Provides-Extra: llama-index
262
- Requires-Dist: nvidia-nat-llama-index; extra == "llama-index"
263
- Provides-Extra: mcp
264
- Requires-Dist: nvidia-nat-mcp; extra == "mcp"
265
- Provides-Extra: mem0ai
266
- Requires-Dist: nvidia-nat-mem0ai; extra == "mem0ai"
267
- Provides-Extra: opentelemetry
268
- Requires-Dist: nvidia-nat-opentelemetry; extra == "opentelemetry"
269
- Provides-Extra: phoenix
270
- Requires-Dist: nvidia-nat-phoenix; extra == "phoenix"
271
- Provides-Extra: profiling
272
- Requires-Dist: nvidia-nat-profiling; extra == "profiling"
273
- Provides-Extra: ragaai
274
- Requires-Dist: nvidia-nat-ragaai; extra == "ragaai"
275
- Provides-Extra: mysql
276
- Requires-Dist: nvidia-nat-mysql; extra == "mysql"
277
- Provides-Extra: redis
278
- Requires-Dist: nvidia-nat-redis; extra == "redis"
279
- Provides-Extra: s3
280
- Requires-Dist: nvidia-nat-s3; extra == "s3"
281
- Provides-Extra: semantic-kernel
282
- Requires-Dist: nvidia-nat-semantic-kernel; extra == "semantic-kernel"
283
- Provides-Extra: telemetry
284
- Requires-Dist: nvidia-nat-opentelemetry; extra == "telemetry"
285
- Requires-Dist: nvidia-nat-phoenix; extra == "telemetry"
286
- Requires-Dist: nvidia-nat-weave; extra == "telemetry"
287
- Requires-Dist: nvidia-nat-ragaai; extra == "telemetry"
288
- Provides-Extra: weave
289
- Requires-Dist: nvidia-nat-weave; extra == "weave"
290
- Provides-Extra: zep-cloud
291
- Requires-Dist: nvidia-nat-zep-cloud; extra == "zep-cloud"
292
- Provides-Extra: examples
293
- Requires-Dist: nat_adk_demo; extra == "examples"
294
- Requires-Dist: nat_agno_personal_finance; extra == "examples"
295
- Requires-Dist: nat_alert_triage_agent; extra == "examples"
296
- Requires-Dist: nat_automated_description_generation; extra == "examples"
297
- Requires-Dist: nat_email_phishing_analyzer; extra == "examples"
298
- Requires-Dist: nat_multi_frameworks; extra == "examples"
299
- Requires-Dist: nat_plot_charts; extra == "examples"
300
- Requires-Dist: nat_por_to_jiratickets; extra == "examples"
301
- Requires-Dist: nat_profiler_agent; extra == "examples"
302
- Requires-Dist: nat_redact_pii; extra == "examples"
303
- Requires-Dist: nat_router_agent; extra == "examples"
304
- Requires-Dist: nat_semantic_kernel_demo; extra == "examples"
305
- Requires-Dist: nat_sequential_executor; extra == "examples"
306
- Requires-Dist: nat_simple_auth; extra == "examples"
307
- Requires-Dist: nat_simple_auth_mcp; extra == "examples"
308
- Requires-Dist: nat_simple_web_query; extra == "examples"
309
- Requires-Dist: nat_simple_web_query_eval; extra == "examples"
310
- Requires-Dist: nat_simple_calculator; extra == "examples"
311
- Requires-Dist: nat_simple_calculator_custom_routes; extra == "examples"
312
- Requires-Dist: nat_simple_calculator_eval; extra == "examples"
313
- Requires-Dist: nat_simple_calculator_mcp; extra == "examples"
314
- Requires-Dist: nat_simple_calculator_observability; extra == "examples"
315
- Requires-Dist: nat_simple_calculator_hitl; extra == "examples"
316
- Requires-Dist: nat_simple_rag; extra == "examples"
317
- Requires-Dist: nat_swe_bench; extra == "examples"
318
- Requires-Dist: nat_user_report; extra == "examples"
319
- Provides-Extra: gunicorn
320
- Requires-Dist: gunicorn~=23.0; extra == "gunicorn"
321
- Provides-Extra: async-endpoints
322
- Requires-Dist: aiosqlite~=0.21; extra == "async-endpoints"
323
- Requires-Dist: dask==2023.6; extra == "async-endpoints"
324
- Requires-Dist: distributed==2023.6; extra == "async-endpoints"
325
- Requires-Dist: sqlalchemy[asyncio]~=2.0; extra == "async-endpoints"
326
- Provides-Extra: litellm
327
- Requires-Dist: litellm==1.74.9; extra == "litellm"
328
- Provides-Extra: openai
329
- Requires-Dist: openai~=1.106; extra == "openai"
330
- Dynamic: license-file
331
-
332
- <!--
333
- SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
334
- SPDX-License-Identifier: Apache-2.0
335
-
336
- Licensed under the Apache License, Version 2.0 (the "License");
337
- you may not use this file except in compliance with the License.
338
- You may obtain a copy of the License at
339
-
340
- http://www.apache.org/licenses/LICENSE-2.0
341
-
342
- Unless required by applicable law or agreed to in writing, software
343
- distributed under the License is distributed on an "AS IS" BASIS,
344
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
345
- See the License for the specific language governing permissions and
346
- limitations under the License.
347
- -->
348
-
349
- ![NVIDIA NeMo Agent Toolkit](https://media.githubusercontent.com/media/NVIDIA/NeMo-Agent-Toolkit/refs/heads/main/docs/source/_static/banner.png "NeMo Agent toolkit banner image")
350
-
351
- # NVIDIA NeMo Agent Toolkit
352
-
353
- NeMo Agent toolkit is a flexible library designed to seamlessly integrate your enterprise agents—regardless of framework—with various data sources and tools. By treating agents, tools, and agentic workflows as simple function calls, NeMo Agent toolkit enables true composability: build once and reuse anywhere.
354
-
355
- ## Key Features
356
-
357
- - [**Framework Agnostic:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/extend/plugins.html) Works with any agentic framework, so you can use your current technology stack without replatforming.
358
- - [**Reusability:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/extend/sharing-components.html) Every agent, tool, or workflow can be combined and repurposed, allowing developers to leverage existing work in new scenarios.
359
- - [**Rapid Development:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/tutorials/index.html) Start with a pre-built agent, tool, or workflow, and customize it to your needs.
360
- - [**Profiling:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/workflows/profiler.html) Profile entire workflows down to the tool and agent level, track input/output tokens and timings, and identify bottlenecks.
361
- - [**Observability:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/workflows/observe/observe-workflow-with-phoenix.html) Monitor and debug your workflows with any OpenTelemetry-compatible observability tool, with examples using [Phoenix](https://docs.nvidia.com/nemo/agent-toolkit/1.3/workflows/observe/observe-workflow-with-phoenix.html) and [W&B Weave](https://docs.nvidia.com/nemo/agent-toolkit/1.3/workflows/observe/observe-workflow-with-weave.html).
362
- - [**Evaluation System:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/workflows/evaluate.html) Validate and maintain accuracy of agentic workflows with built-in evaluation tools.
363
- - [**User Interface:**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/quick-start/launching-ui.html) Use the NeMo Agent toolkit UI chat interface to interact with your agents, visualize output, and debug workflows.
364
- - [**MCP Compatibility**](https://docs.nvidia.com/nemo/agent-toolkit/1.3/workflows/mcp/mcp-client.html) Compatible with Model Context Protocol (MCP), allowing tools served by MCP Servers to be used as NeMo Agent toolkit functions.
365
-
366
- With NeMo Agent toolkit, you can move quickly, experiment freely, and ensure reliability across all your agent-driven projects.
367
-
368
- ## Links
369
- * [Documentation](https://docs.nvidia.com/nemo/agent-toolkit/1.3/index.html): Explore the full documentation for NeMo Agent toolkit.
370
-
371
- ## First time user?
372
- If this is your first time using NeMo Agent toolkit, it is recommended to install the latest version from the [source repository](https://github.com/NVIDIA/NeMo-Agent-Toolkit?tab=readme-ov-file#quick-start) on GitHub. This package is intended for users who are familiar with NeMo Agent toolkit applications and need to add NeMo Agent toolkit as a dependency to their project.
373
-
374
- ## Feedback
375
-
376
- We would love to hear from you! Please file an issue on [GitHub](https://github.com/NVIDIA/NeMo-Agent-Toolkit/issues) if you have any feedback or feature requests.
377
-
378
- ## Acknowledgements
379
-
380
- We would like to thank the following open source projects that made NeMo Agent toolkit possible:
381
-
382
- - [CrewAI](https://github.com/crewAIInc/crewAI)
383
- - [FastAPI](https://github.com/tiangolo/fastapi)
384
- - [LangChain](https://github.com/langchain-ai/langchain)
385
- - [Llama-Index](https://github.com/run-llama/llama_index)
386
- - [Mem0ai](https://github.com/mem0ai/mem0)
387
- - [Ragas](https://github.com/explodinggradients/ragas)
388
- - [Semantic Kernel](https://github.com/microsoft/semantic-kernel)
389
- - [uv](https://github.com/astral-sh/uv)