# 能力

| 层次 | 是什么 | 页面 |
| --- | --- | --- |
| Agentic Programming | 编程范式：Python 控制流程，LLM 负责推理。把任务拆成函数调用图；不需要推理的节点是普通 Python，需要理解、生成或判断的节点是调用 `llm(...)` 的 `Agent` 方法。顺序、状态和重试都是可单元测试的普通代码。 | [指南](https://fzkuji.github.io/OpenProgram/docs/capabilities/agentic-programming/README.zh.html)、[设计理念](https://fzkuji.github.io/OpenProgram/docs/capabilities/agentic-programming/philosophy.zh.html) |
| Agentic 工作流 | 基于该范式的完整工作流（代码里称 harness 或 agentic program），每个都是一个 git 仓库。其函数可在聊天里作为工具触发，也可直接运行。 | [概览](https://fzkuji.github.io/OpenProgram/docs/capabilities/workflows/README.zh.html)、[安装程序](https://fzkuji.github.io/OpenProgram/docs/capabilities/installing-programs.zh.html) |
| 扩展机制 | 不写 harness 也能增加能力。 | 见下 |

```
openprogram programs install <source>
openprogram programs list
openprogram programs run <name>
```

## 扩展机制

| 页面 | 增加 |
| --- | --- |
| [Skills](https://fzkuji.github.io/OpenProgram/docs/capabilities/skills.zh.html) | `SKILL.md` 注册表：按需加载的领域知识和操作手册 |
| [提交、推送、PR](https://fzkuji.github.io/OpenProgram/docs/capabilities/commit-push-pr.zh.html) | 没有内置命令；该用哪些工具 |
| [插件](https://fzkuji.github.io/OpenProgram/docs/capabilities/plugins.zh.html) | 来自 pip、npm、git 或本地路径的命令、技能、MCP 服务器等 |
| [MCP](https://fzkuji.github.io/OpenProgram/docs/capabilities/mcp.zh.html) | 任意 MCP 服务器，其工具直接出现在聊天里 |
| [内置工具](https://fzkuji.github.io/OpenProgram/docs/capabilities/tools.zh.html) | Shell、文件、网页搜索、图片、PDF 等，以及各自需要的密钥 |
| [配置 Agent](https://fzkuji.github.io/OpenProgram/docs/capabilities/agents.zh.html) | 模型、指令、能力、记忆、试运行对话 |
