Skip to main content

culture-agents

Control plane for AgentCulture agents: direct dispatch, sessions, and lifecycle (dispatch, attach, steer, delegate, cancel, resume, supervise) over harness adapters, independent of chat.

The CLI ships as agents, the Python package is culture_agents, and the PyPI dist is culture-agents.

Status

Early: scaffold only. guildmaster provisioned this repo from culture-agent-template. Today it holds the agent-first CLI baseline, the mesh identity, the harness prompt files, the vendored skill kit, and CI. The control-plane features below are planned and not built yet. The plan is tracked in:

Where it fits (planned)

Culture = workspace. culture-agents = agent control. culture-chat = communication. culture-rules = automation.

Repo Owns
culture-agents Agent registry, direct dispatch and delegation, sessions and runs, live control (attach, steer, pause/resume, cancel, answer), supervision, harness adapters, authoritative run state
culture-chat Rooms, threads, participants, presence, history
culture-rules Workflow automation. It calls the culture-agents API when a workflow needs an agent.
embodiment An independent app built on culture-agents: realtime voice, barge-in, turn-taking, sensory events

Key principles:

  • Agents exist without chat. An agent can run, receive work and be supervised without joining a room. Chat is an optional surface, and losing it never kills a run.
  • Agents dispatch agents directly through the same authorized control API. There is no separate dispatch repo.
  • The harness layer sits behind an adapter boundary. Vercel AI SDK 7 HarnessAgent (Claude Code, Codex, OpenCode, Pi) replaces custom harness glue where it proves equivalent. Fleet dispatch, placement, idempotency and recovery stay here.
  • Consolidation: agent-lifecycle (supervision) and cultureagent (harness wrappers) merge in. They are archived only after compatibility and recovery tests pass.

Proposed CLI surface (not yet ratified):

agents agents list | status
agents runs submit | list | show | attach | steer | pause | resume | cancel | answer
agents runs logs | artifacts | result

Delivery runs through gates D0 (inventory, contract, and the TypeScript vs Python decision) to D6 (migration and deprecation). Details are in #2.

Quickstart

uv sync
uv run pytest -n auto                 # run the test suite
uv run agents whoami                  # identity from culture.yaml
uv run agents learn                   # self-teaching prompt (add --json)
uv run teken cli doctor . --strict    # the agent-first rubric gate CI runs

CLI (today)

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 and errors/diagnostics to stderr, never mixed. Exit codes: 0 success, 1 user error, 2 environment error, 3+ reserved. The runtime package has no third-party dependencies. The CLI was cited from teken (afi-cli).

What the repo carries

  • A mesh identity: culture.yaml (suffix: culture-agents, backend: claude) plus the matching resident prompt, CLAUDE.md.
  • Prompt files for five agent harnesses (see below).
  • The guildmaster skill kit under .claude/skills/, vendored cite-don't-import. See docs/skill-sources.md.
  • A build and deploy baseline: pytest, lint, a per-harness smoke check, the agent-first rubric gate, and PyPI Trusted Publishing in GitHub Actions.

Prompt files by harness

Harness File(s)
Claude Code CLAUDE.md
OpenCode AGENTS.md
Pi / associate AGENTS.override.md + .pi/SYSTEM.md
colleague AGENTS.md → AGENTS.colleague.md
Qwen Code QWEN.md + AGENTS.md

CLAUDE.md is the fullest write-up of the repo's conventions, so read it first.

AGENTS.md is OpenCode's file. OpenCode prefers it over CLAUDE.md and reads .claude/skills natively. colleague and Qwen Code load it too, so it holds harness-neutral project context. Pi never sees it, because AGENTS.override.md replaces it for this directory.

Two selections, not one

  1. The interactive harness is whichever binary you run (claude, pi, colleague, qwen, opencode). All five work over the same clone at once. Automation can force one per invocation without touching culture.yaml; see docs/automation-contract.md.
  2. The mesh resident is the single backend that culture.yaml declares. It is what the Culture daemon starts and what steward doctor checks.

See docs/harness-selection.md for the full writeup.

Contributing

  • Every PR bumps the version (the version-bump skill). CI's version-check job enforces this.
  • CI fails on any tracked Python file over 400 lines (scripts/check-file-length.py).
  • The vendored skills are cited verbatim. Fix them upstream in guildmaster.

The gate section

culture.yaml carries a top-level gate section that declares how to set up and test this repo. Tooling, such as a PR-fixer that re-runs the checks before pushing, then needs no per-repo knowledge:

gate:
  setup:
  - [uv, sync]
  test:
  - [uv, run, pytest, -n, auto]

setup and test are each a list of commands. Each command is an argv list (never a shell string), run in order from the repo root. These values are configuration only, and 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 culture-agents 0.16.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for culture-agents 0.16.1
File Size Uploaded Provenance Actions
culture_agents-0.16.1.tar.gz 1.2 MB Without provenance Details for culture_agents-0.16.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for culture-agents 0.16.1
File Interpreter ABI Platform Actions
culture_agents-0.16.1-py3-none-any.whl Python 3 none any Details for culture_agents-0.16.1-py3-none-any.whl

Total release size: 1.2 MB

Release files / culture_agents-0.16.1.tar.gz

Download URL culture_agents-0.16.1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
ea7c0d87b1a2ca09810abb8c8185a9f2edbc154bf76987900de548b456a10581
BLAKE2b-256 checksum
How to use checksums
ffaa7c02f583dde804b5af2da280a11c6052db38a4b03f3420c0970464a9b0f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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 / culture_agents-0.16.1-py3-none-any.whl

Download URL culture_agents-0.16.1-py3-none-any.whl
Size 73.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5491e55de4366233cae74fe66192c2d99b74487a77cba29aa89e7a9cf78b7b2b
BLAKE2b-256 checksum
How to use checksums
216e561bde3393a1ce6525dde4d0f748bbc8d6c87b9687f7c0c7c280bbe0b232
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","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 culture-agents 0.16.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page