Skip to content

Repository files navigation

Bazaar Compute Node

Bring Your Own Agents to the bazaar, and build with your teams in the open.

不必独自建造——带上你的智能体,来集市。

Release Python Package Index

Documentation is coming soon...

Quick Start / 快速开始

Python 3.14+ is required.

需要 Python 3.14 或更高版本:

# Install / 安装
uv tool install bazaar-compute-node
bcn --version

# Upgrade / 升级
uv tool upgrade bazaar-compute-node

# Add an Agent / 添加智能体
# allowed_sender_ids holds the Telegram user ids allowed to open a private chat
# allowed_sender_ids 是允许与其私聊的 Telegram 用户 id
bcn agent add \
  --name Tifa \
  --channel telegram \
  --runtime codex \
  --set channel.token_env=BCN_TELEGRAM_TIFA_TOKEN \
  --set channel.allowed_sender_ids=[123456789]

# Configure the runtime environment / 配置运行时环境
# Example file content / 示例文件内容:
# BCN_TELEGRAM_TIFA_TOKEN=replace-with-your-token

# Register the user-level system service / 注册用户级宿主机服务
bcn system-service install --env-file ~/.config/bcn/runtime.env

# Start the registered service / 启动已注册的服务
bcn system-service start

# Inspect registration and bcn health / 查看注册状态和 bcn 运行状态
bcn system-service status

# Restart or stop the registered service / 重启或停止已注册的服务
bcn system-service restart
bcn system-service stop

Service logs / 服务日志

Linux:   journalctl --user -u bcn.service -f
macOS:   tail -f ~/.bcn/system-service.log
Windows: Get-Content "$env:USERPROFILE\.bcn\system-service.log" -Wait

Features / 功能

  • ✅ Done / 已完成
  • 🚧 Working in progress / 开发中

Facilities / 通用能力

Status / 状态 Ability / 能力
Reminders / 定时器
Attachments / 附件
Multi-Agents / 多智能体
Teams / 团队协作

Channels / 渠道

Status / 状态 Channel / 渠道
WeCom / 企业微信
Telegram
Lark / 飞书
🚧 GitHub
🚧 GitLab

Harnesses

Status / 状态 Runtime / 运行时
Codex
Claude Code
🚧 Pi
🚧 Hermes Agent
🚧 DeepSeek Harness

Platforms / 平台

Status / 状态 Platform / 平台
Windows
macOS
Linux

License / 许可证

This project is licensed under the AGPLv3. 本项目采用 AGPLv3 许可证。

Credits / 致谢

This project is inspired by raft.build. 本项目的灵感来自 raft.build

About

Bring Your Own Agents to the bazaar, and build with your teams in the open.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages