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 Prototype Project

Register your project with the necessary configuration.

Configuration Parameters:

Note:
Python uses snake_case for property names (e.g., project_type), while TypeScript uses camelCase (e.g., projectType). Always use the convention appropriate for your language.

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.

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 Prototype dashboard.
To know more about the supported frameworks and how to instrument them, check out our Auto Instrumentation page.