universal-mcp-agents 0.1.23rc9__tar.gz → 0.1.23rc10__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.
Potentially problematic release.
This version of universal-mcp-agents might be problematic. Click here for more details.
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/PKG-INFO +1 -1
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/pyproject.toml +1 -1
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/applications/llm/app.py +9 -9
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/uv.lock +1 -1
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/.github/workflows/evals.yml +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/.github/workflows/lint.yml +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/.github/workflows/release-please.yml +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/.github/workflows/tests.yml +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/.gitignore +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/.pre-commit-config.yaml +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/GEMINI.md +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/PROMPTS.md +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/README.md +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/bump_and_release.sh +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/evals/__init__.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/evals/dataset.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/evals/datasets/exact.jsonl +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/evals/datasets/tasks.jsonl +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/evals/datasets/test.jsonl +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/evals/evaluators.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/evals/prompts.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/evals/run.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/evals/utils.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/tests/test_agents.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/tests/test_sandbox.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/__init__.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/base.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/bigtool/__init__.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/bigtool/__main__.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/bigtool/agent.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/bigtool/context.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/bigtool/graph.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/bigtool/prompts.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/bigtool/state.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/bigtool/tools.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/builder/__main__.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/builder/builder.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/builder/helper.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/builder/prompts.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/builder/state.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/cli.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/codeact0/__init__.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/codeact0/__main__.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/codeact0/agent.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/codeact0/config.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/codeact0/langgraph_agent.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/codeact0/llm_tool.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/codeact0/prompts.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/codeact0/sandbox.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/codeact0/state.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/codeact0/tools.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/codeact0/utils.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/hil.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/llm.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/react.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/sandbox.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/shared/__main__.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/shared/prompts.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/shared/tool_node.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/simple.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/utils.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/applications/filesystem/__init__.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/applications/filesystem/app.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/applications/llm/__init__.py +0 -0
- {universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/applications/ui/app.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: universal-mcp-agents
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.23rc10
|
|
4
4
|
Summary: Add your description here
|
|
5
5
|
Project-URL: Homepage, https://github.com/universal-mcp/applications
|
|
6
6
|
Project-URL: Repository, https://github.com/universal-mcp/applications
|
|
@@ -38,7 +38,7 @@ class LlmApp(BaseApplication):
|
|
|
38
38
|
"""Initialize the LLMApp."""
|
|
39
39
|
super().__init__(name="llm")
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
def generate_text(
|
|
42
42
|
self,
|
|
43
43
|
task: str,
|
|
44
44
|
context: str | list[str] | dict[str, str] = "",
|
|
@@ -92,10 +92,10 @@ class LlmApp(BaseApplication):
|
|
|
92
92
|
full_prompt = f"{prompt}\n\nContext:\n{context_str}\n\n"
|
|
93
93
|
|
|
94
94
|
model = load_chat_model("azure/gpt-5-mini")
|
|
95
|
-
response =
|
|
95
|
+
response = model.with_retry(stop_after_attempt=MAX_RETRIES).invoke(full_prompt, stream=False)
|
|
96
96
|
return str(response.content)
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
def classify_data(
|
|
99
99
|
self,
|
|
100
100
|
classification_task_and_requirements: str,
|
|
101
101
|
context: Any | list[Any] | dict[str, Any],
|
|
@@ -165,10 +165,10 @@ class LlmApp(BaseApplication):
|
|
|
165
165
|
response_format=ClassificationResult, # Auto-selects ProviderStrategy
|
|
166
166
|
)
|
|
167
167
|
|
|
168
|
-
result =
|
|
168
|
+
result = agent.invoke({"messages": [{"role": "user", "content": prompt}]}, stream=False)
|
|
169
169
|
return result["structured_response"].model_dump()
|
|
170
170
|
|
|
171
|
-
|
|
171
|
+
def extract_data(
|
|
172
172
|
self,
|
|
173
173
|
extraction_task: str,
|
|
174
174
|
source: Any | list[Any] | dict[str, Any],
|
|
@@ -231,14 +231,14 @@ class LlmApp(BaseApplication):
|
|
|
231
231
|
|
|
232
232
|
model = load_chat_model("azure/gpt-5-mini", temperature=0)
|
|
233
233
|
|
|
234
|
-
response =
|
|
234
|
+
response = (
|
|
235
235
|
model.with_structured_output(schema=output_schema, method="json_mode")
|
|
236
236
|
.with_retry(stop_after_attempt=MAX_RETRIES)
|
|
237
|
-
.
|
|
237
|
+
.invoke(prompt, stream=False)
|
|
238
238
|
)
|
|
239
239
|
return cast(dict[str, Any], response)
|
|
240
240
|
|
|
241
|
-
|
|
241
|
+
def call_llm(
|
|
242
242
|
self,
|
|
243
243
|
task_instructions: str,
|
|
244
244
|
context: Any | list[Any] | dict[str, Any],
|
|
@@ -289,7 +289,7 @@ class LlmApp(BaseApplication):
|
|
|
289
289
|
tools=[],
|
|
290
290
|
response_format=output_schema,
|
|
291
291
|
)
|
|
292
|
-
result =
|
|
292
|
+
result = agent.invoke({"messages": [{"role": "user", "content": prompt}]}, stream=False)
|
|
293
293
|
return result["structured_response"]
|
|
294
294
|
|
|
295
295
|
def list_tools(self):
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/.github/workflows/evals.yml
RENAMED
|
File without changes
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/.github/workflows/lint.yml
RENAMED
|
File without changes
|
|
File without changes
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/.github/workflows/tests.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/evals/datasets/exact.jsonl
RENAMED
|
File without changes
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/evals/datasets/tasks.jsonl
RENAMED
|
File without changes
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/evals/datasets/test.jsonl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/tests/test_sandbox.py
RENAMED
|
File without changes
|
|
File without changes
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/cli.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/hil.py
RENAMED
|
File without changes
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/llm.py
RENAMED
|
File without changes
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/react.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{universal_mcp_agents-0.1.23rc9 → universal_mcp_agents-0.1.23rc10}/src/universal_mcp/agents/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|