Registry / llm-agents / pykaos

pykaos

JSON →
library0.9.0pypypi✓ verified 24d ago

PyKaos is a lightweight operating system abstraction layer designed for agents. As of late 2025, the standalone `pykaos` library has been archived, and its development and functionality have been integrated into the `kimi-cli` monorepo. The last independent release was version 0.9.0.

pip install pykaos
INSTALL
IMPORT
SIG · PYKAOS
P
pykaos
llm-agentspythonv0.9.0
Install
2.5s avg
Import
57ms
Disk
33MB
Pass rate
4/ 10
Env Coverage4 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.9.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✕ build_error
py 3.11
✕ build_error
✕ build_error
py 3.12
✓ —
✓ 2.5s
py 3.13
✓ —
✓ 2.4s
py 3.9
✕ build_error
✕ build_error
33MB installed
● package 33MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Kaos
from kaos import Kaos
from pykaos import Kaos

This quickstart demonstrates basic usage of the deprecated `pykaos` library, specifically its filesystem and environment interaction capabilities. It is provided for historical context only. New projects should *not* use this library directly. Instead, refer to the `kaos` package within the `kimi-cli` project for current development practices and integrated functionality.

import os from pykaos import Kaos # NOTE: The standalone pykaos library is deprecated. # This example is illustrative for historical usage of pykaos v0.9.0. # For active development, refer to the 'kaos' package within the kimi-cli monorepo. def main(): kaos = Kaos() try: # Example: Listing files in the current directory using Kaos's filesystem abstraction print(f"Current directory content: {kaos.fs.listdir('.')}") # Example: Reading an environment variable api_key = kaos.env.get('MY_API_KEY', 'default_value') print(f"My API Key (from env or default): {api_key}") except Exception as e: print(f"An error occurred: {e}") if __name__ == '__main__': # Set a dummy environment variable for demonstration os.environ['MY_API_KEY'] = os.environ.get('MY_API_KEY', 'TEST_123') main()
Debug
Known issues
breakingThe standalone `pykaos` library has been officially archived on GitHub. Its development has ceased, and new features or bug fixes will not be released for this independent package.
fix
Migrate to the `kaos` package, which is part of the `kimi-cli` monorepo (https://github.com/MoonshotAI/kimi-cli/tree/main/packages/kaos).
affects: <=0.9.0
deprecatedUsers are strongly advised against starting new projects with `pykaos`. The project is no longer actively maintained as a separate entity.
fix
Utilize the `kaos` package within the `kimi-cli` monorepo for agent operating system abstraction needs.
affects: All versions
Upgrade
Version history
0.9.0latest on PyPI · released Apr 2, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
pykaos — pip install pykaos · libregistry