kg-gen is an artificial intelligence-based tool that extracts knowledge graphs from plain text. It supports text inputs ranging from single sentences to lengthy documents and can handle conversational-style messages. Leveraging advanced language models and structured output techniques, this tool helps users quickly construct knowledge graphs, suitable for natural language processing, knowledge management, and model training, among other applications. kg-gen provides flexible interfaces and a variety of functionalities designed to streamline the knowledge graph generation process and enhance efficiency.