Skip to content

feat(agents): new agent catalog db models#2506

Merged
jordan-umusu merged 6 commits intomainfrom
feat/llm-providers-v2-models
Apr 27, 2026
Merged

feat(agents): new agent catalog db models#2506
jordan-umusu merged 6 commits intomainfrom
feat/llm-providers-v2-models

Conversation

@jordan-umusu
Copy link
Copy Markdown
Collaborator

@jordan-umusu jordan-umusu commented Apr 8, 2026

Summary by cubic

Adds database models and tenant RLS for an agent model catalog, custom LLM providers, and model access to support LLM Providers v2 and custom provider onboarding. Refreshes the platform catalog (standardizes the gemini slug, prunes deprecated models, bumps versions), links presets to catalog entries, and removes the custom provider discovery status.

  • New Features

    • Tables: agent_catalog (platform or org), agent_custom_provider (base_url, passthrough, encrypted_config, api_key_header), agent_model_access (org/workspace).
    • Presets: optional catalog_id on agent_preset and agent_preset_version (FK to agent_catalog).
    • Catalog: new platform_catalog.json with updated models, capabilities, limits, pricing; standardized gemini; pruned deprecated; version bumps.
    • RLS: split agent_catalog policies (platform rows world-readable; org rows tenant-scoped). Added tenant policies for agent_custom_provider and agent_model_access.
  • Migration

    • Run database migrations.

Written for commit 79607d1. Summary will update on new commits. Review in cubic

@jordan-umusu jordan-umusu marked this pull request as ready for review April 8, 2026 17:34
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 8, 2026 17:34 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu added the agents LLM agents label Apr 8, 2026
@jordan-umusu jordan-umusu had a problem deploying to internal-registry-ci April 8, 2026 17:34 — with GitHub Actions Failure
@jordan-umusu jordan-umusu requested a review from daryllimyt April 8, 2026 17:34
@zeropath-ai
Copy link
Copy Markdown

zeropath-ai Bot commented Apr 8, 2026

No security or compliance issues detected. Reviewed everything up to 593d63e6ff14fd753f3157111062ca62f8805df2.

Security Overview
Detected Code Changes
Change Type Relevant files
Enhancement ► alembic/versions/7d23a45113ee_add_agent_catalog_tables.py
    Add agent catalog tables
    Create agent_custom_provider table
    Create agent_catalog table
    Create agent_model_access table
    Add catalog_id to agent_preset
    Add catalog_id to agent_preset_version
Other ► tracecat/agent/platform_catalog.json
    Add platform_catalog.json file

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 593d63e6ff

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread alembic/versions/7d23a45113ee_add_agent_catalog_tables.py Outdated
Comment thread alembic/versions/7d23a45113ee_add_agent_catalog_tables.py
@jordan-umusu jordan-umusu force-pushed the feat/llm-providers-v2-models branch 2 times, most recently from 94d72f7 to 3ba0767 Compare April 8, 2026 19:51
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 8, 2026 19:51 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu had a problem deploying to internal-registry-ci April 8, 2026 19:52 — with GitHub Actions Failure
@jordan-umusu jordan-umusu force-pushed the feat/llm-providers-v2-models branch from 3ba0767 to c695f37 Compare April 8, 2026 19:52
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 8, 2026 19:52 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu had a problem deploying to internal-registry-ci April 8, 2026 19:53 — with GitHub Actions Failure
@zeropath-ai
Copy link
Copy Markdown

zeropath-ai Bot commented Apr 8, 2026

No security or compliance issues detected. Reviewed everything up to 79607d1.

Security Overview
Detected Code Changes
Change Type Relevant files
Enhancement ► alembic/versions/7d23a45113ee_add_agent_catalog_tables.py
    Add agent catalog tables, agent custom provider, and agent model access tables.
    Add catalog_id to agent_preset and agent_preset_version.
    Enable row-level security for new tables.
► tracecat/agent/platform_catalog.json
    Add new model entries to the platform catalog

@blacksmith-sh

This comment has been minimized.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c695f377e1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread alembic/versions/7d23a45113ee_add_agent_catalog_tables.py Outdated
@jordan-umusu jordan-umusu force-pushed the feat/llm-providers-v2-models branch from c695f37 to a41d4bc Compare April 8, 2026 20:05
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 8, 2026 20:05 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu had a problem deploying to internal-registry-ci April 8, 2026 20:06 — with GitHub Actions Failure
@jordan-umusu jordan-umusu had a problem deploying to internal-registry-ci April 8, 2026 20:10 — with GitHub Actions Failure
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a41d4bc4de

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tracecat/db/tenant_rls.py
Comment thread alembic/versions/7d23a45113ee_add_agent_catalog_tables.py
@jordan-umusu jordan-umusu force-pushed the feat/llm-providers-v2-models branch from a41d4bc to b9318a8 Compare April 8, 2026 21:13
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 8, 2026 21:13 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 8, 2026 21:14 — with GitHub Actions Inactive
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b9318a84df

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tracecat/db/models.py
@jordan-umusu jordan-umusu force-pushed the feat/llm-providers-v2-models branch from b9318a8 to b185e7c Compare April 15, 2026 12:55
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 15, 2026 12:56 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu had a problem deploying to internal-registry-ci April 15, 2026 12:56 — with GitHub Actions Failure
@blacksmith-sh

This comment has been minimized.

@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 22, 2026 14:42 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 22, 2026 14:43 — with GitHub Actions Inactive
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3129109f60

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread alembic/versions/7d23a45113ee_add_agent_catalog_tables.py Outdated
@jordan-umusu jordan-umusu force-pushed the feat/llm-providers-v2-models branch from f1bab8e to 35b621f Compare April 27, 2026 13:50
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 27, 2026 13:50 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu had a problem deploying to internal-registry-ci April 27, 2026 13:50 — with GitHub Actions Failure
@jordan-umusu jordan-umusu force-pushed the feat/llm-providers-v2-models branch from 35b621f to 5ae00df Compare April 27, 2026 13:52
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 27, 2026 13:52 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu had a problem deploying to internal-registry-ci April 27, 2026 13:52 — with GitHub Actions Failure
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5ae00df553

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tracecat/db/tenant_rls.py
@jordan-umusu jordan-umusu force-pushed the feat/llm-providers-v2-models branch from 5ae00df to 3990191 Compare April 27, 2026 14:00
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 27, 2026 14:00 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu had a problem deploying to internal-registry-ci April 27, 2026 14:00 — with GitHub Actions Failure
@jordan-umusu jordan-umusu force-pushed the feat/llm-providers-v2-models branch from 3990191 to 055253b Compare April 27, 2026 14:03
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 27, 2026 14:03 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu had a problem deploying to internal-registry-ci April 27, 2026 14:04 — with GitHub Actions Failure
@jordan-umusu jordan-umusu had a problem deploying to internal-registry-ci April 27, 2026 14:07 — with GitHub Actions Failure
@jordan-umusu jordan-umusu had a problem deploying to internal-registry-ci April 27, 2026 14:14 — with GitHub Actions Failure
@jordan-umusu jordan-umusu force-pushed the feat/llm-providers-v2-models branch from 055253b to 79607d1 Compare April 27, 2026 14:21
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 27, 2026 14:21 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu temporarily deployed to internal-registry-ci April 27, 2026 14:22 — with GitHub Actions Inactive
@jordan-umusu jordan-umusu merged commit 17da1a9 into main Apr 27, 2026
16 checks passed
@jordan-umusu jordan-umusu deleted the feat/llm-providers-v2-models branch April 27, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents LLM agents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants