AGENT SKILL

fireworks-ai

Fast serverless inference on Fireworks AI — open models, fine-tuning, and function-calling optimized endpoints.

License 许可
MIT
所属仓库
TanNhatCMS/jarvis
最近更新
2026-11-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
fireworks-ai
category
ai-research
description
Fast serverless inference on Fireworks AI — open models, fine-tuning, and function-calling optimized endpoints.

03 SKILL.md 正文

Overview

Fireworks AI is an inference platform for generative AI optimized for speed: serverless APIs for open models with an emphasis on low latency and high throughput, plus fine-tuning (including LoRA/adapter-based approaches) and features aimed at compound AI systems — function calling, structured outputs, and multi-modal models. The positioning is "fast inference for builders of agentic and compound systems."

The practical evaluation: Fireworks competes on tokens-per-second and time-to-first-token for open models, with serverless simplicity. If your application is latency-sensitive (agents making many sequential calls, real-time assistants) and you want open models without infrastructure, Fireworks belongs on the shortlist alongside the other speed-optimized providers.

The platform also leans into the fine-tune→serve loop: train adapters on your data, serve them on the same fast stack — useful when you need both specialization and speed.

When to use

  • Latency-sensitive open-model inference: agents, real-time chat, interactive tools.
  • High-throughput batch or online workloads where tokens/sec per dollar matters.
  • Function-calling and structured-output workloads on open models.
  • Fine-tuning open models (especially adapters) with fast serving of the result.
  • Evaluating speed-optimized providers against each other on your workload.
  • Compound AI systems: multi-model pipelines needing fast individual steps.

Core concepts

  • Serverless inference: pay-per-use API across a catalog of open models (text, vision, audio, embeddings). No provisioning; the platform handles scaling. Start here for evaluation.
  • Speed optimization: the platform's serving stack is tuned for low latency and high throughput. Verify with your workload — "fast" claims need measurement on your prompt shapes and concurrency.
  • Function calling support: optimized function-calling on open models — relevant for agent builders who want open-model tool use without infrastructure.
  • Structured outputs: JSON mode and schema-constrained generation for reliable structured responses from open models.
  • Fine-tuning: train on your data; serve fine-tunes (often as adapters) on the fast stack. Adapter-based tuning keeps serving efficient — the base model stays shared, your adapter adds specialization.
  • Model catalog breadth: text LLMs plus embeddings, vision, audio, and image models — useful when a product needs multiple modalities behind one account.
  • Dedicated deployments: reserved capacity options when serverless variability doesn't meet SLOs.
  • Usage analytics: per-model latency, throughput, and cost dashboards. Essential for tuning the speed/cost tradeoff.

Practical workflow

  1. Benchmark speed on your workload. Don't take marketing tokens/sec at face value — measure time-to-first-token and inter-token latency with your actual prompts at your concurrency. Speed claims are workload-specific.
  2. Evaluate function calling quality. If you're building agents, test tool use accuracy on your tools — fast wrong answers are worse than slow right ones.
  3. Test structured outputs. Verify JSON-mode reliability on your schemas; measure the failure rate, not just the happy path.
  4. Consider fine-tuning for specialization. If base open models are close but inconsistent on your task, try adapter fine-tuning — then serve the adapter on the same stack and measure the quality delta.
  5. Compare total cost per task. Combine per-token pricing with your measured tokens-per-task and quality rate. A faster, slightly pricier model can be cheaper per completed task.
  6. Set up fallbacks. Even fast providers have incidents. Configure fallback models/providers for production paths.
  7. Monitor production latency. Track p50/p99 TTFT and throughput on live traffic. Speed regressions show up here before users complain.

Checklist for Fireworks in production:

  • Latency benchmarked on your prompts at your concurrency.
  • Function-calling accuracy measured on your tools.
  • Fine-tune vs. base comparison done (if applicable).
  • Cost modeled per completed task, not just per token.
  • Fallbacks configured; production latency monitored.

Common pitfalls

  • Trusting headline speed numbers. Benchmark tokens/sec figures are measured on specific workloads. Yours will differ — measure it.
  • Speed over correctness. Optimizing for tokens/sec while the model's function-calling accuracy on your tools is inadequate. Quality first, then speed among models that clear the bar.
  • Ignoring time-to-first-token. Throughput (tokens/sec) and TTFT are different metrics; interactive UX cares about TTFT most. Measure both.
  • Fine-tuning without base validation. Training adapters on a base model that was the wrong choice. Validate base models on your task first.
  • No fallback strategy. Single-provider dependence for latency-critical paths. Every provider has incidents — plan for them.
  • Per-token cost myopia. Comparing sticker prices without factoring tokens-per-task and success rates. Cost per completed task is the real metric.
  • Structured-output assumptions. Assuming JSON mode is bulletproof on every model. Test your schemas; measure failure rates per model.
  • Skipping production monitoring. Dev benchmarks don't capture production latency distributions. Monitor live traffic percentiles continuously.

04 同仓库更多 Skills

TanNhatCMS
TanNhatCMS/jarvis

web-scrape

Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open/fetch fails on JS-heavy pages, or when you need clean markdown/structured extraction from a site. Requires FIRECRAWL_API_KEY.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

design-taste-frontend

tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

test-driven-development

Use when implementing any feature or bugfix, before writing implementation code

★ 0
TanNhatCMS
TanNhatCMS/jarvis

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

★ 0
TanNhatCMS
TanNhatCMS/jarvis

requesting-code-review

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

★ 0
TanNhatCMS
TanNhatCMS/jarvis

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).

★ 0