Skip to main content

Agent-native configuration control plane

Project description

chico

chico logo


CI PyPI - Python Version PyPI - License

chico is an agent-native configuration control plane — a deterministic reconciliation engine for distributed configuration state, designed for both humans and agents.

📖 Full documentation

✨ Why chico?

  • Keep your AI agent configuration in a Git repository and sync it automatically
  • Plan/apply lifecycle — preview every change before it happens
  • Automatic scheduling via cron (macOS/Linux) or Task Scheduler (Windows)
  • Structured JSON logging for full auditability
  • Works with any GitHub repository, public or private

⚡ Quick Start

Initialize chico with a GitHub source in one command:

chico-ai init \
  --source github \
  --repo Chico-inc/agents-patterns \
  --path patterns \
  --source-prefix patterns/ \
  --target kiro \
  --branch master

Then sync:

chico-ai sync

That's it — chico fetches every file under patterns/ from the repository and applies it to ~/.kiro/.

✅ Features

  • Sync configuration files from GitHub repositories to your local agent environment
  • Plan/apply lifecycle — see exactly what will change before committing
  • chico-ai sync — plan and apply in a single step
  • Automatic schedulingchico-ai schedule install --every 30 sets up a recurring sync
  • Recursive directory traversal — syncs nested folder structures automatically
  • UTF-8 and Latin-1 encoding support for international content
  • 100% test coverage

🔧 Requirements

Python
3.11+

💽 Installation

pip install chico-ai

Or with uv:

uv tool install chico-ai

Or run without installing:

uvx chico-ai --help

📦 Usage

Initialize

chico-ai init \
  --source github \
  --repo Chico-inc/agents-patterns \
  --path patterns \
  --source-prefix patterns/ \
  --target kiro \
  --branch master

Creates ~/.chico/config.yaml pre-populated and ready to use. For an empty config to edit manually:

chico-ai init

Plan

Preview what would change without writing anything to disk:

chico-ai plan

Apply

Apply the changes computed by plan:

chico-ai apply

Sync

Plan and apply in one step:

chico-ai sync

Schedule

Install a recurring sync (every 30 minutes by default):

chico-ai schedule install
chico-ai schedule install --every 15
chico-ai schedule status
chico-ai schedule uninstall

Environment variables

Variable Description
GITHUB_TOKEN GitHub personal access token for private repositories

⚙️ Configuration

chico reads ~/.chico/config.yaml:

sources:
  - name: agents-patterns
    type: github
    repo: Chico-inc/agents-patterns
    branch: master
    path: patterns
    source_prefix: patterns/
    target: kiro

providers:
  - name: kiro
    type: kiro
    level: global
Field Description
repo GitHub repository in owner/repo format
path Directory inside the repo to sync
source_prefix Prefix stripped from source paths when mapping to local files. Defaults to path
branch Branch to read from
target Provider name this source feeds into

👩🏼‍⚖️ License

This project is licensed under the terms of the MIT license.

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

chico_ai-1.0.0.tar.gz (934.4 kB view details)

Uploaded Source

Built Distribution

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

chico_ai-1.0.0-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

Details for the file chico_ai-1.0.0.tar.gz.

File metadata

  • Download URL: chico_ai-1.0.0.tar.gz
  • Upload date:
  • Size: 934.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chico_ai-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8c761736508bf0f16025135e48d55951f465e761596db53bb5626a84c6b9dc62
MD5 c16284b272caeb935f93a826c07cdd77
BLAKE2b-256 2badcf4fe7145eef407a36fe9be594fda90d1603495069ae9772b91b6120603b

See more details on using hashes here.

Provenance

The following attestation bundles were made for chico_ai-1.0.0.tar.gz:

Publisher: publish.yml on ceb10n/chico

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chico_ai-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: chico_ai-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 39.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chico_ai-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6be677f267e2d15351d4598c353652ceba876bac6331d1a92099afc4c62e6eb6
MD5 751d7e7eae48efdf5826dbef317b6370
BLAKE2b-256 f357e61aa05d81ab024cc30c65e78e0d11ee2b988db91abbc07e81aa8ccf39cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for chico_ai-1.0.0-py3-none-any.whl:

Publisher: publish.yml on ceb10n/chico

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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