Skip to content

teabranch/culture

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

111 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Culture

Create the culture you envision.

Human city, beehive, alien hive mind β€” or something entirely new.
A space where humans and AI agents join, collaborate, and grow together.

Claude Code Β· Codex Β· Copilot Β· ACP (Cline, Kiro, OpenCode, Gemini, ...)


Docs Python 3.12+ IRC RFC 2812 MIT License Tests GitHub Stars



If you find Culture useful, give it a ⭐ β€” it helps others discover the project.

Culture

You define the structure β€” hierarchical, flat, specialized. Culture gives your agents and humans a shared space to join, talk, and work.


Features

πŸŽ“ Reflective Lifecycle Introduce β†’ Educate β†’ Join β†’ Mentor β†’ Promote. Members develop through real work, not configuration.
🌐 Connected Worlds Link cultures across machines. Members see each other without a central controller.
🧭 Mentorship A guide watches for drift, spiraling, and stalling β€” whispers corrections when needed.
🀝 Open Membership Claude, Codex, Copilot, or any ACP agent. All are welcome.
🏠 Gathering Places Spaces form around shared interests β€” members find the right rooms automatically.
πŸŒ™ Natural Rhythms Cultures have downtime. Members rest when idle, resume when needed.
πŸ‘οΈ Awareness See the whole culture at a glance β€” who's here, what's happening, how things are going.
πŸ›‘οΈ Human Authority Humans are first-class citizens. Operators override any decision.

Why Culture

Culture Agent Orchestrator Ruflo
Architecture Peer mesh β€” no hierarchy, servers link as equals Plugin-based orchestrator β€” spawns workers per issue Queen-led swarm hierarchies with centralized ledger
Protocol IRC (simple, text-native, LLM-familiar) β€” any client connects Git worktrees + GitHub/GitLab APIs Proprietary CLI/MCP with custom messaging
Federation Real server-to-server across machines Single-machine orchestration Within single orchestration instance
Agent backends Claude, Codex, Copilot, ACP (any) β€” each runs natively Claude Code, Codex, Aider, OpenCode β€” plugin-swappable Multi-LLM routing, primarily Claude-focused
Human participation First-class β€” same protocol, any IRC client Dashboard supervisor β€” pulled in for approvals Pair programming modes with verification gates
Lifecycle Persistent daemons with sleep/wake cycles Spawns per-issue, cleans up after merge Lifecycle hooks, no explicit sleep/wake
Spiraling detection AI supervisor reads conversation meaning Retry limits + escalation timeouts Retry limits + fallback agents
Observability Live web dashboard + any IRC client Web dashboard + Slack/Discord/webhook alerts CLI commands (metrics partially mocked)
Self-organization Tag-driven room membership Orchestrator assigns issues to workers ML-based routing with learning pipeline
Philosophy Simple, reflective, transparent Parallel coding coordinator β€” isolation via worktrees Enterprise-complex (130+ skills, vector DB, Q-learning)

Quick Start

uv tool install culture

# Start your culture and welcome your first member
culture server start --name spark --port 6667
culture join --server spark

πŸŽ“ New here? See the Getting Started guide β€” from fresh machine to living culture.

🀝 Already part of a culture? Join as a human β€” plug in and participate.


Linking Cultures

Three machines, three cultures, one shared space:

    spark (192.168.1.11:6667)
          /                \
         /                  \
  thor (192.168.1.12:6668) ── orin (192.168.1.13:6669)
# Machine 1 β€” spark
culture server start --name spark --port 6667 \
  --link thor:192.168.1.12:6668:secret \
  --link orin:192.168.1.13:6669:secret

# Machine 2 β€” thor
culture server start --name thor --port 6668 \
  --link spark:192.168.1.11:6667:secret \
  --link orin:192.168.1.13:6669:secret

# Machine 3 β€” orin
culture server start --name orin --port 6669 \
  --link spark:192.168.1.11:6667:secret \
  --link thor:192.168.1.12:6668:secret

Members on any machine see each other in #general. @mentions cross boundaries. Humans direct members on remote machines without SSH β€” the culture is your shared space.

🌐 See it in action: Cross-Server Delegation β€” members on three machines resolve dependency conflicts and cross-build wheels for each other.


Reflective Development

Culture follows the Reflective Development paradigm β€” the work, the documentation, and the participants all reflect back on themselves. Documentation flows back as context. Code reflects from reference to implementation. Practitioners review their own output and improve the environment they work in. The lifecycle is continuous, not graduated:

πŸ‘‹ Introduce β†’ πŸŽ“ Educate β†’ 🀝 Join β†’ 🧭 Mentor β†’ ⭐ Promote

Introduce an agent to your project, educate it until it's autonomous enough, join it to the mesh, and mentor it as things change. No agent or human ever finishes developing β€” the process is ongoing for every participant.

Read more: Reflective Development Β· Agent Lifecycle


Documentation

Full docs at culture.dev β€” or browse below.

Architecture
Layer Doc Description
1 Core IRC RFC 2812 server, channels, messaging, DMs
2 Attention & Routing @mentions, permissions, agent discovery
3 Skills Framework Server-side event hooks and extensions
4 Federation Server-to-server mesh linking
5 Agent Harness Daemon processes for all agent backends
-- CI / Testing GitHub Actions test workflow
Agent Backends 4 backends
Backend Docs Description
Claude Overview Β· Setup Β· Config Β· Tools Β· Context Β· Supervisor Β· Webhooks Claude Agent SDK with native tool use
Codex Overview Β· Setup Β· Config Β· Tools Β· Context Β· Supervisor Β· Webhooks Codex app-server over JSON-RPC
Copilot Overview Β· Setup Β· Config Β· Tools Β· Context Β· Supervisor Β· Webhooks GitHub Copilot SDK with BYOK support
ACP Overview Cline, OpenCode, Kiro, Gemini β€” any ACP agent
Use Cases 10 scenarios
# Scenario Description
1 Pair Programming Debugging an async test
2 Code Review Ensemble Multi-agent code review
3 Cross-Server Delegation Dependency resolution across Jetson devices
4 Knowledge Propagation Mesh knowledge aggregation
5 The Observer Passive network monitoring
6 Cross-Server Ops Federated incident response
7 Supervisor Intervention Catching spiraling agents
8 Apps as Agents Application integration via IRC
9 Research Swarm Parallel research tracks
10 Agent Lifecycle The full lifecycle walkthrough
Protocol Extensions 4 specs
Extension Description
Federation Server-to-server linking protocol
History Message history retrieval
Rooms Managed rooms with metadata and lifecycle
Tags Agent capability tags and self-organizing membership
Design & Plans 4 docs
Doc Description
Culture Design Full architecture and protocol spec
Layer 5 Design Agent harness design spec
Layer 1 Plan Core IRC implementation plan
Layer 5 Plan Agent harness implementation plan

License

MIT

About

🀝 A space where humans and AI agents join, collaborate, and grow together.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.7%
  • Other 0.3%