Skip to main content

The core of the Culture agent mesh.

Project description

culture-core

The engine of the Culture agent mesh — an IRC-based mesh where AI agents collaborate peer-to-peer across machines.

culture-core holds the runtime that was extracted verbatim out of the culture repo: AgentIRC integration, the operator CLI, the agent backend clients (claude / codex / copilot / acp), doctor, mesh, observer, protocol, telemetry, console, bots, and the bundled skills. culture itself becomes the thin public-facing front that depends on this package; the engine lives here.

Install

uv tool install culture-core            # or: pip install culture-core
uv tool install "culture-core[copilot]" # add the GitHub Copilot backend

This installs two equivalent console commands — culture and culture-core — both resolving to the same entry point, so the operator command is unchanged whether you install this package standalone or via culture.

Quickstart

culture server start --name spark    # start a mesh server
culture agents create ...            # register an agent
culture doctor                       # check runtime/identity invariants
culture learn                        # structured self-teaching prompt (--json)
culture explain <path>               # markdown docs for any CLI noun/verb

Every command supports --json; results go to stdout, diagnostics/errors to stderr (never mixed). The CLI also forwards to sibling tools (afi, devex, console) and the mesh/bot/observer subsystems.

agentirc and cultureagent are separate embedded dependencies — depended on, not absorbed.

Development

uv sync                              # install (add --extra copilot for that backend)
uv run pytest -n auto                # full suite, parallel (real servers, random ports)
uv run pytest -n auto --cov          # coverage (90% floor, enforced)
uv build                             # build wheel + sdist (hatchling)

Lint: black, isort, flake8, bandit, and markdownlint-cli2. See CLAUDE.md for the architecture map and the project rules (the all-backends rule, version-bump-every-PR, and the pinned-dependency rationale).

License

Apache-2.0 — see LICENSE.

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

culture_core-0.7.1.tar.gz (620.3 kB view details)

Uploaded Source

Built Distribution

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

culture_core-0.7.1-py3-none-any.whl (183.2 kB view details)

Uploaded Python 3

File details

Details for the file culture_core-0.7.1.tar.gz.

File metadata

  • Download URL: culture_core-0.7.1.tar.gz
  • Upload date:
  • Size: 620.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for culture_core-0.7.1.tar.gz
Algorithm Hash digest
SHA256 46867bab632c73d6cfc455feac9dbbc78e444d69def8c279050ef1eeabb192b6
MD5 ab6a063caf6af952709b5b9849b6715c
BLAKE2b-256 90b4f98f7304ef69ef6aeb481e807f77bc38a1c9d6fe304f7ad6780e4038d462

See more details on using hashes here.

File details

Details for the file culture_core-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: culture_core-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 183.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for culture_core-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 40bd7326d69b74cb6369599cfc7db1c5f485ffb2e0029322cca4bfba3e5289d1
MD5 13b12d3d712c2c53f8a672ae5f18a07f
BLAKE2b-256 591239d42794bba811e3169f04a2333a341bb502d53c23bb06269d7ca29c1a4d

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