Skip to content

Examples

Detailed practical examples for common NucleusIQ workflows.

Updated for v0.7.10+: curated examples use the mandatory prompt= API and current provider pins. See migration notes if upgrading from older releases.

Getting started

  • Basic agent — Your first agent with tools (OpenAI, Gemini, context management)
  • Streaming — Real-time token-by-token output

Workflows

Observability

Provider examples

  • Gemini quickstart — Google Gemini with all three execution modes
  • Groq quickstart — Groq DIRECT / STANDARD / AUTONOMOUS (nucleusiq-groq 0.1.0b1, nucleusiq>=0.7.9)
  • Ollama quickstart — Local Ollama DIRECT / STANDARD (nucleusiq-ollama 0.1.0a1, nucleusiq>=0.7.10alpha)
  • Groq provider guide — Beta scope, 429 / Retry-After, strict_model_capabilities, repo scripts
  • Ollama provider guide — Alpha scope, think, structured-output + tools caveat, repo matrix

Which page for Ollama?

Start with Ollama quickstart; use Ollama provider for the full capability matrix and env reference.

Which Groq page?

Start with Groq quickstart for copy-paste snippets; use Groq provider for deeper operational guidance.

Repository examples

Full runnable scripts are available in the GitHub repository: