# Karma Documentation ## Docs - [Introduction](https://docs.mellob.in/introduction.md): Introducing The Karma Suite. - [Usage Guidelines](https://docs.mellob.in/notes.md): Conventions and best practices when working with the Karma Go package. - [apigen Package](https://docs.mellob.in/packages/apigen.md): Generate OpenAPI-style documentation from Go structs and definitions using Karma’s APIGen utility. - [apir Package](https://docs.mellob.in/packages/apir.md): Reusable Go HTTP client for REST APIs with JSON support, file uploads, and custom headers. - [config Package](https://docs.mellob.in/packages/config.md): Load and manage environment variables using Karma’s configuration utilities. - [database Package](https://docs.mellob.in/packages/database.md): PostgreSQL ORM-style helpers with struct mapping, inserts, updates, and connection handling. - [errors Package](https://docs.mellob.in/packages/errors.md): Centralized error loading, retrieval, and writing using Karma’s error management system. - [Usage of Analytics](https://docs.mellob.in/packages/karma-ai/analytics-use.md): Enable analytics collection with Posthog's LLM observability for prompts, tool calls, and AI output. - [Basic usage](https://docs.mellob.in/packages/karma-ai/basic-use.md): Build chats, stream output, and work with messages and responses using Karma AI. - [Environment setup](https://docs.mellob.in/packages/karma-ai/env-setup.md): Configure API keys via .env for OpenAI, Anthropic, Grok (xAI), Gemini, and AWS Bedrock. - [Getting started](https://docs.mellob.in/packages/karma-ai/getting-started.md): Install the Karma AI package and make your first request in under 2 minutes. - [Usage with MCP](https://docs.mellob.in/packages/karma-ai/mcp-use.md): Call external tools through MCP with a single or multiple servers. - [Karma Memory AI](https://docs.mellob.in/packages/karma-ai/memory.md): Karma Memory is a sophisticated, long-term memory system for AI agents. It bridges the gap between stateless LLM calls and persistent, context-aware interactions by storing, retrieving, and managing memories using vector databases and intelligent caching. - [Configuring webhook](https://docs.mellob.in/packages/karmapay/configuring-webhook.md) - [Getting started](https://docs.mellob.in/packages/karmapay/getting-started.md) - [Introducing KarmaPay](https://docs.mellob.in/packages/karmapay/intro-karmapay.md): Centralized error loading, retrieval, and writing using Karma’s error management system. - [Payment verification](https://docs.mellob.in/packages/karmapay/payment-verification.md) - [mails package](https://docs.mellob.in/packages/mailer.md): Send your first email with Karma Mail in under 2 minutes. - [Quickstart](https://docs.mellob.in/quickstart.md): Learn how to install and start using the `karma` Go package for your project. ## OpenAPI Specs - [openapi](https://docs.mellob.in/api-reference/openapi.json) ## Optional - [Blog](https://blogs.mellob.in)