### Run the AI Sales Agent Example Source: https://docs.revenium.io/get-started/quickstart/examples/ai-sales-agent.md Clone the SDK repository, install dependencies, and run the sales agent example script. Ensure the REVENIUM_API_KEY environment variable is set. ```bash git clone https://github.com/revenium/revenium-python-sdk.git cd revenium-python-sdk pip install revenium-python-sdk python examples/agentic_outcomes/sales.py --count 5 ``` -------------------------------- ### Clone and Run Revenium SDK Examples Source: https://docs.revenium.io/get-started/quickstart/examples.md Clone the Revenium Python SDK repository, install the SDK, and run example scripts from the command line. Ensure the REVENIUM_API_KEY environment variable is set before execution. ```bash git clone https://github.com/revenium/revenium-python-sdk.git cd revenium-python-sdk pip install revenium-python-sdk # then run any scenario, e.g.: python examples/agentic_outcomes/sales.py --count 5 ``` -------------------------------- ### Install Go SDK Source: https://docs.revenium.io/integrations/sdk-setup.md Install the Revenium Go SDK using the go get command. This is the first step to integrating Revenium with your Go applications. ```bash go get github.com/revenium/revenium-go-sdk ``` -------------------------------- ### Clone Repo and Run Support Agent Example Source: https://docs.revenium.io/get-started/quickstart/examples/ai-customer-support.md Clone the Revenium Python SDK repository, navigate to the directory, install the SDK, and run the support agent example script. Ensure your REVENIUM_API_KEY is set. ```bash git clone https://github.com/revenium/revenium-python-sdk.git cd revenium-python-sdk pip install revenium-python-sdk python examples/agentic_outcomes/support.py --count 5 ``` -------------------------------- ### Query Documentation with GET Request Source: https://docs.revenium.io/integrations/context7.md Use this GET request to ask questions about the documentation. Include the 'ask' parameter for your specific question and optionally the 'goal' parameter to guide the AI's response. ```http GET https://docs.revenium.io/integrations/context7.md?ask=&goal= ``` -------------------------------- ### Revenium Codex Setup Commands Source: https://docs.revenium.io/track-and-control-costs/analyze-ai-tooling-spend/setup-codex.md Use these commands to initiate the setup wizard or force an overwrite of existing configurations. ```bash revenium-codex setup ``` ```bash revenium-codex setup --force ``` -------------------------------- ### Run AI Coding Workflow Example Source: https://docs.revenium.io/get-started/quickstart/examples/ai-coding-workflow.md Clone the SDK repository, install dependencies, and run the Python script to execute the AI coding workflow example. Set the REVENIUM_API_KEY environment variable before running. Use flags like --dry-run, --plan, or --only-scenario to customize the execution. ```bash git clone https://github.com/revenium/revenium-python-sdk.git cd revenium-python-sdk pip install revenium-python-sdk python examples/agentic_outcomes/coding.py --count 5 ``` -------------------------------- ### Revenium Gemini Setup Command Source: https://docs.revenium.io/track-and-control-costs/analyze-ai-tooling-spend/setup-gemini.md Initiates the interactive setup wizard for Revenium Gemini. ```bash revenium-gemini setup ``` -------------------------------- ### Setup Revenium CLI Source: https://docs.revenium.io/track-and-control-costs/analyze-ai-tooling-spend/setup-cursor.md Run the interactive setup wizard for the Revenium CLI to configure local credentials. This saves configuration to ~/.cursor/revenium/revenium.env. ```bash revenium-cursor setup ``` -------------------------------- ### Query Documentation via HTTP GET Source: https://docs.revenium.io/track-and-control-costs/analyze-ai-tooling-spend/setup-gemini.md Demonstrates how to query documentation dynamically using an HTTP GET request with 'ask' and optional 'goal' parameters. ```http GET https://docs.revenium.io/track-and-control-costs/analyze-ai-tooling-spend/setup-gemini.md?ask=&goal= ``` -------------------------------- ### Query Documentation with HTTP GET Source: https://docs.revenium.io/integrations/sdk-setup.md Use this HTTP GET request to query the documentation dynamically. Include an 'ask' parameter for your specific question and an optional 'goal' parameter to guide the AI's response. ```http GET https://docs.revenium.io/integrations/sdk-setup.md?ask=&goal= ``` -------------------------------- ### Run Revenium CLI Setup Wizard Source: https://docs.revenium.io/track-and-control-costs/analyze-ai-tooling-spend/setup-copilot.md Execute the Revenium CLI setup wizard to configure GitHub Copilot integration. This wizard will prompt for necessary credentials and settings. ```bash revenium-copilot setup ``` -------------------------------- ### Query Documentation with GET Request Source: https://docs.revenium.io/track-and-control-costs/monitor-infrastructure-costs.md Use this HTTP GET request to ask questions about the documentation. Include your specific question in the `ask` parameter and an optional broader goal in the `goal` parameter. ```bash GET https://docs.revenium.io/track-and-control-costs/monitor-infrastructure-costs.md?ask=&goal= ``` -------------------------------- ### Run Revenium CLI Setup Wizard Source: https://docs.revenium.io/track-and-control-costs/analyze-ai-tooling-spend/setup-codex.md Execute the Revenium CLI setup wizard to configure it for Codex. This wizard will prompt for necessary information like your Revenium API key. ```bash revenium-codex setup ``` -------------------------------- ### Query Documentation with GET Request Source: https://docs.revenium.io/get-started/quickstart.md Use this HTTP GET request to query the documentation dynamically. Include your question in the 'ask' parameter and an optional 'goal' parameter for tailored answers. ```http GET https://docs.revenium.io/get-started/quickstart.md?ask=&goal= ``` -------------------------------- ### Force Revenium Codex Setup Source: https://docs.revenium.io/track-and-control-costs/analyze-ai-tooling-spend/setup-codex.md Use this command to re-run the setup process and fix common configuration issues, such as legacy flat-key format or missing runtime metrics. ```bash revenium-codex setup --force ``` -------------------------------- ### Install and Run Revenium CLI with npx Source: https://docs.revenium.io/track-and-control-costs/analyze-ai-tooling-spend/setup-codex.md Use npx to run the Revenium CLI setup command without a global installation. This is useful for one-off executions or when global installations are not desired. ```bash npx @revenium/cli revenium-codex setup ``` -------------------------------- ### Install and Run Revenium CLI with npx Source: https://docs.revenium.io/track-and-control-costs/analyze-ai-tooling-spend/setup-copilot.md Use `npx` to run the Revenium CLI setup command without a global installation. This is useful for one-off executions or environments where global installs are restricted. ```bash npx @revenium/cli revenium-copilot setup ``` -------------------------------- ### Query Documentation with Ask and Goal Parameters Source: https://docs.revenium.io/welcome-to-revenium.md Use this HTTP GET request to query documentation dynamically. Include an 'ask' parameter for your specific question and an optional 'goal' parameter to tailor the response. ```http GET https://docs.revenium.io/welcome-to-revenium.md?ask=&goal= ``` -------------------------------- ### Query Documentation with GET Request Source: https://docs.revenium.io/get-started/quickstart/examples/ai-customer-support.md Perform an HTTP GET request to query the documentation dynamically. Use the 'ask' parameter for your specific question and the optional 'goal' parameter to guide the AI's response towards a broader objective. ```http GET https://docs.revenium.io/get-started/quickstart/examples/ai-customer-support.md?ask=&goal= ``` -------------------------------- ### Reset Revenium Copilot Configuration Source: https://docs.revenium.io/track-and-control-costs/analyze-ai-tooling-spend/setup-copilot.md Use this command to remove all stored configuration and start fresh. This is useful when reconfiguring credentials or troubleshooting persistent setup issues. ```bash revenium-copilot reset ``` -------------------------------- ### Query Documentation with AI Agent Source: https://docs.revenium.io/get-started/quickstart/examples/ai-sales-agent.md Perform an HTTP GET request to query documentation dynamically. Use the 'ask' parameter for specific questions and the optional 'goal' parameter to guide the AI's response towards a broader objective. ```http GET https://docs.revenium.io/get-started/quickstart/examples/ai-sales-agent.md?ask=&goal= ``` -------------------------------- ### Query GitBook Documentation via HTTP GET Source: https://docs.revenium.io/optimize-performance/predict-and-surface-anomalies.md Use this endpoint to dynamically query documentation. Include an 'ask' parameter for your specific question and an optional 'goal' parameter to guide the response. The response includes direct answers and source references. ```http GET https://docs.revenium.io/optimize-performance/predict-and-surface-anomalies.md?ask=&goal= ``` -------------------------------- ### Query Documentation Dynamically Source: https://docs.revenium.io/monetize-your-ai/automate-invoicing-and-payments.md Use this GET request to ask questions about the documentation. Include your specific question in the 'ask' parameter and an optional broader goal in the 'goal' parameter for tailored answers. ```http GET https://docs.revenium.io/monetize-your-ai/automate-invoicing-and-payments.md?ask=&goal= ``` -------------------------------- ### Query Documentation via HTTP GET Source: https://docs.revenium.io/optimize-performance/monitor-latency-and-performance.md Use this endpoint to ask questions about the documentation. Include the 'ask' parameter for your specific question and an optional 'goal' parameter to guide the AI's response. The response will contain a direct answer and relevant excerpts. ```http GET https://docs.revenium.io/optimize-performance/monitor-latency-and-performance.md?ask=&goal= ``` -------------------------------- ### Install Python SDK Source: https://docs.revenium.io/get-started/quickstart/5-minute-quickstart.md Install the Revenium Python SDK with OpenAI support. Ensure you have pip installed. ```bash pip install "revenium-python-sdk[openai]" ``` -------------------------------- ### Query Documentation Dynamically Source: https://docs.revenium.io/monetize-your-ai/manage-customers-and-credentials.md Use this GET request to query the documentation. Include an 'ask' parameter for your specific question and an optional 'goal' parameter to tailor the response. ```HTTP GET https://docs.revenium.io/monetize-your-ai/manage-customers-and-credentials.md?ask=&goal= ``` -------------------------------- ### Run Revenium CLI Setup Wizard Source: https://docs.revenium.io/track-and-control-costs/analyze-ai-tooling-spend/setup-gemini.md Execute the setup wizard for the Revenium CLI to configure Gemini CLI tracking. This wizard prompts for necessary API keys and optional details for attribution and organization. ```bash npx @revenium/cli revenium-gemini setup ``` ```bash revenium-gemini setup ``` -------------------------------- ### Install NodeJS SDK Source: https://docs.revenium.io/get-started/quickstart/5-minute-quickstart.md Install the Revenium NodeJS middleware package using npm. This is required for NodeJS applications. ```bash npm install @revenium/middleware ``` -------------------------------- ### Querying Documentation with Ask and Goal Parameters Source: https://docs.revenium.io/get-started/quickstart/connecting-providers.md Use this HTTP GET request to query the documentation dynamically. The 'ask' parameter specifies your question, and the optional 'goal' parameter helps tailor the answer to your broader objective. ```http GET https://docs.revenium.io/get-started/quickstart/connecting-providers.md?ask=&goal= ``` -------------------------------- ### Install Node.js Middleware Source: https://docs.revenium.io/integrations/sdk-setup.md Install the unified middleware package for Node.js applications. This package provides sub-paths for various AI providers. ```bash npm install @revenium/middleware ```