Skip to content

Commit 6041400

Browse files
twcookclaude
andcommitted
chore: Update SDC Agents integration to v4.3.3
- Bump sdc-agents dependency from >=4.2.0 to >=4.3.3 - Update toolset descriptions for 4.3.x improvements (catalog-first discovery, structured unmatched columns, mapping context persistence, sidecar metadata support) - Enhance demo agent to show full pipeline (5 toolsets) instead of minimal 2-toolset example Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e478805 commit 6041400

4 files changed

Lines changed: 28 additions & 15 deletions

File tree

contributing/samples/sdc_agents_demo/agent.py

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
"""Minimal SDC Agents demo -- catalog search + data introspection.
15+
"""SDC Agents demo -- full data governance pipeline.
1616
17-
Composes CatalogToolset and IntrospectToolset into a single LlmAgent
18-
that can discover published SDC4 schemas and introspect datasource
19-
structure.
17+
Composes five SDC Agents toolsets into a single LlmAgent that can
18+
introspect datasources, discover matching catalog components, map
19+
columns to schemas, and assemble validated data models.
2020
2121
Prerequisites:
2222
pip install google-adk-community[sdc-agents]
@@ -31,6 +31,9 @@
3131
from google.adk_community.sdc_agents import (
3232
CatalogToolset,
3333
IntrospectToolset,
34+
MappingToolset,
35+
AssemblyToolset,
36+
ValidationToolset,
3437
SDCAgentsConfig,
3538
)
3639

@@ -53,16 +56,24 @@
5356
name="sdc_demo_agent",
5457
model="gemini-2.0-flash",
5558
description=(
56-
"Discovers SDC4 schemas and introspects datasource structure."
59+
"Full data governance pipeline: introspect, discover, map,"
60+
" and assemble SDC4 data models."
5761
),
5862
instruction=(
59-
"You help data engineers govern their data.\n"
60-
"1. Use catalog tools to search for published SDC4 schemas\n"
61-
"2. Use introspect tools to analyze datasource columns and types\n"
62-
"3. Summarize findings clearly"
63+
"You help data engineers govern their data. Follow this workflow:\n"
64+
"1. Introspect the datasource to discover columns and types\n"
65+
"2. Search the SDC4 catalog for matching published schemas\n"
66+
"3. Discover catalog components that match the datasource structure\n"
67+
"4. Map unmatched columns to schema components by similarity\n"
68+
"5. Propose a cluster hierarchy for the data model\n"
69+
"6. Assemble the final data model via the Assembly API\n"
70+
"7. Validate the generated artifacts"
6371
),
6472
tools=[
65-
CatalogToolset(config=config),
6673
IntrospectToolset(config=config),
74+
CatalogToolset(config=config),
75+
MappingToolset(config=config),
76+
AssemblyToolset(config=config),
77+
ValidationToolset(config=config),
6778
],
6879
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ test = [
4646
"pytest-asyncio>=1.2.0",
4747
]
4848
sdc-agents = [
49-
"sdc-agents>=4.2.0",
49+
"sdc-agents>=4.3.3",
5050
]
5151

5252

src/google/adk_community/sdc_agents/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ agent = LlmAgent(
4949

5050
| Toolset | Description |
5151
|---------|-------------|
52-
| **CatalogToolset** | Discover published SDC4 schemas, download artifacts (XSD, RDF, JSON-LD), check wallet balance |
53-
| **IntrospectToolset** | Analyze datasource structure -- infer column types and constraints from SQL, CSV, JSON, MongoDB |
54-
| **MappingToolset** | Match datasource columns to schema components by type compatibility and name similarity |
55-
| **AssemblyToolset** | Compose data models from catalog components -- reuse existing or mint new, with wallet billing |
52+
| **CatalogToolset** | Discover published SDC4 schemas, download artifacts (XSD, RDF, JSON-LD) |
53+
| **IntrospectToolset** | Analyze datasource structure -- infer column types and constraints from SQL, CSV, JSON, MongoDB with sidecar metadata support |
54+
| **MappingToolset** | Match datasource columns to schema components by type compatibility and name similarity, persist mapping configs with schema and datasource context |
55+
| **AssemblyToolset** | Compose data models from catalog components -- reuse existing or mint new, with catalog-first discovery and structured unmatched column reporting |
5656
| **GeneratorToolset** | Generate validated XML instances, batch processing, and preview |
5757
| **ValidationToolset** | Validate XML instances against schemas, digitally sign via VaaS API |
5858
| **DistributionToolset** | Deliver RDF triples to Fuseki, Neo4j, GraphDB, or REST endpoints |

src/google/adk_community/sdc_agents/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
2121
Install: pip install google-adk-community[sdc-agents]
2222
Docs: https://github.com/SemanticDataCharter/SDC_Agents
23+
24+
Requires sdc-agents >= 4.3.3.
2325
"""
2426

2527
from sdc_agents.common.config import load_config

0 commit comments

Comments
 (0)