> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aiagentshouse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Governance SDK

> Comprehensive monitoring, compliance, and governance for AI agents in banking and financial services

The Agent Governance SDK provides robust monitoring, compliance, and governance tools for AI agents, specifically tailored for banking and financial services applications. Monitor agent interactions, detect compliance violations, and gain critical insights into your AI agent ecosystem.

## Key Features

<CardGroup cols={2}>
  <Card title="Automated LLM Monitoring" icon="robot" href="/features/llm-monitoring">
    Seamlessly wrap Anthropic and OpenAI clients to automatically track requests, responses, token usage, and costs
  </Card>

  <Card title="Real-time Compliance" icon="shield-check" href="/features/compliance-engine">
    Offline rules-based engine to detect PII, fair lending violations, and compliance risks in real-time
  </Card>

  <Card title="Detailed Event Tracking" icon="chart-line" href="/features/manual-tracking">
    Track granular events like tool calls, errors, and conversation lifecycles with full context
  </Card>

  <Card title="Agent Registration" icon="id-card" href="/features/configuration">
    Register and manage agent profiles, versions, and compliance settings
  </Card>
</CardGroup>

## Quick Start

Get up and running with the Agent Governance SDK in minutes:

<Steps>
  <Step title="Install the SDK">
    ```bash theme={null}
    npm install @agent-governance/node
    ```
  </Step>

  <Step title="Initialize the Monitor">
    ```javascript theme={null}
    import { AgentMonitor } from '@agent-governance/node';

    const monitor = new AgentMonitor({
      apiKey: 'your-governance-api-key',
      organizationId: 'your-org-id',
      environment: 'development'
    });
    ```
  </Step>

  <Step title="Register Your Agent">
    ```javascript theme={null}
    await monitor.registerAgent({
      id: 'banking-assistant',
      name: 'Banking Assistant',
      category: 'tool_calling',
      version: '1.0.0',
      llmProvider: 'anthropic',
      model: 'claude-3-5-sonnet-20241022'
    });
    ```
  </Step>

  <Step title="Start Tracking">
    ```javascript theme={null}
    monitor.trackConversationStart('banking-assistant', 'session-123');
    monitor.trackUserMessage('banking-assistant', 'session-123', 'Hello!');
    monitor.trackAgentResponse('banking-assistant', 'session-123', 'Hi there!');
    ```
  </Step>
</Steps>

## Use Cases

The Agent Governance SDK is designed for organizations that need to:

* **Ensure Compliance**: Monitor AI agents for regulatory compliance in banking and finance
* **Track Performance**: Analyze agent interactions, response quality, and operational metrics
* **Manage Risk**: Detect and prevent potential compliance violations before they impact customers
* **Audit Conversations**: Maintain detailed logs of all agent interactions for regulatory purposes

## Banking & Financial Services Focus

Built specifically for the unique compliance requirements of financial institutions:

* **SR 11-7 Compliance**: Model validation and documentation requirements
* **Fair Lending Monitoring**: Detect discriminatory language and bias
* **BSA/AML Checks**: Anti-money laundering and suspicious activity detection
* **PII Protection**: Comprehensive personally identifiable information detection

## Next Steps

<CardGroup cols={2}>
  <Card title="Quick Start Guide" icon="rocket" href="/quick-start">
    Get up and running in under 5 minutes
  </Card>

  <Card title="Anthropic Integration" icon="brain" href="/integrations/anthropic">
    Automatically monitor Claude API calls
  </Card>

  <Card title="OpenAI Integration" icon="brain" href="/integrations/openai">
    Track GPT model interactions
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/overview">
    Complete SDK documentation
  </Card>
</CardGroup>
