Logo Agent Marketplace

Agent Marketplace

Tổ chức
rondoflow
agent-marketplace

Interact with the AgentMarket prediction market protocol on Base Sepolia. Create markets, trade YES/NO positions, provide liquidity, and resolve outcomes — all settled in USDC.

Tổng quan

Nhà phát hànhrondoflow
Kho mãrondoflow
Tên kỹ năngagent-marketplace
Sao
29
Bản fork
2
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được rondoflow công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Agent Marketplace trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/rondoflow/rondoflow/tree/master/packages/catalog/content/skills/agent-marketplace
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rondoflow/rondoflow.git /tmp/rondoflow
mkdir -p .claude/skills
cp -r /tmp/rondoflow/packages/catalog/content/skills/agent-marketplace .claude/skills/agent-marketplace
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Agent Marketplace trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Agent Marketplace ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Agent Marketplace với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

AgentMarket Skill

Interact with the AgentMarket prediction market protocol on Base Sepolia. Create markets, trade YES/NO positions, provide liquidity, and resolve outcomes — all settled in USDC.

Source code & docs: https://github.com/humanjesse/AgentMarket

Deployed Contracts (Base Sepolia)

ContractAddress
MarketFactory0xDd553bb9dfbB3F4aa3eA9509bd58386207c98598
USDC0x036CbD53842c5426634e7929541eC2318f3dCF7e

The MarketFactory is the single entry point. It deploys all child contracts (Market, AMM, Oracle, position tokens) when you create a market. You only need the factory address to get started.

How It Works

  1. Markets ask a YES/NO question. Users deposit USDC to mint paired YES+NO position tokens (1 USDC = 1 YES + 1 NO).
  2. Trading happens through an automated market maker (constant-product FPMM). Buy YES if you think an event will happen, buy NO if it won't. Prices reflect market probability (e.g. YES at 0.70 = 70% chance).
  3. Resolution uses an Optimistic Oracle: anyone proposes an outcome by posting a USDC bond, then there's a dispute window. If unchallenged, the proposal finalizes. If challenged, a designated arbitrator makes the final call.
  4. Payouts: winners split the entire USDC pool proportional to their token holdings. Losers get nothing. If you bet 10 USDC YES and win with half the YES supply, you get half the pool.

Configuration

Required environment variables:

  • AGENT_MARKET_FACTORY_ADDRESS: The deployed MarketFactory contract address (default: 0xDd553bb9dfbB3F4aa3eA9509bd58386207c98598)
  • USDC_ADDRESS: USDC token address on the network (default: 0x036CbD53842c5426634e7929541eC2318f3dCF7e)
  • RPC_URL: RPC endpoint (default: https://sepolia.base.org)
  • WALLET_PRIVATE_KEY: Your wallet private key

Prerequisites

Your wallet needs:

Quick Start

1. market_list()                                       — Browse existing markets
2. market_buy_yes({ marketAddress, amount: 5 })        — Bet 5 USDC on YES
3. market_propose_outcome({ marketAddress, outcome: true })  — Propose YES won (posts bond)
4. (wait for dispute window to close)
5. market_finalize({ marketAddress })                  — Finalize the outcome
6. market_claim({ marketAddress })                     — Collect your winnings

Tools

Reading

market_list

List active prediction markets with prices and oracle status.

  • limit (number, optional): Number of markets to return (default: 10)
  • offset (number, optional): Offset for pagination
market_get

Get full details for a specific market including AMM prices, oracle state, and claim preview.

  • marketAddress (string): The market contract address

Trading

market_create

Create a new YES/NO prediction market. Costs 2 USDC (1 fee + 1 initial liquidity). You receive LP tokens for the initial liquidity.

  • question (string): The question to be resolved (should have a clear YES/NO answer, max 256 characters)
  • arbitrator (string): Address of the fallback arbitrator for disputed outcomes
  • deadlineDays (number, optional): Emergency withdrawal deadline in days (default: 7, max: 365)
market_buy_yes

Buy YES shares (betting the event will happen). Minimum 2 USDC (a 0.1% protocol fee is deducted before the swap, so the post-fee amount must be at least 1 USDC).

  • marketAddress (string): The market to bet on
  • amount (number): Amount of USDC to spend
market_buy_no

Buy NO shares (betting the event will not happen). Minimum 2 USDC (a 0.1% protocol fee is deducted before the swap, so the post-fee amount must be at least 1 USDC).

  • marketAddress (string): The market to bet on
  • amount (number): Amount of USDC to spend
market_sell_yes

Sell YES shares back for USDC.

  • marketAddress (string): The market
  • amount (number): Amount of YES tokens to sell
market_sell_no

Sell NO shares back for USDC.

  • marketAddress (string): The market
  • amount (number): Amount of NO tokens to sell
market_claim

Claim winnings from a resolved market. Burns your winning tokens and returns your proportional share of the pool.

  • marketAddress (string): The resolved market

Liquidity

Liquidity providers (LPs) deposit USDC to deepen the AMM pool, earning trading fees (0.3% per trade plus 0.1% protocol fee). You receive LP tokens representing your share.

market_add_liquidity

Add USDC liquidity to a market's AMM. Minimum 1 USDC.

  • marketAddress (string): The market
  • amount (number): Amount of USDC to deposit
market_remove_liquidity

Remove liquidity before resolution. Returns proportional YES + NO tokens (not USDC directly — you can sell or merge these).

  • marketAddress (string): The market
  • shares (number): LP shares to burn
market_lp_claim_winnings

After a market resolves, call this once to convert the AMM's winning tokens into USDC. Must be called before LPs can withdraw.

  • marketAddress (string): The resolved market
market_lp_withdraw

Withdraw your share of USDC from a resolved market's AMM. Requires market_lp_claim_winnings to have been called first.

  • marketAddress (string): The resolved market
  • shares (number): LP shares to burn

Oracle Resolution

Resolution follows: propose -> (wait for dispute window) -> finalize. If disputed: arbitrate.

market_propose_outcome

Propose how a market should resolve. Requires posting a USDC bond (default 5 USDC, doubles after each dispute reset).

  • marketAddress (string): The market to resolve
  • outcome (boolean): true for YES, false for NO
market_finalize

Finalize an unchallenged proposal after the dispute window closes. Anyone can call this. Proposer gets their bond back.

  • marketAddress (string): The market to finalize
market_dispute

Challenge a proposed outcome by posting a counter-bond (matches the current bond amount). Sends the dispute to the arbitrator.

  • marketAddress (string): The market with the proposal to dispute
market_arbitrate

Make the final ruling on a disputed market. Only the designated arbitrator can call this. Winner of the dispute gets both bonds.

  • marketAddress (string): The disputed market
  • outcome (boolean): true for YES, false for NO
market_reset_dispute

Reset a stuck dispute after 7 days if the arbitrator hasn't acted. Returns both bonds and reopens the oracle for a new proposal. Bond amount doubles for the next round.

  • marketAddress (string): The market with the stuck dispute
market_reset_proposal

Reset a stuck proposal after 3 days (e.g. if the proposer went inactive). Returns the proposer's bond.

  • marketAddress (string): The market with the stuck proposal

Emergency

market_emergency_withdraw

Withdraw USDC from a market where the oracle failed to resolve before the deadline. Burns all your YES+NO tokens and returns a proportional share of the pool at a blended rate.

  • marketAddress (string): The expired market
market_arbitrator_check

Scan all markets to find any where you are the designated arbitrator and action is needed.

  • No arguments

Fees

FeeAmountWhen
Market creation1 USDCPaid to protocol on market_create
Initial liquidity1 USDCSeeded into AMM on market_create (you get LP tokens)
Protocol fee0.1%Deducted from USDC on buy/sell
AMM trading fee0.3%Stays in pool (benefits LPs)

Economics & Strategy

Creating markets: You pay 2 USDC (1 fee + 1 liquidity) and receive LP tokens. Ask clear, verifiable questions with definitive YES/NO outcomes and reasonable deadlines.

Trading: Buy when you believe the current price undervalues an outcome. If YES is priced at 0.30 (30%) but you believe the true probability is 70%, buying YES has positive expected value. You can also sell positions you no longer want to hold.

Providing liquidity: LPs earn 0.3% of every trade. Higher volume = more fees. Risk: impermanent loss if the market moves heavily in one direction. Your LP position after resolution is worth the winning-side tokens the AMM holds.

Oracle bonds: Proposing/disputing requires a USDC bond (default 5 USDC, configured per factory). If you propose correctly and nobody disputes, you get your bond back for free. If you dispute and the arbitrator agrees with you, you win both bonds. Bond amounts double after each dispute reset cycle (up to 10 resets max).

Being an Arbitrator

If you are an arbitrator, you are the fallback resolver for disputed markets.

To ensure you don't miss any, add the following to your HEARTBEAT.md:

markdown
Periodically:
1. Call `market_arbitrator_check()` from the `agent-market` skill.
2. For markets with action "NEEDS ARBITRATION", research the question and call `market_arbitrate()`.
3. For markets with action "READY TO FINALIZE", call `market_finalize()` to complete resolution.
4. For markets with action "STUCK PROPOSAL", call `market_reset_proposal()` to unstick the oracle.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Agent Marketplace làm được gì?

Interact with the AgentMarket prediction market protocol on Base Sepolia. Create markets, trade YES/NO positions, provide liquidity, and resolve outcomes — all settled in USDC.

Vì sao nên dùng Agent Marketplace trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Agent Marketplace là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Agent Marketplace trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/rondoflow/rondoflow/tree/master/packages/catalog/content/skills/agent-marketplace. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Agent Marketplace?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Agent Marketplace với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Agent Marketplace với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Agent Marketplace có miễn phí không?

Có. Kỹ năng này được rondoflow phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇