Skip to main content

1. Configure Your Environment

Set up your environment variables to connect to Future AGI. Get your API keys here

2. Register Your Observe Project

Register your project with the necessary configuration.

Configuration Parameters:

  • project_type: Set as ProjectType.OBSERVE for observe
  • project_name: A descriptive name for your project
  • transport (optional): Set the transport for your traces. The available options are GRPC and HTTP.

Instrument your project:

There are 2 ways to implement tracing in your project
  1. Auto Instrumentor : Instrument your project with FutureAGI’s Auto Instrumentor. Recommended for most use cases.
  2. Manual Tracing : Manually track your project with Open Telemetry. Useful for more customized tracing. Learn more →

Example: Instrumenting with Auto Instrumentor ( OpenAI )

First, install the traceAI openai package:
Instrument your project with FutureAGI’s OpenAI Instrumentor.
Initialize the OpenAI client and make OpenAI requests as you normally would. Our Instrumentor will automatically trace these requests for you, which can be viewed in your Observe dashboard.
To know more about the supported frameworks and how to instrument them, check out our Auto Instrumentation page.