{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/5"}],"enrichment":{"capability":"Kosong is an LLM abstraction layer that unifies message structures and asynchronous tool orchestration across multiple chat providers, letting you build AI agents without vendor lock-in.","skillfed_tags":["llm-abstraction","multi-provider","async-agents"],"use_cases":["Build multi-provider AI agents that can switch between Kimi, Anthropic, Google Gemini, and OpenAI without code changes.","Implement tool-calling workflows where the LLM orchestrates function execution asynchronously across a defined toolset.","Stream LLM responses in real time while maintaining a unified message history and provider abstraction.","Prototype and test agent behavior across different LLM backends to compare cost, latency, and output quality.","Standardize message structures and chat logic across multiple projects using a single abstraction layer."],"what_it_does":"Kosong is an LLM abstraction layer designed to unify how you interact with multiple large language model providers. It standardizes message structures, handles asynchronous tool orchestration, and lets you swap between providers (Kimi, Anthropic, Google Gemini, OpenAI) without rewriting your agent logic. The package is built on pydantic for schema validation, loguru for logging, and mcp for protocol support, and it exposes a simple async API for chat completion, streaming, and tool calling.\n\nYou use it by instantiating a chat provider, building a message history, and calling kosong.generate() or kosong.step() to get responses. Tool calling is handled through a pluggable toolset interface where you define tools as pydantic-based classes. This design avoids vendor lock-in and lets you experiment with different LLM backends without changing application code.","worth_installing":"Yes, with conditions. Kosong is actively maintained and has low install friction, making it a solid choice for building multi-provider AI agents. However, the package is very new (first release 2025-10-15) and has no recorded license metadata\u2014verify the license terms before using in proprietary work, and expect the API to evolve. If you need vendor-agnostic LLM abstraction and are comfortable with a young codebase, it's worth trying."},"id":"kosong","links":{"html":"https://skillfed.io/packages/kosong","md":"https://skillfed.io/packages/kosong.md","pypi":"https://pypi.org/project/kosong/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-03","license_spdx":null,"license_treatment":"unclear","name":"kosong","python_support":"supports_current","summary":"The LLM abstraction layer for modern AI agent applications."},"popularity":{"monthly_downloads":503181,"position":6306,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.56.0"}
