cultureos
CultureOS - an operating system built on Culture, the AgentCulture agent mesh.
Status: early scaffold. This repo was generated from
culture-agent-templateand currently ships only the template's sibling-pattern baseline described below. CultureOS-specific functionality has not landed yet.
What's here
- An agent-first CLI cited from teken
(
afi-cli) — the runtime package has no third-party dependencies. - A mesh identity —
culture.yaml(suffix+backend) and the matching resident prompt file (CLAUDE.md, since this agent runsbackend: claude). The mesh resident is one of two separate selections over this clone — see Two selections, not one below. - Four harness prompt files, one per agent harness, each read by exactly
one of them (see Prompt files by harness below).
All four harnesses are usable interactively regardless of which one
culture.yamlnames as the mesh resident. - The canonical guildmaster skill kit under
.claude/skills/, vendored cite-don't-import, and exposed to the other harnesses through.qwen/skills,.colleague/skillsand.pi/skillssymlinks. Seedocs/skill-sources.md. - A build + deploy baseline — pytest, lint, the agent-first rubric gate, and PyPI Trusted Publishing wired into GitHub Actions.
Prompt files by harness
Four harnesses, four root files, no shared base — each file is read by exactly one harness:
| Harness | File(s) |
|---|---|
| Claude Code | CLAUDE.md |
| Pi / associate | AGENTS.override.md + .pi/SYSTEM.md |
| colleague | AGENTS.colleague.md |
| Qwen Code | QWEN.md |
Claude Code — CLAUDE.md is the fullest write-up of the repo's
conventions; read it first.
Pi / associate — AGENTS.override.md replaces this directory's
AGENTS.md/CLAUDE.md in Pi's context layer, so Pi does not inherit
CLAUDE.md. .pi/SYSTEM.md replaces Pi's default system prompt with the
non-coding associate identity (read/find/summarize only).
colleague — colleague's prompt cascade is AGENTS.md →
AGENTS.colleague.md → AGENTS.colleague.<model>.md. This repo ships only
the middle layer: there is no AGENTS.md (a shared base across harnesses was
considered and rejected) and no per-model override file.
Qwen Code — Qwen Code reads QWEN.md and AGENTS.md; since there is no
AGENTS.md, QWEN.md is its sole source of guidance.
There is intentionally no AGENTS.md at the root — each harness gets an
unrelated file rather than cascading from a shared base.
Two selections, not one
It is tempting to read "switch harness" as one decision. It is actually two, and this repo's layout exists partly to keep them separate:
- The interactive harness — which binary you run (
claude,pi,colleague,qwen).cdinto the clone and run any of them; all four are live simultaneously, and none of them requires editing a file or flipping a switch. A harness can be force-selected for one invocation (e.g. a CI smoke check) without ever touchingculture.yaml— seedocs/automation-contract.md. - The mesh resident — the single
backendculture.yamldeclares, which is what the Culture daemon starts and whatsteward doctorchecks.guild harness use <name>changes only this.
culture.yaml's backend affects (2) only. It never affects which harness
you can invoke interactively in (1). See
docs/harness-selection.md for the full
writeup, including who reads this config and why existing siblings are not
retrofitted by this arc.
Quickstart
uv sync
uv run pytest -n auto # run the test suite
uv run cultureos whoami # identity from culture.yaml
uv run cultureos learn # self-teaching prompt (add --json)
uv run teken cli doctor . --strict # the agent-first rubric gate CI runs
uv run python scripts/harness-smoke.py --stage config # all four harness configs
CLI
| Verb | What it does |
|---|---|
whoami |
Report this agent's nick, version, backend, and model from culture.yaml. |
learn |
Print a structured self-teaching prompt. |
explain <path> |
Markdown docs for any noun/verb path. |
overview |
Read-only descriptive snapshot of the agent. |
doctor |
Check the agent-identity invariants (prompt-file-present, backend-consistency). |
cli overview |
Describe the CLI surface itself. |
Every command supports --json. Results go to stdout, errors/diagnostics to
stderr (never mixed). Exit codes: 0 success, 1 user error, 2 environment
error, 3+ reserved.
Development conventions
- Every PR bumps the version (
version-bumpskill); CI'sversion-checkjob blocks merge otherwise. - PRs go through the
cicdskill (devex pr+ SonarCloud gating). - Lint: black, isort, flake8 (line length 100), bandit, markdownlint, plus
scripts/scan-secrets.pyand theteken cli doctor --strictrubric gate. - Pushing to
mainpublishes to PyPI via Trusted Publishing; PRs do a TestPyPI dry-run. - Vendored skills are cited verbatim — re-sync from guildmaster rather than
editing them (see
docs/skill-sources.md). - When conventions change, update all four harness prompt files together so they don't drift.
See CLAUDE.md for the full write-up (CLI architecture,
worktree layout, memory discipline).
The gate section
culture.yaml may carry a top-level gate section that declares how to set
up and test this repo, so tooling (for example a PR-fixer that re-runs the
checks before pushing) needs no per-repo knowledge:
gate:
setup:
- [uv, sync]
test:
- [uv, run, pytest, -n, auto]
setup and test are each a list of commands, and each command is an argv
list (never a shell string), run in order from the repo root. The values are
configuration only; no tool supplies a default. Culture's loader ignores
unknown top-level keys, so the section is safe alongside agents.
License
Apache 2.0 — see LICENSE.
Metadata
Release files for cultureos 0.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cultureos-0.12.0.tar.gz | 483.6 kB | Without provenance | Details for cultureos-0.12.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cultureos-0.12.0-py3-none-any.whl | Python 3 | none | any | Details for cultureos-0.12.0-py3-none-any.whl |
Total release size: 512.3 kB
Release files / cultureos-0.12.0.tar.gz
| Download URL | cultureos-0.12.0.tar.gz |
|---|---|
| Size | 483.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41c566b25ff7c6774d42fbac2fdde733a39c588220f65247ebb5df0eb09939aa
|
|
BLAKE2b-256 checksum How to use checksums |
53d611162bec43be0857ddcdaaa5036e7e1c1d4deb58809a6821f759b4634400
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / cultureos-0.12.0-py3-none-any.whl
| Download URL | cultureos-0.12.0-py3-none-any.whl |
|---|---|
| Size | 28.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f92bcef416e1d4de51b6c9716a1eaf4dd836fe0f5c2cbe3d4fa65700be1c32b2
|
|
BLAKE2b-256 checksum How to use checksums |
ec2f2c2c94fbdcf7d1beafe360739c1d5a06768cf63667b0800109f0cb1333d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for cultureos 0.12.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.