Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.orq.ai/llms.txt

Use this file to discover all available pages before exploring further.

This guide walks you through every step of getting started with orq.ai. By the end you will have a working AI agent that can search the web and answer questions, with full visibility into every call it makes.
1

Create your orq.ai account

Sign up for a free orq.ai account and create a workspace.
2

Add your provider API key

orq.ai routes requests through provider credentials managed in the workspace, keeping spend and data under full control. This quickstart uses OpenAI as an example, but any supported provider works the same way.
  • Go to AI Router > Providers in the AI Studio.
  • Find the OpenAI provider.
  • Click Setup your own API Key and enter the OpenAI API key.
Adding OpenAI API key in the AI Router

Supported providers

See the full list of supported model providers and how to connect them.
3

Enable models in the AI Router

With your provider connected:
  • Go to AI Router > Models and search for gpt-4o.
  • Click on it and toggle it on.
Only enabled models can be selected when creating Agents and Deployments.
Enabling gpt-4o in the AI Router

AI Router

Browse and manage all available models across providers.
4

Get your orq.ai API key

Go to Organization > API Keys in the left sidebar. Click Create API Key, give it a name, and copy it.Then open a terminal and run the command below, replacing your-api-key-here with the key you just copied. The code samples in the next steps read it from this environment variable.
export ORQ_API_KEY="your-api-key-here"
5

Create your agent

Build an Agent named my-assistant with OpenAI GPT-4o and the Web Search and Web Scraper tools.
  1. Open the AI Studio and navigate to your project.
  2. Click the + button and select Agent.
  3. In the popup, select openai/gpt-4o as the model.
  4. Name the agent my-assistant.
  5. Add a description: A helpful assistant with web search.
  6. Click Create.
  7. Set the agent’s instructions to: You are a helpful assistant. Be concise and accurate. When answering questions that require current or up-to-date information, use the web search tool to find the latest data before responding.
  8. Under Tools, add Web Search and Web Scraper.
  9. Click Publish, choose a version bump (Major, Minor, or Patch), and click Publish to confirm.
See the Agent Studio guide for the full walkthrough.
my-assistant agent in orq.ai Studio
6

Call your agent

Send a message to my-assistant and read the response.
Open the Agent in the AI Studio and use the built-in chat panel to send a message. Conversations and traces are saved automatically.
7

View your traces

Every Agent call is automatically traced. Execution history, token counts, latency, and cost are visible in the AI Studio or queryable through MCP.
Open my-assistant in the AI Studio and click the Traces tab to see the full execution history, including model calls, tool use, token counts, and latency.
my-assistant traces in orq.ai Studio

Run your first experiment

Compare prompts, models, and configurations side by side to find what performs best before shipping.

Add an evaluator

Score your Agent’s outputs automatically with LLM-based, code, or human Evaluators.

Connect a knowledge base

Give your Agent access to your own documents and data with built-in RAG.

Log your first trace

Already running agents elsewhere? Connect via OpenTelemetry to get full trace visibility and cost tracking.