improve agent + marketplace integration docs

master
Kye Gomez 21 hours ago
parent c317eb98e3
commit 2ab28923a4

@ -235,6 +235,7 @@ nav:
- Reference: "swarms/structs/agent.md"
- Tools and MCP: "swarms/tools/tools_examples.md"
- Multi-Agent Helpers: "swarms/structs/agent_multi_agent_communication.md"
- Loading Prompts from Marketplace: "swarms/examples/marketplace_prompt_loading.md"
- Capabilities:
- Fallback Models: "swarms/utils/fallback_models.md"
@ -385,7 +386,6 @@ nav:
- Gradio Chat Interface: "swarms/ui/main.md"
- Agent with Gemini Nano Banana: "swarms/examples/jarvis_agent.md"
- Agent Marketplace Publishing: "examples/marketplace_publishing_quickstart.md"
- Loading Prompts from Marketplace: "swarms/examples/marketplace_prompt_loading.md"
- LLM Providers:
- Language Models:
- Overview: "swarms/examples/model_providers.md"
@ -476,7 +476,6 @@ nav:
- Overview: "swarms_platform/index.md"
- Marketplace:
- Share and Discover Agents, Prompts, and Tools: "swarms_platform/share_and_discover.md"
- Loading Prompts into Agents: "swarms/examples/marketplace_prompt_loading.md"
- Monetize Your Prompts, Agents, and Tools: "swarms_platform/monetize.md"
- Platform:
- Customize Your Sidebar: "swarms_platform/apps_page.md"

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

@ -3,8 +3,8 @@ from swarms import Agent
# Create an agent with a marketplace prompt loaded in one line
# Replace the marketplace_prompt_id with your actual prompt ID from the marketplace
agent = Agent(
model_name="gpt-4o-mini",
marketplace_prompt_id="0ff9cc2f-390a-4eb1-9d3d-3a045cd2682e", # The prompt ID from the Swarms marketplace
model_name="gpt-4.1",
marketplace_prompt_id="1191250b-9fb3-42e0-b0e9-25ec83260ab2", # The prompt ID from the Swarms marketplace
max_loops="auto",
interactive=True,
)

Loading…
Cancel
Save