• bitcoinBitcoin(BTC)$64,214.001.24%
  • ethereumEthereum(ETH)$1,674.730.67%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$608.250.85%
  • usd-coinUSDC(USDC)$1.000.00%
  • rippleXRP(XRP)$1.151.20%
  • solanaSolana(SOL)$68.162.32%
  • tronTRON(TRX)$0.3181841.01%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.46%
  • dogecoinDogecoin(DOGE)$0.0876570.14%
  • HyperliquidHyperliquid(HYPE)$59.77-1.71%
  • USDSUSDS(USDS)$1.000.02%
  • leo-tokenLEO Token(LEO)$9.740.47%
  • RainRain(RAIN)$0.012962-0.50%
  • zcashZcash(ZEC)$409.51-1.08%
  • moneroMonero(XMR)$343.77-2.48%
  • cardanoCardano(ADA)$0.1714210.83%
  • CantonCanton(CC)$0.1629061.42%
  • stellarStellar(XLM)$0.186687-1.43%
  • whitebitWhiteBIT Coin(WBT)$52.331.03%
  • chainlinkChainlink(LINK)$7.971.52%
  • the-open-networkToncoin(TON)$1.743.44%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • USD1USD1(USD1)$1.000.00%
  • daiDai(DAI)$1.000.02%
  • bitcoin-cashBitcoin Cash(BCH)$207.401.39%
  • MemeCoreMemeCore(M)$2.96-3.79%
  • litecoinLitecoin(LTC)$43.842.15%
  • hedera-hashgraphHedera(HBAR)$0.077914-0.11%
  • suiSui(SUI)$0.761.89%
  • Circle USYCCircle USYC(USYC)$1.130.00%
  • LABLAB(LAB)$9.54-2.34%
  • shiba-inuShiba Inu(SHIB)$0.0000052.99%
  • avalanche-2Avalanche(AVAX)$6.701.71%
  • paypal-usdPayPal USD(PYUSD)$1.000.02%
  • nearNEAR Protocol(NEAR)$2.105.14%
  • crypto-com-chainCronos(CRO)$0.0598290.64%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,208.280.22%
  • BittensorBittensor(TAO)$254.8819.84%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.13-0.22%
  • AudieraAudiera(BEAT)$7.45-7.58%
  • pax-goldPAX Gold(PAXG)$4,217.680.23%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0587060.65%
  • mantleMantle(MNT)$0.552.74%
  • OndoOndo(ONDO)$0.3633052.34%
  • AsterAster(ASTER)$0.641.63%
  • worldcoin-wldWorldcoin(WLD)$0.4986667.60%
  • polkadotPolkadot(DOT)$0.982.13%
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

YOU MAY ALSO LIKE

The Creepshow Video Game Is Coming Out This Summer

A Report On The Benefits Of AI Was Reportedly Full Of AI Hallucinations

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

ShareTweetSendSharePin

Related Posts

The Creepshow Video Game Is Coming Out This Summer
AI & Technology

The Creepshow Video Game Is Coming Out This Summer

June 13, 2026
A Report On The Benefits Of AI Was Reportedly Full Of AI Hallucinations
AI & Technology

A Report On The Benefits Of AI Was Reportedly Full Of AI Hallucinations

June 13, 2026
Anthropic blocks all public access to Claude Fable 5, Mythos 5 following US government order — what enterprises should do
AI & Technology

Anthropic blocks all public access to Claude Fable 5, Mythos 5 following US government order — what enterprises should do

June 13, 2026
Jensen Huang Mania Sweeps Through Seoul
AI & Technology

Jensen Huang Mania Sweeps Through Seoul

June 13, 2026

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Apple expected to unveil new AI features at last developers conference with CEO Tim Cook

Apple expected to unveil new AI features at last developers conference with CEO Tim Cook

June 8, 2026
Track Your Net Worth Quarterly

Track Your Net Worth Quarterly

June 11, 2026
LIVE NOW: SPACEX IPO TRADING

LIVE NOW: SPACEX IPO TRADING

June 13, 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!