Skip to main content

Kartikeya

Skanda · Murugan — the six-faced commander of the divine armies, born to lead the devas. The engine that marshals and runs a fleet's tasks. Colloquially: Kart.

A standalone, host-agnostic task queue + sandboxed worker. Submit shell (or, optionally, LLM-workflow) tasks to a queue; a worker claims them and runs each in a bubblewrap sandbox with an explicit mount/credential/network policy.

Kartikeya is the execution engine extracted from the Willow fleet (willow-2.0/core/kart_*) and made to stand on its own — no fleet, no specific host, no required database server.

Status

Pre-alpha, under active extraction. This repo is the target of a staged lift described in docs/DESIGN.md. The scaffold and the TaskQueue interface are in place; the sandbox/worker/execute core is being decoupled from its origin and brought over next.

Design goals

  • Host-agnostic. The only coupling — "where do tasks live" — is a small TaskQueue interface a host implements. Kartikeya owns the sandbox, worker loop, lanes, and command scan; the host owns storage and file roots.
  • Zero-infra by default. Ships a reference SqliteTaskQueue, so pip install kartikeya can execute tasks with no Postgres and no fleet.
  • Backend-swappable. SQLite (bundled), Postgres, or a custom backend behind the same interface.
  • Sandboxed and network-gated. Tasks run network-isolated unless the stored task text carries a # allow_net directive; credentials reach only network- enabled tasks. (Who is allowed to write that directive is the host's call — see the security note in docs/DESIGN.md.)

Install

pip install kartikeya            # base: shell tasks, SQLite backend
pip install "kartikeya[postgres]"  # + Postgres backend helpers
pip install "kartikeya[llm]"       # + LLM-workflow task type

Quickstart

Coming with stage 2 — once the worker core lands, this section documents kartikeya worker end to end (submit → worker runs → poll).

License

MIT © Sean Campbell

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kartikeya-0.0.3.tar.gz (45.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kartikeya-0.0.3-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

Details for the file kartikeya-0.0.3.tar.gz.

File metadata

  • Download URL: kartikeya-0.0.3.tar.gz
  • Upload date:
  • Size: 45.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kartikeya-0.0.3.tar.gz
Algorithm Hash digest
SHA256 bfb7baa803141094993e7f9f825845f8b1f3297a7a5266cfbc69dce8ee171827
MD5 3f0cb4e00ebcd882171c1c01c168407f
BLAKE2b-256 81ac561cf2fd34f9ef72a72c1afa93b7c87b9b71fe26affb16045efa082558da

See more details on using hashes here.

File details

Details for the file kartikeya-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: kartikeya-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kartikeya-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 47e0822c5a7f833d4b6d7e3d8eb2dd82b6a9f22c1ad7e1ef1a600644d97881ec
MD5 4d26ebd594f4ab7a3e2b50927d8dd00c
BLAKE2b-256 5336fa34ece1f7f5711e4b3c5d187a3a5fc0e69cfd70896367f33847c7bcc084

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.7

2 files

0.0.5

2 files

This release

0.0.3 This release

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page