silicon-cafe-tools 0.1.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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Silicon Café (1VR)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,131 @@
1
+ Metadata-Version: 2.4
2
+ Name: silicon-cafe-tools
3
+ Version: 0.1.0
4
+ Summary: LangChain and CrewAI tools for the 1VR Skill Store (3,175 agent skills), backed by the live Skill Store MCP server.
5
+ Author-email: "Silicon Café (1VR)" <ikingst-ops@muse.ai>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://1vr.com
8
+ Keywords: agents,skills,mcp,langchain,crewai
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3.10
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Operating System :: OS Independent
14
+ Requires-Python: >=3.10
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Provides-Extra: langchain
18
+ Requires-Dist: langchain-core>=0.3; extra == "langchain"
19
+ Provides-Extra: crewai
20
+ Requires-Dist: crewai>=0.80; extra == "crewai"
21
+ Provides-Extra: test
22
+ Requires-Dist: pytest; extra == "test"
23
+ Dynamic: license-file
24
+
25
+ # silicon-cafe-tools
26
+
27
+ `silicon-cafe-tools` gives LangChain and CrewAI agents native tools over the 1VR Skill Store — 3,175 agent skills in the open `SKILL.md` format, searchable by the task you need done. Every skill carries the factual signals its health check recorded: findings with sources, tier, and `checked_at`.
28
+
29
+ Health-check findings are factual records, not a safety guarantee.
30
+
31
+ Version 0.1.0 · MIT · Published by Silicon Café (1VR) · Support: ikingst-ops@muse.ai
32
+
33
+ ## Install
34
+
35
+ ```bash
36
+ pip install "silicon-cafe-tools[langchain]"
37
+ # or
38
+ pip install "silicon-cafe-tools[crewai]"
39
+ ```
40
+
41
+ No account or key is needed to search or check. `TEA_API_KEY` only affects install-fetch recording: if it is set, `skill_store_get_install` records the fetch under your 1VR agent identity; if it is not set, the fetch still works and is simply not attributed.
42
+
43
+ The package itself has no third-party HTTP dependencies (it uses the standard library's `urllib`) and collects or stores nothing. The only network calls it makes go to `1vr.com`: redirects are refused, so a key can never be forwarded to another host, and a transport-level failure is retried once.
44
+
45
+ ## Tools
46
+
47
+ The same three tools are exposed for both frameworks.
48
+
49
+ | Tool | What it does |
50
+ | --- | --- |
51
+ | `skill_store_search` | Search skills by the task you need done. Optional `category` and `lang` filters, plus `limit`. |
52
+ | `skill_store_check` | Return the recorded health-check signals for one skill: `tier`, `checked_at`, and findings grouped by category, each with its source. |
53
+ | `skill_store_get_install` | Return ready-to-run install instructions and a source link for one skill. It installs nothing by itself. |
54
+
55
+ ## LangChain
56
+
57
+ ```python
58
+ from langchain_silicon_cafe import skill_store_tools
59
+
60
+ tools = skill_store_tools()
61
+
62
+ # `tools` is a plain list of LangChain tools — pass it to any LangChain or
63
+ # LangGraph agent, e.g. create_react_agent(llm, tools) or a StateGraph node.
64
+ #
65
+ # Optional: attribute install-fetches to your own 1VR agent identity.
66
+ # export TEA_API_KEY="your-1vr-agent-key"
67
+ ```
68
+
69
+ ## CrewAI
70
+
71
+ ```python
72
+ from crewai import Agent
73
+ from crewai_silicon_cafe import (
74
+ SkillStoreSearchTool,
75
+ SkillStoreCheckTool,
76
+ SkillStoreGetInstallTool,
77
+ )
78
+
79
+ scout = Agent(
80
+ role="Skill scout",
81
+ goal="Find a skill that does the requested task, check its recorded signals, and hand back install instructions.",
82
+ backstory="Looks up agent skills in the 1VR Skill Store and reports what the health check recorded.",
83
+ tools=[
84
+ SkillStoreSearchTool(),
85
+ SkillStoreCheckTool(),
86
+ SkillStoreGetInstallTool(),
87
+ ],
88
+ )
89
+ ```
90
+
91
+ ## Prefer MCP directly?
92
+
93
+ The tools are thin wrappers over the live Skill Store MCP server at `https://1vr.com/mcp/skill-store` (streamable HTTP). You can skip this package and talk to it yourself.
94
+
95
+ LangChain, via `langchain-mcp-adapters`:
96
+
97
+ ```python
98
+ from langchain_mcp_adapters.client import MultiServerMCPClient
99
+
100
+ client = MultiServerMCPClient(
101
+ {
102
+ "silicon-cafe": {
103
+ "url": "https://1vr.com/mcp/skill-store",
104
+ "transport": "streamable_http",
105
+ }
106
+ }
107
+ )
108
+ tools = await client.get_tools()
109
+ ```
110
+
111
+ CrewAI, using the documented remote-server reference form:
112
+
113
+ ```python
114
+ Agent(
115
+ role="Skill scout",
116
+ goal="Find and vet agent skills.",
117
+ backstory="Looks up agent skills in the 1VR Skill Store.",
118
+ mcps=["https://1vr.com/mcp/skill-store"],
119
+ )
120
+ ```
121
+
122
+ ## Notes
123
+
124
+ - Standalone package, not part of `langchain-community`. Install it next to the framework you actually use — the `[langchain]` and `[crewai]` extras pull in the matching adapter module.
125
+ - The store does not host skill files. Installs always come from each skill's own source repository, and results link to that source.
126
+ - The same Skill Store is also reachable as a bridge plugin for Claude Code, Codex, Cursor, and Devin, and via the `silicon-cafe` STDIO MCP package.
127
+ - Findings describe what a health check recorded at `checked_at`. Re-check before relying on them.
128
+
129
+ ## License
130
+
131
+ MIT. Browse the store at https://1vr.com/skills.
@@ -0,0 +1,107 @@
1
+ # silicon-cafe-tools
2
+
3
+ `silicon-cafe-tools` gives LangChain and CrewAI agents native tools over the 1VR Skill Store — 3,175 agent skills in the open `SKILL.md` format, searchable by the task you need done. Every skill carries the factual signals its health check recorded: findings with sources, tier, and `checked_at`.
4
+
5
+ Health-check findings are factual records, not a safety guarantee.
6
+
7
+ Version 0.1.0 · MIT · Published by Silicon Café (1VR) · Support: ikingst-ops@muse.ai
8
+
9
+ ## Install
10
+
11
+ ```bash
12
+ pip install "silicon-cafe-tools[langchain]"
13
+ # or
14
+ pip install "silicon-cafe-tools[crewai]"
15
+ ```
16
+
17
+ No account or key is needed to search or check. `TEA_API_KEY` only affects install-fetch recording: if it is set, `skill_store_get_install` records the fetch under your 1VR agent identity; if it is not set, the fetch still works and is simply not attributed.
18
+
19
+ The package itself has no third-party HTTP dependencies (it uses the standard library's `urllib`) and collects or stores nothing. The only network calls it makes go to `1vr.com`: redirects are refused, so a key can never be forwarded to another host, and a transport-level failure is retried once.
20
+
21
+ ## Tools
22
+
23
+ The same three tools are exposed for both frameworks.
24
+
25
+ | Tool | What it does |
26
+ | --- | --- |
27
+ | `skill_store_search` | Search skills by the task you need done. Optional `category` and `lang` filters, plus `limit`. |
28
+ | `skill_store_check` | Return the recorded health-check signals for one skill: `tier`, `checked_at`, and findings grouped by category, each with its source. |
29
+ | `skill_store_get_install` | Return ready-to-run install instructions and a source link for one skill. It installs nothing by itself. |
30
+
31
+ ## LangChain
32
+
33
+ ```python
34
+ from langchain_silicon_cafe import skill_store_tools
35
+
36
+ tools = skill_store_tools()
37
+
38
+ # `tools` is a plain list of LangChain tools — pass it to any LangChain or
39
+ # LangGraph agent, e.g. create_react_agent(llm, tools) or a StateGraph node.
40
+ #
41
+ # Optional: attribute install-fetches to your own 1VR agent identity.
42
+ # export TEA_API_KEY="your-1vr-agent-key"
43
+ ```
44
+
45
+ ## CrewAI
46
+
47
+ ```python
48
+ from crewai import Agent
49
+ from crewai_silicon_cafe import (
50
+ SkillStoreSearchTool,
51
+ SkillStoreCheckTool,
52
+ SkillStoreGetInstallTool,
53
+ )
54
+
55
+ scout = Agent(
56
+ role="Skill scout",
57
+ goal="Find a skill that does the requested task, check its recorded signals, and hand back install instructions.",
58
+ backstory="Looks up agent skills in the 1VR Skill Store and reports what the health check recorded.",
59
+ tools=[
60
+ SkillStoreSearchTool(),
61
+ SkillStoreCheckTool(),
62
+ SkillStoreGetInstallTool(),
63
+ ],
64
+ )
65
+ ```
66
+
67
+ ## Prefer MCP directly?
68
+
69
+ The tools are thin wrappers over the live Skill Store MCP server at `https://1vr.com/mcp/skill-store` (streamable HTTP). You can skip this package and talk to it yourself.
70
+
71
+ LangChain, via `langchain-mcp-adapters`:
72
+
73
+ ```python
74
+ from langchain_mcp_adapters.client import MultiServerMCPClient
75
+
76
+ client = MultiServerMCPClient(
77
+ {
78
+ "silicon-cafe": {
79
+ "url": "https://1vr.com/mcp/skill-store",
80
+ "transport": "streamable_http",
81
+ }
82
+ }
83
+ )
84
+ tools = await client.get_tools()
85
+ ```
86
+
87
+ CrewAI, using the documented remote-server reference form:
88
+
89
+ ```python
90
+ Agent(
91
+ role="Skill scout",
92
+ goal="Find and vet agent skills.",
93
+ backstory="Looks up agent skills in the 1VR Skill Store.",
94
+ mcps=["https://1vr.com/mcp/skill-store"],
95
+ )
96
+ ```
97
+
98
+ ## Notes
99
+
100
+ - Standalone package, not part of `langchain-community`. Install it next to the framework you actually use — the `[langchain]` and `[crewai]` extras pull in the matching adapter module.
101
+ - The store does not host skill files. Installs always come from each skill's own source repository, and results link to that source.
102
+ - The same Skill Store is also reachable as a bridge plugin for Claude Code, Codex, Cursor, and Devin, and via the `silicon-cafe` STDIO MCP package.
103
+ - Findings describe what a health check recorded at `checked_at`. Re-check before relying on them.
104
+
105
+ ## License
106
+
107
+ MIT. Browse the store at https://1vr.com/skills.
@@ -0,0 +1,13 @@
1
+ """CrewAI tools for the 1VR Skill Store (silicon-cafe-tools)."""
2
+
3
+ from crewai_silicon_cafe.tools import (
4
+ SkillStoreCheckTool,
5
+ SkillStoreGetInstallTool,
6
+ SkillStoreSearchTool,
7
+ )
8
+
9
+ __all__ = [
10
+ "SkillStoreSearchTool",
11
+ "SkillStoreCheckTool",
12
+ "SkillStoreGetInstallTool",
13
+ ]
@@ -0,0 +1,110 @@
1
+ """CrewAI tool wrappers around the 1VR Skill Store client.
2
+
3
+ The tools delegate to :mod:`silicon_cafe_tools.client`, looking functions up
4
+ on the module at call time so they can be monkeypatched in tests.
5
+ """
6
+
7
+ from __future__ import annotations
8
+
9
+ import json
10
+ from typing import Any, Optional, Type
11
+
12
+ from crewai.tools import BaseTool
13
+ from pydantic import BaseModel, Field
14
+
15
+ from silicon_cafe_tools import client
16
+
17
+ __all__ = [
18
+ "SkillStoreSearchInput",
19
+ "SkillStoreSkillIdInput",
20
+ "SkillStoreSearchTool",
21
+ "SkillStoreCheckTool",
22
+ "SkillStoreGetInstallTool",
23
+ ]
24
+
25
+ _HONESTY_NOTE = (
26
+ "Health-check findings are factual records with sources, not a safety guarantee."
27
+ )
28
+
29
+
30
+ def _to_text(result: Any) -> str:
31
+ """Render a client result as a string suitable for an LLM tool response."""
32
+ if isinstance(result, str):
33
+ return result
34
+ return json.dumps(result, ensure_ascii=False)
35
+
36
+
37
+ class SkillStoreSearchInput(BaseModel):
38
+ """Arguments for :class:`SkillStoreSearchTool`."""
39
+
40
+ query: str = Field(..., description="Free-text search query for agent skills.")
41
+ category: Optional[str] = Field(
42
+ default=None, description="Optional category filter."
43
+ )
44
+ lang: Optional[str] = Field(
45
+ default=None, description="Optional language filter (e.g. 'en')."
46
+ )
47
+ limit: int = Field(
48
+ default=8, ge=1, description="Maximum number of results to return."
49
+ )
50
+
51
+
52
+ class SkillStoreSkillIdInput(BaseModel):
53
+ """Arguments for tools that operate on a single skill."""
54
+
55
+ skill_id: int = Field(..., description="Numeric ID of the skill in the 1VR Skill Store.")
56
+
57
+
58
+ class SkillStoreSearchTool(BaseTool):
59
+ """Search the 1VR Skill Store for agent skills."""
60
+
61
+ name: str = "skill_store_search"
62
+ description: str = (
63
+ "Search the 1VR Skill Store (3,175 agent skills) by free-text query, "
64
+ "optionally filtered by category and language, and return matching "
65
+ "skills with their health-check summaries. " + _HONESTY_NOTE
66
+ )
67
+ args_schema: Type[BaseModel] = SkillStoreSearchInput
68
+
69
+ def _run(
70
+ self,
71
+ query: str,
72
+ category: Optional[str] = None,
73
+ lang: Optional[str] = None,
74
+ limit: int = 8,
75
+ ) -> str:
76
+ result = client.search_skills(
77
+ query, category=category, lang=lang, limit=limit
78
+ )
79
+ return _to_text(result)
80
+
81
+
82
+ class SkillStoreCheckTool(BaseTool):
83
+ """Fetch the health-check record for a single skill."""
84
+
85
+ name: str = "skill_store_check"
86
+ description: str = (
87
+ "Retrieve the health-check record for a 1VR Skill Store skill by its "
88
+ "numeric ID, including findings and their sources. " + _HONESTY_NOTE
89
+ )
90
+ args_schema: Type[BaseModel] = SkillStoreSkillIdInput
91
+
92
+ def _run(self, skill_id: int) -> str:
93
+ return _to_text(client.check_skill(skill_id))
94
+
95
+
96
+ class SkillStoreGetInstallTool(BaseTool):
97
+ """Fetch installation instructions for a single skill."""
98
+
99
+ name: str = "skill_store_get_install"
100
+ description: str = (
101
+ "Fetch installation information for a 1VR Skill Store skill by its "
102
+ "numeric ID; this tool installs nothing by itself. The fetch is "
103
+ "recorded under the caller's own 1VR agent identity only when the "
104
+ "TEA_API_KEY environment variable is set. " + _HONESTY_NOTE
105
+ )
106
+ args_schema: Type[BaseModel] = SkillStoreSkillIdInput
107
+
108
+ def _run(self, skill_id: int) -> str:
109
+ # No explicit key: the client reads TEA_API_KEY from the environment.
110
+ return _to_text(client.get_install_info(skill_id))
@@ -0,0 +1,17 @@
1
+ """LangChain tools for the 1VR Skill Store."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from .tools import (
6
+ skill_store_check_tool,
7
+ skill_store_get_install_tool,
8
+ skill_store_search_tool,
9
+ skill_store_tools,
10
+ )
11
+
12
+ __all__ = [
13
+ "skill_store_tools",
14
+ "skill_store_search_tool",
15
+ "skill_store_check_tool",
16
+ "skill_store_get_install_tool",
17
+ ]
@@ -0,0 +1,106 @@
1
+ """LangChain wrappers around the 1VR Skill Store client.
2
+
3
+ Every tool here is a thin, side-effect-free adapter over
4
+ ``silicon_cafe_tools.client``; the raw JSON payload is returned as text so an
5
+ agent can read it directly. Health-check findings are factual records with
6
+ sources, not a safety guarantee.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ import json
12
+ from typing import Any
13
+
14
+ from langchain_core.tools import StructuredTool
15
+
16
+ from silicon_cafe_tools.client import check_skill, get_install_info, search_skills
17
+
18
+ HONESTY_NOTE = (
19
+ "Health-check findings are factual records with sources, not a safety guarantee."
20
+ )
21
+
22
+ __all__ = [
23
+ "skill_store_tools",
24
+ "skill_store_search_tool",
25
+ "skill_store_check_tool",
26
+ "skill_store_get_install_tool",
27
+ ]
28
+
29
+
30
+ def _as_text(result: Any) -> str:
31
+ """Render a client result as text, leaving strings untouched."""
32
+ if isinstance(result, str):
33
+ return result
34
+ return json.dumps(result, ensure_ascii=False)
35
+
36
+
37
+ def skill_store_search(
38
+ query: str,
39
+ category: str | None = None,
40
+ lang: str | None = None,
41
+ limit: int = 8,
42
+ ) -> str:
43
+ """Search the 1VR Skill Store.
44
+
45
+ Args:
46
+ query: Task or keyword to search for.
47
+ category: Optional category filter.
48
+ lang: Optional language filter.
49
+ limit: Maximum number of results, 1-20 (default 8).
50
+ """
51
+ return _as_text(
52
+ search_skills(q=query, category=category, lang=lang, limit=limit)
53
+ )
54
+
55
+
56
+ def skill_store_check(skill_id: int) -> str:
57
+ """Fetch the recorded pre-install audit signals for one skill."""
58
+ return _as_text(check_skill(skill_id=skill_id))
59
+
60
+
61
+ def skill_store_get_install(skill_id: int) -> str:
62
+ """Fetch ready-to-run install text and the source link for one skill."""
63
+ return _as_text(get_install_info(skill_id=skill_id))
64
+
65
+
66
+ skill_store_search_tool = StructuredTool.from_function(
67
+ func=skill_store_search,
68
+ name="skill_store_search",
69
+ description=(
70
+ "Search 3,175 agent skills in the 1VR Skill Store by task or keyword. "
71
+ "Returns matching skills with their install information and a summary of "
72
+ "each skill's recorded health-check (audit) signals. "
73
+ "Optional filters: category, lang; limit is 1-20 (default 8). "
74
+ + HONESTY_NOTE
75
+ ),
76
+ )
77
+
78
+ skill_store_check_tool = StructuredTool.from_function(
79
+ func=skill_store_check,
80
+ name="skill_store_check",
81
+ description=(
82
+ "Return the pre-install audit signals recorded for one Skill Store skill "
83
+ "(a numeric skill_id from search results): tier, checked_at, and findings "
84
+ "grouped by category with their sources. Reports facts only and certifies "
85
+ "nothing. " + HONESTY_NOTE
86
+ ),
87
+ )
88
+
89
+ skill_store_get_install_tool = StructuredTool.from_function(
90
+ func=skill_store_get_install,
91
+ name="skill_store_get_install",
92
+ description=(
93
+ "Return ready-to-run install text and the source link for one Skill Store "
94
+ "skill (a numeric skill_id from search results). Call this after checking a "
95
+ "skill so the agent has exact install commands. " + HONESTY_NOTE
96
+ ),
97
+ )
98
+
99
+
100
+ def skill_store_tools() -> list[StructuredTool]:
101
+ """Return all Skill Store tools, ready to bind to a LangChain agent."""
102
+ return [
103
+ skill_store_search_tool,
104
+ skill_store_check_tool,
105
+ skill_store_get_install_tool,
106
+ ]
@@ -0,0 +1,35 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "silicon-cafe-tools"
7
+ version = "0.1.0"
8
+ description = "LangChain and CrewAI tools for the 1VR Skill Store (3,175 agent skills), backed by the live Skill Store MCP server."
9
+ readme = "README.md"
10
+ license = "MIT"
11
+ authors = [{ name = "Silicon Café (1VR)", email = "ikingst-ops@muse.ai" }]
12
+ requires-python = ">=3.10"
13
+ dependencies = []
14
+ keywords = ["agents", "skills", "mcp", "langchain", "crewai"]
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.10",
18
+ "Programming Language :: Python :: 3.11",
19
+ "Programming Language :: Python :: 3.12",
20
+ "Operating System :: OS Independent",
21
+ ]
22
+
23
+ [project.optional-dependencies]
24
+ langchain = ["langchain-core>=0.3"]
25
+ crewai = ["crewai>=0.80"]
26
+ test = ["pytest"]
27
+
28
+ [project.urls]
29
+ Homepage = "https://1vr.com"
30
+
31
+ [tool.setuptools]
32
+ packages = ["silicon_cafe_tools", "langchain_silicon_cafe", "crewai_silicon_cafe"]
33
+
34
+ [tool.pytest.ini_options]
35
+ testpaths = ["tests"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,20 @@
1
+ """Tools for the 1VR Skill Store, backed by its live remote MCP server.
2
+
3
+ The store indexes 3,175 agent skills and exposes three tools over a stateless
4
+ streamable-HTTP MCP endpoint: search, pre-install audit signals, and install
5
+ instructions. Health-check findings are factual records with sources, not a
6
+ safety guarantee.
7
+ """
8
+
9
+ from __future__ import annotations
10
+
11
+ from .client import check_skill, get_install_info, search_skills
12
+
13
+ __version__ = "0.1.0"
14
+
15
+ __all__ = [
16
+ "__version__",
17
+ "search_skills",
18
+ "check_skill",
19
+ "get_install_info",
20
+ ]