Skip to main content

AI-native cron task runner for per-project scheduled prompts and commands.

Project description

kage 影 - Autonomous AI Project Agent

kage hero

English | 日本語

kage is an autonomous execution layer for project-specific AI agents. It schedules AI-driven tasks via cron, maintains state across runs using a persistent memory system, and provides advanced workflow controls.

Features

  • Autonomous Agent Logic: Automatically decomposes tasks into GFM checklists and tracks progress.
  • Persistent Memory: Stores task state in .kage/memory/ to maintain context.
  • Advanced Workflow Controls:
    • Execution Modes: continuous, once, autostop.
    • Concurrency Policy: allow, forbid (skip if running), replace (kill old).
    • Time Windows: Restrict execution using allowed_hours: "9-17" or denied_hours: "12".
  • Markdown-First: Define tasks using simple Markdown files with YAML front matter.
  • Layered Configuration: .kage/config.local.toml > .kage/config.toml > ~/.kage/config.toml > defaults.

Installation

curl -sSL https://raw.githubusercontent.com/igtm/kage/main/install.sh | bash

Task Example (.kage/tasks/audit.md)

---
name: Project Auditor
cron: "0 * * * *"
mode: continuous
concurrency_policy: forbid
allowed_hours: "9-18"
denied_hours: "12"
timezone: "Asia/Tokyo"
provider: gemini
---

# Task: Continuous Health Check
Analyze the current codebase for architectural drifts.

Commands

  • kage onboard: Global setup.
  • kage init: Initialize kage in the current directory.
  • kage run: Manually trigger tasks.
  • kage task list: List all tasks.
  • kage task show <name>: Show detailed configuration.
  • kage doctor: Diagnose configuration health.

Configuration

  • ~/.kage/config.toml: Global settings.
  • .kage/config.toml: Project-shared settings.
  • .kage/config.local.toml: Local overrides (git-ignored).
  • .kage/system_prompt.md: Project-specific system prompt.

Project details


Download files

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

Source Distribution

kage_ai-0.1.4.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

kage_ai-0.1.4-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

Details for the file kage_ai-0.1.4.tar.gz.

File metadata

  • Download URL: kage_ai-0.1.4.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kage_ai-0.1.4.tar.gz
Algorithm Hash digest
SHA256 48fa965c3f89d767f546c2b1a67e76c42ac509805442ad8e398669bdcb8ee370
MD5 3fe9be8df65438b69b1c655d4e8f17f6
BLAKE2b-256 d1e3274d96e6d2a816a327301e66ac6ec11ef7137ceffb95b4783d2865db6e20

See more details on using hashes here.

File details

Details for the file kage_ai-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: kage_ai-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kage_ai-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9e6718d7e57ec767ba2d9280fd249b8c94fbd2b34b92352bf3bebd34e04fa667
MD5 7c5996cc6e26513bda27e36d3192aa7d
BLAKE2b-256 6371db438735484c7126d965e732e849d8d53e384e76ad96c3a1b5f6f6fcfdd3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page