New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

netcafe-ai-tools

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netcafe-ai-tools

Vercel AI SDK tools that return finished files: PDF, docx, charts, subtitles, invoices, screenshots — one hosted endpoint, free quota, no API key to start.

latest
Source
npmnpm
Version
0.5.0
Version published
Maintainers
1
Created
Source

netcafe-ai-tools

Vercel AI SDK tools that hand back finished files — PDF, docx, PPTX, chart PNG, SRT subtitles, invoices, screenshots — from one hosted endpoint. Free quota, no API key to start.

npm i netcafe-ai-tools zod
import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { netcafeTools } from 'netcafe-ai-tools';

const { text } = await generateText({
  model: openai('gpt-4o-mini'),
  tools: netcafeTools(),                    // anonymous free quota
  // tools: netcafeTools({ apiKey: 'sk-...' }),  // unlimited, billed to you
  maxSteps: 5,
  prompt: 'Turn this release note into a PDF and a shareable chart of the download counts.',
});

Every tool returns a hosted file URL (file_url / pdf_url / image_url) the model can hand back.

What's inside

33 curated tools.

Live data (new in 0.2): get_weather, get_air_quality, exchange_rate, stock_quote (China A-shares/HK/US), ip_lookup, china_reachability (test any URL from a real mainland-China network — status, latency, China DNS), domain_check (RDAP), ssl_check.

Chinese almanac (new in 0.2): lunar_calendar, bazi_chart (八字排盘), huangli (宜忌), pick_lucky_days (择吉日), cn_holiday (法定节假日/调休). Pure deterministic computation — millisecond responses, never hallucinated.

Utilities: timezone_convert, unit_convert, pinyin_convert.

Files & artifacts: web_search, md_to_pdf, md_to_docx, md_to_pptx, screenshot_url, render_diagram, make_chart, make_qr, audio_to_srt, transcribe_audio, convert_to_pdf, make_invoice, meeting_minutes, make_dockerfile, sql_from_description, compare_models, model_costs.

Want a subset? netcafeTools({ only: ['md_to_pdf', 'make_chart'] }). The full 95-tool catalog: https://ainetcafe.com/tools

Notes

  • No lock on the AI SDK version — tools are plain { description, parameters, execute }, so they work with AI SDK 4 and 5. zod is the only peer dependency.
  • compare_models and model_costs return real metered per-call cost, not list prices — the cost dataset is published CC BY 4.0 at https://ainetcafe.com/costs.
  • Beyond the free quota: pay-per-call (x402/USDC for agents, Stripe for humans) or an AllRouter key.

MIT.

Keywords

ai

FAQs

Package last updated on 12 Aug 2026

Related posts