Breey - 你的智能命令行助手
Project description
Breey - 你的智能命令行助手
Breey 是一个智能命令行助手,支持 AI 对话、天气查询、传感器数据等功能。
✨ 功能特性
- 🤖 AI 对话 - 支持 Ollama、OpenAI、Anthropic、Minimax 等多种 AI 服务
- 🌤️ 天气查询 - 实时查询全国城市天气信息
- 📊 传感器数据 - 支持树莓派传感器数据查询(可选)
- 📁 文件读取 - 支持文件读取与语法高亮
- 🛠️ 工具扩展 - 支持网页搜索等工具调用
- 🎯 智能路由 - 基于 LangGraph 的多 Agent 路由系统
🚀 快速开始
安装
pip install breey
使用
进入交互模式:
breey
或者使用子命令:
breey hello
breey read myfile.py
breey logs -n 50
breey config --show
📖 指令说明
交互模式指令
/help- 查看所有可用指令/model- 配置 AI 服务/model show- 查看当前 AI 配置/model reset- 重置 AI 配置/read <文件>- 读取文件/config name <名字>- 设置称呼/logs- 查看日志/logs -n 50- 查看最近 50 条日志/clear- 清空屏幕/exit- 退出
命令行子命令
breey hello # 打招呼
breey read <文件> # 读取文件
breey logs [-n 数量] # 查看日志
breey config [选项] # 配置管理
breey chat # 进入交互模式
🔧 配置
首次运行会自动引导配置 AI 服务:
- 选择 AI 提供商(Ollama / OpenAI / Anthropic / Minimax)
- 输入 API Key(如需要)
- 选择模型
📦 开发安装
git clone https://github.com/yourusername/breey.git
cd breey
pip install -e ".[dev]"
🤝 贡献
欢迎提交 Issue 和 Pull Request!
📄 许可证
MIT License
📬 联系方式
- GitHub: @yourusername
- Email: your.email@example.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
breey-0.3.0.tar.gz
(10.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
breey-0.3.0-py3-none-any.whl
(9.8 kB
view details)
File details
Details for the file breey-0.3.0.tar.gz.
File metadata
- Download URL: breey-0.3.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da45942aeb21b32b7d0a8ccb21e4a8de3d6eed333532ff47ce650e9e2676bba8
|
|
| MD5 |
3b954d564f7ac454ec48a9d0f62e47cb
|
|
| BLAKE2b-256 |
f954f67bd2e5a42b595e286ee30da358a960f7b89d6a73b9a93e1a16416436fa
|
File details
Details for the file breey-0.3.0-py3-none-any.whl.
File metadata
- Download URL: breey-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7505ac23be96e8187984a62182f1d7e971780a268903a47962c822d3cb8f903
|
|
| MD5 |
9b214db9ad68c72589c765c52ab5068c
|
|
| BLAKE2b-256 |
bde75833662389577080b773ca38142ee61eb76173474ad880a0e9fd88cd0f06
|