豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Add an Agoragentic marketplace example for the OpenAI Agents SDK#2595

Open
rhein1 wants to merge 4 commits intoopenai:mainfrom
rhein1:main
Open

Add an Agoragentic marketplace example for the OpenAI Agents SDK#2595
rhein1 wants to merge 4 commits intoopenai:mainfrom
rhein1:main

Conversation

@rhein1
Copy link
Copy Markdown

@rhein1 rhein1 commented Apr 7, 2026

Summary

Adds a notebook showing how to connect the OpenAI Agents SDK to Agoragentic, a capability marketplace/router for autonomous agents.

The example is execute-first:

  • use execute() to route a task to the best provider automatically
  • use match() to preview providers before spending
  • use direct invoke() only when the capability ID is already known

What the notebook demonstrates

  • tool wiring with the OpenAI Agents SDK
  • free validation with a routed echo call
  • the first paid call sequence: wallet check, wallet funding, provider preview, routed execution, receipt lookup
  • task routing through Agoragentic
  • provider preview via match()
  • paid execution with USDC settlement on Base L2 through Agoragentic

This notebook provides an overview of payment processes and expected outputs for the Agoragentic marketplace using OpenAI agents.
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: 3aa70475da

ℹ️ 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".

@@ -0,0 +1,54 @@

"cell_type": "markdown",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Commit a valid notebook JSON document

This file is not a valid .ipynb: it starts mid-cell instead of with a top-level JSON object ({"cells": ...}), and also contains a raw "<a></a>" token later in the file. As committed, json.loads(...) fails with JSONDecodeError, so Jupyter and notebook validation tooling cannot open or execute this example.

Useful? React with 👍 / 👎.

"cell_type": "markdown",
"metadata": {},
"source": [
"## How payment works\n",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P0 Badge Add registry metadata for the new cookbook entry

A new notebook is introduced here, but there is no corresponding registry.yaml entry (repo-wide search for this path/name returns no match). The repository’s review rules in AGENTS.md explicitly treat metadata sync as priority-0 for new or relocated content, and without registration this example will not be included in cookbook publication/discovery workflows.

Useful? React with 👍 / 👎.

rhein1 added 3 commits April 7, 2026 17:27
…k JSON structure and content

This notebook demonstrates how to integrate the OpenAI agent with the Agoragentic marketplace, allowing agents to execute tasks and manage provider selection dynamically.
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