Thanks to visit codestin.com
Credit goes to github.com

Skip to content

okf: rename enrichment_agent package to reference_agent#129

Merged
amirhormati merged 1 commit into
GoogleCloudPlatform:mainfrom
amirhormati:rename-enrichment-to-generation-agent
Jun 21, 2026
Merged

okf: rename enrichment_agent package to reference_agent#129
amirhormati merged 1 commit into
GoogleCloudPlatform:mainfrom
amirhormati:rename-enrichment-to-generation-agent

Conversation

@amirhormati

Copy link
Copy Markdown
Collaborator

Summary

  • Renames the OKF proof-of-concept Python package from enrichment_agent to reference_agent to match the framing already used in okf/README.md ("A reference agent that ingests metadata...") and to disambiguate from other agents in adjacent projects.
  • Updates all Python imports, ADK identifiers (okf_bq_reference_agent, reference_agent_bq, reference_agent_web), the CLI script (reference-agent), the PyPI dist name (reference-agent), the User-Agent string (okf-reference-agent/0.1), the prompt filename (reference_instruction.md), and prose in okf/README.md and the three sample READMEs.
  • Leaves SPEC.md unchanged (the format is agent-agnostic) and leaves the ADK web agent identity (okf_web_ingestion_agent, web_ingestion_instruction.md) alone since "web ingestion" describes the phase rather than the agent identity.

Test plan

  • rm -rf .venv && python3.13 -m venv .venv && .venv/bin/pip install -e .[dev] installs cleanly under the new dist name (pip show reference-agent → 0.1.0).
  • .venv/bin/pytest — 33/33 pass.
  • .venv/bin/reference-agent --help exposes enrich + visualize subcommands.
  • .venv/bin/python -m reference_agent visualize --bundle bundles/ga4 --out /tmp/ga4.html renders the existing bundle (no API credentials required).
  • grep -rn "enrichment_agent\|enrichment-agent" okf/ is empty.

Reframes the OKF proof-of-concept agent as the reference agent to
disambiguate it from other agents and to match how it is described in
the README. All Python imports, ADK identifiers, CLI script, PyPI dist
name, User-Agent string, prompt filename, and prose in READMEs are
updated. SPEC.md is unchanged.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@google-cla

google-cla Bot commented Jun 21, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@amirhormati amirhormati merged commit 09f3301 into GoogleCloudPlatform:main Jun 21, 2026
5 of 6 checks passed
passionworkeer pushed a commit to passionworkeer/knowledge-catalog that referenced this pull request Jun 25, 2026
OKF v0.1 §4.1 explicitly states that only `type` is REQUIRED; `title`,
`description`, and `timestamp` are listed as Recommended. The reference
implementation treated all four as REQUIRED, so any spec-minimal bundle
whose concepts only declared `type` would be incorrectly rejected by
OKFDocument.validate().

This hurts programmatic producers in particular — they often have no
human-readable title/description available at generation time.

This PR is a rebase of upstream GoogleCloudPlatform#64 onto the post-GoogleCloudPlatform#129 `enrichment_agent`
→ `reference_agent` rename: change one constant, update the corresponding
test, and add a minimal-frontmatter acceptance test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant