Skip to main content

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

Project description

chasqui — the stack generator

uvx chasqui new mi-agente

Zero to a configured, locally-running AI chat agent in one command — the project generator of the Chasqui stack (pick your channels: WhatsApp, Telegram, embeddable web chat widget).

The wizard asks only what becomes a .env variable (LLM provider/model, embeddings + dimension, where your Postgres is, which channels to install, service ports — so several stacks coexist —, WhatsApp credentials (how to get them), the Telegram bot token, the web widget's allowed embed origins, default language, first admin, optional media bucket / handoff notifications / deploy params) — then downloads the 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.3.0.tar.gz (32.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.3.0-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chasqui-0.3.0.tar.gz
  • Upload date:
  • Size: 32.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.3.0.tar.gz
Algorithm Hash digest
SHA256 3f97c428db5d297f2ab6fc1a3fb89379e8aac6d9d5653b09e063bf5648831c68
MD5 9c21a1cc45f4ea87357e973058995b2e
BLAKE2b-256 7f53c2c91575f0a4cda9244f8892b74a03a8de1be7b555591b473db24db14862

See more details on using hashes here.

Provenance

The following attestation bundles were made for chasqui-0.3.0.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: chasqui-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 31.6 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5a4cebf03923442819c85814eb59a43ac401981598ea7c574451cf368710c6f
MD5 afc8af1681a25f504a3183ac66abc9f9
BLAKE2b-256 28ea20dbe4b2cea890aa9e1fa887ed16e75e9c6f24e6a57e94fb4eff8f97e0d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for chasqui-0.3.0-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