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.1.0.tar.gz (65.5 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.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ensayo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c08cdd2c7bc97a1418954ee237d0ced30984c9b4eb06dc1b4230e2f78113ba51
MD5 84bb61afd9caa8a1748892dc8e05eef1
BLAKE2b-256 482de52a1ad4787a9cd04417e97323d89de3c15ecf99da9661c9df2d59494475

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ensayo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 668380a71e56c2a473d4e89d5117cafc1e102c60555eecf32864deb29a919bdc
MD5 092077b00ce5f200b78107d50fdccfb8
BLAKE2b-256 9e3f4fc5ca9e7d199e20acf934d10dc8b20821f454cf2e39185973b6cad8fcbe

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