# Agent Status SDK Examples

This directory contains example scripts demonstrating Agent Status SDK usage.

## Prerequisites

```bash
pip install agent-status-sdk
export RORA_API_KEY="your_api_key_here"
```

## Examples

### Basic Usage
**File:** `basic_usage.py`

Core SDK functionality: registering agents, checking status, running probes.

```bash
python basic_usage.py
```

### LangChain Outside-In Monitoring
**File:** `langchain_expose.py`

Expose a local LangChain agent to the distributed monitoring network.

```bash
pip install agent-status-sdk[langchain] langchain-openai
export OPENAI_API_KEY="your_openai_key"
python langchain_expose.py
```

### OpenAI Client Wrapper
**File:** `openai_wrapper.py`

Automatic metrics tracking for OpenAI API calls.

```bash
pip install agent-status-sdk[openai]
python openai_wrapper.py
```

### CrewAI Integration
**File:** `crewai_integration.py`

Monitor CrewAI crews with event listeners.

```bash
pip install agent-status-sdk[crewai] crewai
export OPENAI_API_KEY="your_openai_key"
python crewai_integration.py
```

## Links

- **Homepage:** https://agentstatus.dev
- **Dashboard:** https://platform.agentstatus.dev
- **Documentation:** https://github.com/Carmel-Labs-Inc/rora-sdk
