Home

Awesome

<p align="center" style="margin: 0; padding: 0;"> <img alt="helicone logo" src="https://github.com/user-attachments/assets/71c5896d-85e1-44fd-a966-0ac27170e343" width="400" style="display: block; margin: 0; padding: 0;"> </p> <div align="center">
🔍 Observability🕸️ Agent Tracing💬 Prompt Management
📊 Evaluations📚 Datasets🎛️ Fine-tuning
</div> <p align="center"> <img src="https://github.com/user-attachments/assets/e16332e9-d642-427e-b3ce-1a74a17f7b2c" alt="Open Source" width="600"> </a> <p align="center"> <a href="https://docs.helicone.ai/">Docs</a> • <a href="https://discord.gg/zsSTcH2qhG">Discord</a> • <a href="https://us.helicone.ai/roadmap">Roadmap</a> • <a href="https://www.helicone.ai/changelog">Changelog</a> • <a href="https://github.com/helicone/helicone/issues">Bug reports</a> </p> <p align="center"> <em><a href="https://helicone.ai/demo">See Helicone in Action! (Free)</a></em> </p> <p align="center"> <a href='https://github.com/helicone/helicone/graphs/contributors'><img src='https://img.shields.io/github/contributors/helicone/helicone?style=flat-square' alt='Contributors' /></a> <a href='https://github.com/helicone/helicone/stargazers'><img alt="GitHub stars" src="https://img.shields.io/github/stars/helicone/helicone?style=flat-square"/></a> <a href='https://github.com/helicone/helicone/pulse'><img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/helicone/helicone?style=flat-square"/></a> <a href='https://github.com/helicone/helicone/issues?q=is%3Aissue+is%3Aclosed'><img alt="GitHub closed issues" src="https://img.shields.io/github/issues-closed/helicone/helicone?style=flat-square"/></a> <a href='https://www.ycombinator.com/companies/helicone'><img alt="Y Combinator" src="https://img.shields.io/badge/Y%20Combinator-Helicone-orange?style=flat-square"/></a> </p>

Helicone is the all-in-one, open-source LLM developer platform

🎁 Generous monthly free tier (100k requests/month) - No credit card required!

Quick Start ⚡️ One line of code

  1. Get your write-only API key by signing up here.

  2. Update only the baseURL in your code:

    import OpenAI from "openai";
    
    const openai = new OpenAI({
      apiKey: process.env.OPENAI_API_KEY,
      baseURL: `https://oai.helicone.ai/v1/${process.env.HELICONE_API_KEY}`,
    });
    

or - use headers for more secure environments

import OpenAI from "openai";

const openai = new OpenAI({
  apiKey: process.env.OPENAI_API_KEY,
  baseURL: `https://oai.helicone.ai/v1`,
  defaultHeaders: {
   "Helicone-Auth": `Bearer ${process.env.HELICONE_API_KEY}`,
  },
});
  1. 🎉 You're all set! View your logs at Helicone.

This quick start uses Helicone Cloud with OpenAI. For other providers or self-hosted options, see below.

Get Started For Free

Helicone Cloud (Recommended)

The fastest and most reliable way to get started with Helicone. Get started for free at Helicone US or Helicone EU. Your first 100k requests are free every month, after which you'll pay based on usage. Try our demo to see Helicone in action!

Integrations: View our supported integrations.

Latency Concerns: Helicone's Cloud offering is deployed on Cloudflare workers and ensures the lowest latency (~10ms) add-on to your API requests. View our latency benchmarks.

Self-Hosting Open Source LLM Observability with Helicone

Docker

Helicone is simple to self-host and update. To get started locally, just use our docker-compose file.

Pre-Request:

# Clone the repository
git clone https://github.com/Helicone/helicone.git
cd docker
cp .env.example .env

# Start the services
docker compose up

Helm

For Enterprise workloads, we also have a production-ready Helm chart available. To access, contact us at enterprise@helicone.ai.

Manual (Not Recommended)

Manual deployment is not recommended. Please use Docker or Helm. If you must, follow the instructions here.

Architecture

Helicone is comprised of five services:

LLM Observability Integrations

Main Integrations

IntegrationSupportsDescription
Generic GatewayPython, Node.js, Python w/package, LangChain JS, LangChain, cURLFlexible integration method for various LLM providers
Async Logging (OpenLLMetry)JS/TS, PythonAsynchronous logging for multiple LLM platforms
OpenAIJS/TS, Python-
Azure OpenAIJS/TS, Python-
AnthropicJS/TS, Python-
OllamaJS/TSRun and use large language models locally
AWS BedrockJS/TS-
Gemini APIJS/TS-
Gemini Vertex AIJS/TSGemini models on Google Cloud's Vertex AI
Vercel AIJS/TSAI SDK for building AI-powered applications
AnyscaleJS/TS, Python-
TogetherAIJS/TS, Python-
HyperbolicJS/TS, PythonHigh-performance AI inference platform
GroqJS/TS, PythonHigh-performance models
DeepInfraJS/TS, PythonServerless AI inference for various models
OpenRouterJS/TS, PythonUnified API for multiple AI models
LiteLLMJS/TS, PythonProxy server supporting multiple LLM providers
Fireworks AIJS/TS, PythonFast inference API for open-source LLMs

Supported Frameworks

FrameworkSupportsDescription
LangChainJS/TS, Python-
LlamaIndexPythonFramework for building LLM-powered data applications
CrewAI-Framework for orchestrating role-playing AI agents
Big-AGIJS/TSGenerative AI suite
ModelFusionJS/TSAbstraction layer for integrating AI models into JavaScript and TypeScript applications

Other Integrations

IntegrationDescription
PostHogProduct analytics platform. Build custom dashboards.
RAGASEvaluation framework for retrieval-augmented generation
Open WebUIWeb interface for interacting with local LLMs
MetaGPTMulti-agent framework
Open DevinAI software engineer
Mem0 EmbedChainFramework for building RAG applications
DifyLLMOps platform for AI-native application development

This list may be out of date. Don't see your provider or framework? Check out the latest integrations in our docs. If not found there, request a new integration by contacting help@helicone.ai.

Community 🌍

Learn this repo with Greptile

learnthisrepo.com/helicone |

Contributing

We ❤️ our contributors! We warmly welcome contributions for documentation, integrations, costs, and feature requests.

License

Helicone is licensed under the Apache v2.0 License.

Additional Resources

For more information, visit our documentation.

Contributors

<a href="https://github.com/Helicone/helicone/graphs/contributors"> <img src="https://contrib.rocks/image?repo=Helicone/helicone" /> </a>