Fraim provides comprehensive observability capabilities through Langfuse integration, enabling you to monitor, trace, and analyze your AI-powered security workflows in real-time.
Get your API credentials from the project settings:
Public Key
Secret Key
Configure environment variables:
Copy
# Add to your .env file or environmentLANGFUSE_PUBLIC_KEY=pk-lf-...LANGFUSE_SECRET_KEY=sk-lf-...LANGFUSE_HOST=https://cloud.langfuse.com # Optional, defaults to cloud
Open the Langfuse dashboard in your browser at http://localhost:3000.
Create your first project
Register an account (this is local to your self-hosted instance), create a new project, and get API keys for that project.
Configure environment variables:
Copy
# Add to your .env file or environmentLANGFUSE_PUBLIC_KEY=pk-lf-...LANGFUSE_SECRET_KEY=sk-lf-...LANGFUSE_HOST=http://localhost:3000 # Your self-hosted instance
Enable observability when running Fraim workflows by passing the --observability langfuse flag.For example, to enable observability for a code security analysis:
Copy
# Enable observability for a code security analysisuv run fraim --observability langfuse code --location /code