Skip to content

Latest commit

 

History

History
72 lines (61 loc) · 7.65 KB

File metadata and controls

72 lines (61 loc) · 7.65 KB

Agent Intelligence Toolkit Examples

Each NVIDIA Agent Intelligence (AIQ) toolkit example demonstrates a particular feature or use case of the AIQ toolkit library. Most of these contain a custom workflow along with a set of custom tools (functions in AIQ toolkit). These examples can be used as a starting off point for creating your own custom workflows and tools. Each example contains a README.md file that explains the use case along with instructions on how to run the example.

Example Categories

Basic (basic)

  • scaffolding: Workflow scaffolding and project generation using automated commands and intelligent code generation
  • functions: Function implementation examples including:
    • simple: LangSmith documentation agent that scrapes and answers questions about LangSmith using web retrieval and vector search
    • simple_calculator: Mathematical agent with tools for arithmetic operations, time comparison, and complex calculations
    • automated_description_generation: Intelligent system that automatically generates descriptions for vector database collections by sampling and summarizing documents
    • plot_charts: Multi-agent chart plotting system that routes requests to create different chart types (line, bar, etc.) from data
  • frameworks: Integration examples with different AI frameworks including:
    • multi_frameworks: Supervisor agent coordinating LangChain, LlamaIndex, and Haystack agents for research, RAG, and chitchat tasks
    • agno_personal_finance: Personal finance planning agent built with Agno framework that researches and creates tailored financial plans
    • semantic_kernel_demo: Multi-agent travel planning system using Microsoft Semantic Kernel with specialized agents for itinerary creation, budget management, and report formatting, including long-term memory for user preferences

Intermediate (intermediate)

  • evaluation_and_profiling: Performance evaluation and profiling tools including:
    • swe_bench: Software engineering benchmark system for evaluating AI models on real-world coding tasks
    • simple_calculator_eval: Evaluation and profiling configurations based on the basic simple calculator example
    • simple_eval: Evaluation and profiling configurations based on the basic simple example
    • email_phishing_analyzer: Security-focused email analysis system that detects phishing attempts using multiple LLMs, including its evaluation and profiling configurations
  • UI: User interface examples for interactive AIQ toolkit applications
  • HITL: Human-in-the-loop workflow examples including:
    • simple_calculator_hitl: Human-in-the-loop version of the basic simple calculator that requests approval before increasing the agent's iteration limits
    • por_to_jiratickets: Project requirements to Jira ticket conversion with human oversight
  • MCP: Model Context Protocol implementation examples:
    • simple_calculator_mcp: Demonstrates Model Context Protocol support using the basic simple calculator example
  • custom_routes: Custom routing and API endpoint examples:
  • observability: Monitoring and observability integration examples:
    • redact_pii: Demonstrates how to use Weights & Biases (W&B) Weave with PII redaction
    • simple_calculator_observability: Basic simple calculator with integrated monitoring, telemetry, and observability features
  • RAG: Retrieval-Augmented Generation examples:
    • simple_rag: Complete RAG system with Milvus vector database, document ingestion, and long-term memory using Mem0 platform
  • agents: AI agent architecture examples showcasing 4 distinct agent patterns:
    • mixture_of_agents: Multi-agent system with ReAct agent coordinating multiple specialized Tool Calling agents
    • react: ReAct (Reasoning and Acting) agent implementation for step-by-step problem solving
    • rewoo: ReWOO (Reasoning WithOut Observation) agent pattern for planning-based workflows
    • tool_calling: Tool-calling agent with direct function invocation capabilities

Advanced (advanced)

  • alert_triage_agent: Production-ready intelligent alert triage system using LangGraph that automates system monitoring diagnostics with tools for hardware checks, network connectivity, performance analysis, and generates structured triage reports with root cause categorization
  • profiler_agent: Performance profiling agent for analyzing AIQ toolkit workflow performance and bottlenecks using Phoenix observability server with comprehensive metrics collection and analysis
  • AIQ-blueprint.md: Blueprint documentation for advanced system architectures and design patterns

Documentation Guides (documentation_guides)

  • locally_hosted_llms: Configuration examples for the basic simple LangSmith agent using locally hosted LLM models (NIM and vLLM configurations)
  • workflows: Workflow examples for documentation and tutorials:
    • custom_workflow: Extended version of the basic simple example with multiple documentation sources (LangSmith and LangGraph)
    • text_file_ingest: Text file processing and ingestion pipeline for document workflows

To run the examples, install the AIQ toolkit from source, if you haven't already done so, by following the instructions in Install From Source .