Skip to main content

Supported Frameworks

Dspy
It does not matter how you are using DSPy, nanomon suits you!

Step 1: Create a project in nanomon

Once you have your nanomon running (Self-Hosted or Cloud-Hosted), start by creating a project:
  1. Open nanomon UI home page
  2. Create a new Project
  3. Copy the project Client ID and Secret ID (you’ll need this to proper link the agent/flow with this project)

Step 2: Set the project credentials

Connect your agent/flow with the nanomon project you’ve just created in Step 1. To do that set the following environment variables in your DSPy project:

Step 3: Set the API Url (self-hosted only)

We know that when running locally we all want to have control about what are the ports to be used, why and when, because of that we allow you to change the nanomon API Url simply by setting, in your DSPy project the environment variable
This way the agents will report to the nanomon api that is running in that url you defined.

Final Step: Configure your flow

As the final step you just have to configure your agent/flow to send monitoring data to your nanomon project. All you have to do is to:

Install nanomon

Add this code snippet to your code