• bitcoinBitcoin(BTC)$60,559.000.64%
  • ethereumEthereum(ETH)$1,702.030.61%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$553.920.04%
  • usd-coinUSDC(USDC)$1.000.00%
  • rippleXRP(XRP)$0.951.19%
  • solanaSolana(SOL)$71.360.88%
  • tronTRON(TRX)$0.303285-0.16%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.051.00%
  • HyperliquidHyperliquid(HYPE)$62.020.54%
  • zcashZcash(ZEC)$714.25-6.18%
  • dogecoinDogecoin(DOGE)$0.0570701.86%
  • moneroMonero(XMR)$440.89-15.30%
  • leo-tokenLEO Token(LEO)$8.990.26%
  • whitebitWhiteBIT Coin(WBT)$61.207.03%
  • chainlinkChainlink(LINK)$9.281.90%
  • USDSUSDS(USDS)$1.000.00%
  • cardanoCardano(ADA)$0.1509102.56%
  • Ethena USDeEthena USDe(USDE)$1.00-0.06%
  • stellarStellar(XLM)$0.127645-0.34%
  • daiDai(DAI)$1.00-0.01%
  • bitcoin-cashBitcoin Cash(BCH)$209.312.03%
  • nearNEAR Protocol(NEAR)$3.095.23%
  • litecoinLitecoin(LTC)$43.471.96%
  • CantonCanton(CC)$0.076642-1.75%
  • avalanche-2Avalanche(AVAX)$6.660.66%
  • tether-goldTether Gold(XAUT)$3,559.510.39%
  • USD1USD1(USD1)$1.00-0.04%
  • uniswapUniswap(UNI)$4.67-1.51%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • the-open-networkGram (prev. Toncoin)(GRAM)$0.971.99%
  • suiSui(SUI)$0.671.15%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • hedera-hashgraphHedera(HBAR)$0.0546115.15%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.18%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • quant-networkQuant(QNT)$149.762.03%
  • BittensorBittensor(TAO)$184.14-0.09%
  • shiba-inuShiba Inu(SHIB)$0.0000042.08%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.12-0.14%
  • Circle USYCCircle USYC(USYC)$1.150.00%
  • crypto-com-chainCronos(CRO)$0.039678-1.57%
  • MemeCoreMemeCore(M)$0.846.37%
  • RainRain(RAIN)$0.002488-8.89%
  • okbOKB(OKB)$82.771.45%
  • Falcon USDFalcon USD(USDF)$1.000.17%
  • United StablesUnited Stables(U)$1.000.00%
  • pax-goldPAX Gold(PAXG)$3,556.080.30%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • BitwayBitway(BTW)$0.9910.47%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

How to Build a QwenPaw Agent Workspace with Custom Skills, Model Providers, Console Access, and Streaming API Testing

June 13, 2026
in AI & Technology
Reading Time: 2 mins read
A A
How to Build a QwenPaw Agent Workspace with Custom Skills, Model Providers, Console Access, and Streaming API Testing
ShareShareShareShareShare
if not (WORKING_DIR / "config.json").exists():
   run(qwenpaw_cmd("init", "--defaults"), check=False)
else:
   print("QwenPaw working directory already initialized:", WORKING_DIR)
provider_candidates = [
   {
       "env": "OPENAI_API_KEY",
       "provider_id": "openai",
       "name": "OpenAI",
       "base_url": "https://api.openai.com/v1",
       "model": os.environ.get("QWENPAW_MODEL", "gpt-4o-mini"),
       "chat_model": "OpenAIChatModel",
       "prefix": "sk-",
   },
   {
       "env": "OPENROUTER_API_KEY",
       "provider_id": "openrouter",
       "name": "OpenRouter",
       "base_url": "https://openrouter.ai/api/v1",
       "model": os.environ.get("QWENPAW_MODEL", "openai/gpt-4o-mini"),
       "chat_model": "OpenAIChatModel",
       "prefix": "sk-or-",
   },
   {
       "env": "DASHSCOPE_API_KEY",
       "provider_id": "dashscope",
       "name": "DashScope",
       "base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",
       "model": os.environ.get("QWENPAW_MODEL", "qwen-plus"),
       "chat_model": "OpenAIChatModel",
       "prefix": "sk-",
   },
   {
       "env": "DEEPSEEK_API_KEY",
       "provider_id": "deepseek",
       "name": "DeepSeek",
       "base_url": "https://api.deepseek.com",
       "model": os.environ.get("QWENPAW_MODEL", "deepseek-chat"),
       "chat_model": "OpenAIChatModel",
       "prefix": "sk-",
   },
   {
       "env": "GEMINI_API_KEY",
       "provider_id": "gemini",
       "name": "Google Gemini",
       "base_url": "https://generativelanguage.googleapis.com",
       "model": os.environ.get("QWENPAW_MODEL", "gemini-2.5-flash"),
       "chat_model": "GeminiChatModel",
       "prefix": "",
   },
   {
       "env": "GOOGLE_API_KEY",
       "provider_id": "gemini",
       "name": "Google Gemini",
       "base_url": "https://generativelanguage.googleapis.com",
       "model": os.environ.get("QWENPAW_MODEL", "gemini-2.5-flash"),
       "chat_model": "GeminiChatModel",
       "prefix": "",
   },
]
selected = None
for candidate in provider_candidates:
   api_key = colab_secret_or_env(candidate["env"])
   if api_key:
       selected = {**candidate, "api_key": api_key}
       break
def read_json(path, default):
   try:
       if path.exists():
           return json.loads(path.read_text(encoding="utf-8"))
   except Exception:
       pass
   return default
def write_json(path, data):
   path.parent.mkdir(parents=True, exist_ok=True)
   path.write_text(json.dumps(data, indent=2, ensure_ascii=False), encoding="utf-8")
config_path = WORKING_DIR / "config.json"
config = read_json(config_path, {})
config.setdefault("agents", {})
config["agents"].setdefault("active_agent", "default")
config["agents"].setdefault("agent_order", ["default"])
config["agents"].setdefault("profiles", {})
config["agents"]["profiles"].setdefault("default", {})
config["agents"]["profiles"]["default"].update(
   {
       "id": "default",
       "name": "Colab Research Assistant",
       "description": "A QwenPaw agent configured for Google Colab tutorials, local files, custom skills, and API testing.",
       "workspace_dir": str(WORKSPACE_DIR),
       "enabled": True,
   }
)
config["last_api"] = {"host": "127.0.0.1", "port": PORT}
config["show_tool_details"] = True
config["user_timezone"] = "Asia/Kolkata"
write_json(config_path, config)

Credit: Source link

YOU MAY ALSO LIKE

Workers At GTA 6 Studio Rockstar Games Vote Overwhelmingly Against Union Recognition

AI Could Soon Edit Live Videos in Real Time – Unite.AI

ShareTweetSendSharePin

Related Posts

Workers At GTA 6 Studio Rockstar Games Vote Overwhelmingly Against Union Recognition
AI & Technology

Workers At GTA 6 Studio Rockstar Games Vote Overwhelmingly Against Union Recognition

November 26, 2026
AI Could Soon Edit Live Videos in Real Time – Unite.AI
AI & Technology

AI Could Soon Edit Live Videos in Real Time – Unite.AI

November 26, 2026
Which Is Better for Teamwork and Project Delivery? – Unite.AI
AI & Technology

Which Is Better for Teamwork and Project Delivery? – Unite.AI

November 26, 2026
The Screens App Will Let You Turn Your iPhone Duo Into An Itty Bitty MacBook
AI & Technology

The Screens App Will Let You Turn Your iPhone Duo Into An Itty Bitty MacBook

November 26, 2026
Next Post
California labor boss’s shocking three-word tweet aimed at Elon Musk resurfaces

California labor boss's shocking three-word tweet aimed at Elon Musk resurfaces

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Trump indicates he’s open to working with El-Sayed on healthcare

Trump indicates he’s open to working with El-Sayed on healthcare

November 25, 2026
RadixArk Ships DaisyRose-27B, a 27B Agentic Coding Model Trained With Reinforcement Learning Only

RadixArk Ships DaisyRose-27B, a 27B Agentic Coding Model Trained With Reinforcement Learning Only

November 20, 2026
Starting a Property Management Company? Most States Require a License First

Starting a Property Management Company? Most States Require a License First

November 20, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!