Skip to main content

Chasqui stack generator — `uvx chasqui new <name>`: zero to a running WhatsApp AI agent in one command

Project description

chasqui — the stack generator

uvx chasqui new mi-agente

Zero to a configured, locally-running WhatsApp AI agent in one command — the rails new of the Chasqui stack.

The wizard asks only what becomes a .env variable (LLM provider/model, embeddings + dimension, where your Postgres is, service ports — so several stacks coexist —, WhatsApp credentials (how to get them), default language, first admin, optional media bucket / handoff notifications / deploy params) — then downloads the three services at a pinned release tag (degit-style, no git history), brands them, writes the .envs, generates the shared secrets, and provisions: uv sync + npm install + createdb + migrations + admin seed. Every step that can't run prints its manual command and the scaffold continues.

Nothing is locked in: everything the wizard wrote lives in the generated .envs and can be changed any time (the LLM applies on the next message). The only provision-time choice is EMBEDDING_DIM — baked into the schema on the first migrate.

Commands

uvx chasqui new <name>                  # the wizard
uvx chasqui new <name> --defaults       # non-interactive (CI-friendly placeholders)
uvx chasqui new <name> --skip-provision # write files only
uvx chasqui new <name> --ref main       # scaffold an unreleased stack ref
uvx chasqui new <name> --source ~/path  # copy a local stack checkout (dev)

chasqui generate module <name>          # scaffold a Tool Module (run inside a project)
chasqui generate module <name> --with-models --with-admin

Development

uv sync && uv run pytest
uv run chasqui new demo --defaults --skip-provision --source ~/path/to/chasqui

Design: ADR-005. Releases pin the stack tag (src/chasqui/stack.py): CLI vX.Y.Z scaffolds services vX.Y.Z.

License

Apache-2.0

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

chasqui-0.1.2.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

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

chasqui-0.1.2-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file chasqui-0.1.2.tar.gz.

File metadata

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

File hashes

Hashes for chasqui-0.1.2.tar.gz
Algorithm Hash digest
SHA256 841c054a20a0f3688eb122af2b67b9d5c638a9d1bccd4a0d2245fc8f647cddaf
MD5 7a7898e5ce458f0c94df18335e3cb6e2
BLAKE2b-256 427dd6028975a236784516bfe132165c534584e1dfc33390660f44f3a2ca7b83

See more details on using hashes here.

Provenance

The following attestation bundles were made for chasqui-0.1.2.tar.gz:

Publisher: publish.yml on chasqui-stack/cli

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

File details

Details for the file chasqui-0.1.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for chasqui-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 05d8622aa3b6b28002bf47ca5c249698b2974e65ca32a242be3aa694312333d7
MD5 305dd91057b86877c3653ed15857dcb2
BLAKE2b-256 0db112a86b6b82a9b65204c4ad17db4b1ba7e7ac22731e63a61e55c0f4a058fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for chasqui-0.1.2-py3-none-any.whl:

Publisher: publish.yml on chasqui-stack/cli

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