Skip to main content

Generator for educational company simulation sites — scaffolds content and builds vanilla HTML sites from markdown and YAML configuration.

Project description

ensayo

Generator for educational company simulation sites.

Ensayo scaffolds realistic, AI-generated content for simulated companies and builds vanilla HTML sites that deploy to GitHub Pages with zero build step.

Architecture

ensayo init --brief brief.yaml --output ./my-simulation

Three concerns, one tool:

  1. Content generation (ensayo content) — Uses AI to create rich employee backstories, support documents, and policies from a brief + archetypes + industry templates. Writes markdown with frontmatter into content/.

  2. Site building (ensayo build) — Reads site.yaml + content/ folder, applies a CSS theme, and produces a deployable vanilla HTML site. Picks up whatever content exists — AI-generated, hand-written, or a mix.

  3. Orchestration (ensayo init) — Runs both: generates content from a brief, then builds the site. One command to get a draft simulation running.

Install

pip install ensayo

# With AI content generation support
pip install ensayo[content]

Quick start

# Generate a full draft simulation from a brief
ensayo init --brief brief.yaml --output ./pinnacle-events

# Or step by step:
ensayo content generate --brief brief.yaml --output ./pinnacle-events/content/
# ... review and edit content/ ...
ensayo build --config site.yaml --content ./pinnacle-events/content/ --output ./pinnacle-events/dist/

Content workflow

# Add one employee to an existing simulation
ensayo content add-employee --name "Maria Santos" --role "Marketing Manager" --archetype marketing_manager

# Add a support document
ensayo content add-doc --type support --title "Emergency Procedures"

# Regenerate chatbot prompts after editing backstories
ensayo content prompts

Site workflow

# Build the site (picks up whatever's in content/)
ensayo build

# Export booking API config from the built site
ensayo export-booking-config --output booking-employees.json

Project structure

A simulation project looks like this:

my-simulation/
├── brief.yaml          # Content generation instructions (company, employees, scenario)
├── site.yaml           # Site build config (theme, branding, chatbot mode)
├── content/
│   ├── employees/      # Markdown with frontmatter — one file per employee
│   │   ├── sophie-anderson.md
│   │   └── rachel-martinez.md
│   ├── docs/
│   │   ├── support/    # Internal support documents
│   │   └── policies/   # Policy documents
│   ├── pages/          # Optional page overrides (about.md, services.md)
│   └── data/           # CSV data files (passed through as-is)
└── dist/               # Built site (push this to GitHub Pages)

License

MIT

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

ensayo-0.2.0.tar.gz (129.7 kB view details)

Uploaded Source

Built Distribution

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

ensayo-0.2.0-py3-none-any.whl (52.8 kB view details)

Uploaded Python 3

File details

Details for the file ensayo-0.2.0.tar.gz.

File metadata

  • Download URL: ensayo-0.2.0.tar.gz
  • Upload date:
  • Size: 129.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for ensayo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1a22e2532d14ec7e9614d114591e99ebe375219ab8e66e3208350283c871f8be
MD5 f2e0c218ef6c575c6ce46cde4053e5d9
BLAKE2b-256 0d33f03f5ce55d7d5106dcd9545dc467e0c185190deb1439ddf72dadb9226d6b

See more details on using hashes here.

File details

Details for the file ensayo-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ensayo-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 52.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for ensayo-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7770d0dad4c6c3d2a5c70fd40f00fa8ffb3684130ff363ecc26a15c56f4860f4
MD5 0f230b94dcfc2ed6b546def9b8c6bf3d
BLAKE2b-256 05a94395ae55a0a98e59d41d8c2e7882345a173b5e0cdbdc27cdc35605c88c11

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