eve-agent-native-design by incept5/eve-skillpacks
npx skills add https://github.com/incept5/eve-skillpacks --skill eve-agent-native-design构建以智能体为一等公民的应用程序——而非事后补充。
在以下情况加载此技能:
每个用户操作都必须有对应的智能体操作路径。
在 Eve 上:CLI 即是对等层。如果用户可以通过 eve ... 完成操作,智能体也可以。构建应用时,请应用相同原则:
| 检查项 | 方法 |
|---|---|
| 智能体能否创建/读取/更新/删除每个实体? | 将 UI 操作映射到对应的 CLI/API 操作 |
| 是否存在仅限 UI 的工作流? | 将其暴露为 API 端点或 CLI 命令 |
| 智能体能否发现可用功能? | 为每种实体类型提供 list 操作 |
CRUD 完整性:对于应用中的每个实体,请验证智能体具有创建、读取、更新和删除的路径。缺少任何一项都会破坏对等性。
功能应源自智能体循环,而非单一庞大的工具。
Build applications where agents are first-class citizens — not afterthoughts.
Load this skill when:
Every user action must have an agent-equivalent path.
On Eve : The CLI IS the parity layer. If a user can do it through eve ..., an agent can too. When building your app, apply the same principle:
| Check | How |
|---|---|
| Can agents create/read/update/delete every entity? | Map UI actions to CLI/API equivalents |
| Are there UI-only workflows? | Expose them as API endpoints or CLI commands |
| Can agents discover what's available? | Provide list operations for every entity type |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
错误示例:deploy_and_monitor(app) —— 将判断逻辑捆绑在代码中
错误示例:classify_and_organize_files(files) —— 智能体应决定分类方式
正确示例:eve build create, eve build run, eve env deploy, eve job follow —— 智能体决定执行顺序
在 Eve 上:清单定义的是 WHAT(服务、流水线),智能体决定 HOW 和 WHEN 来组合它们。
设计测试:要改变行为,你是编辑文本(提示词/技能)还是重构代码?如果是代码——你的工具还不够原子化。
当工具是原子化的且存在对等性时,你通过编写提示词而非代码来添加能力。
Eve 示例:eve-pipelines-workflows 技能增加了流水线组合能力。无需新的 CLI 命令——该技能教会智能体组合现有的 eve pipeline 和 eve workflow 命令。
你的应用:如果添加功能需要新的 API 端点,你可能在捆绑逻辑。考虑现有的原语是否可以通过不同的方式组合。
构建原子化工具。智能体组合出意想不到的解决方案。你观察模式。优化常见模式。重复此过程。
Eve 示例:智能体组合 eve job create --parent + eve job dep add + 深度传播来构建任意的工作层次结构。平台并未规定这种做法——智能体从原子化原语中发现了它。
除了四大原则,Eve 还提供(或正在构建)特定的原语,使得智能体应用的构建显著简化:
在智能体之间传递计划、报告和见解,无需复杂的文件操作。将文本文档(markdown、JSON、YAML)附加到任务上。下游智能体从父任务读取附件。这解决了 80% 的“智能体传递结构化上下文”问题。
使用 eve auth mint(当前)或服务账户(即将推出)来认证应用后端。每个有后端的应用都需要一个非用户令牌来进行 API 调用。作用域权限强制执行最小权限原则。
智能体积累的知识可以超越单个任务:架构报告、风险评估、约定。基于数据库,支持全文搜索,并通过 PATCH 操作提供智能体原生的搜索/替换编辑功能。
根据你的需求选择:
POST /internal/orgs/:id/chat/route。完全控制增强、存储、路由。最适合生产级 SaaS。决策:如果你的应用需要拦截、增强或存储对话 → 使用 B。否则 → 使用 A。
组合视图、仪表盘以及任何跨越多个项目的工具。组织级端点消除了 N+1 API 调用问题。
完整目录(包含 API 模式和优先级排名)请参见 references/eve-horizon-primitives.md。
cat、grep、mv、mkdir.eve/manifest.yaml 作为单一事实来源 —— 智能体读取并编辑它agents.yaml、teams.yaml)—— 而非隐藏在数据库中{entity_type}/{entity_id}/content{entity}.json、{type}.md、agent_log.md系统提示词应包含:
Eve 将 EVE_API_URL、EVE_PROJECT_ID、EVE_ORG_ID、EVE_ENV_NAME 注入到每个环境中。技能提供领域词汇。
eve.status("success"、"failed"、"waiting")的 json-resultshouldContinue 用于多步骤操作eve job list 发现可用工作eve agents list 发现可用智能体list_available_types()),而非静态的端点-工具映射thinking、toolCall、toolResult、textResponse、statusChangeephemeralToolCalls架构:
实现:
如果构建带后端的应用:
| 反模式 | 修复方法 |
|---|---|
| 智能体仅作为路由器 | 让智能体行动,而不仅仅是路由 |
工作流形状的工具(analyze_and_deploy) | 拆分为原子化原语 |
| 仅限 UI 的操作 | 保持对等性 —— 添加 CLI/API 路径 |
| 上下文匮乏 | 通过技能和环境变量注入资源 |
| 无理由的限制 | 默认为开放;保持原语可用 |
| 启发式完成 | 使用显式完成信号 |
| 静态 API 映射 | 使用动态能力发现 |
| 将上下文塞进任务描述中 | 使用任务附件存放结构化文档 |
| 后端使用每用户令牌 | 使用服务账户 / eve auth mint |
| 轮询事件 | 使用可用的 webhooks(即将推出) |
完整平台原语目录(包含 API 模式、数据库设计和实现优先级排名)请参见 references/eve-horizon-primitives.md。
设计哲学来源:../eve-horizon/docs/ideas/agent-native-design.md
平台原语分析:../eve-horizon/docs/ideas/platform-primitives-for-agentic-apps.md
每周安装数
139
仓库
首次出现
2026 年 2 月 12 日
安全审计
安装于
gemini-cli139
codex139
claude-code137
pi53
opencode31
github-copilot31
CRUD Completeness : For every entity in your app, verify agents have Create, Read, Update, and Delete paths. Missing any one breaks parity.
Features emerge from agent loops, not monolithic tools.
Wrong : deploy_and_monitor(app) — bundles judgment into code Wrong : classify_and_organize_files(files) — agent should decide classification Right : eve build create, eve build run, eve env deploy, eve job follow — agent decides the sequence
On Eve : The manifest defines WHAT (services, pipelines), the agent decides HOW and WHEN to compose them.
Design test : To change behavior, do you edit prose (prompts/skills) or refactor code? If code — your tools aren't atomic enough.
When tools are atomic and parity exists, you add capabilities by writing prompts, not code.
Eve example : The eve-pipelines-workflows skill adds pipeline composition capability. No new CLI commands needed — the skill teaches agents to compose existing eve pipeline and eve workflow commands.
Your app : If adding a feature requires new API endpoints, you may be bundling logic. Consider whether existing primitives can be composed differently.
Build atomic tools. Agents compose unexpected solutions. You observe patterns. Optimize common patterns. Repeat.
Eve example : Agents compose eve job create --parent + eve job dep add + depth propagation to build arbitrary work hierarchies. The platform didn't prescribe this — agents discovered it from atomic primitives.
Beyond the four principles, Eve provides (or is building) specific primitives that make agentic apps dramatically simpler:
Pass plans, reports, and insights between agents without file gymnastics. Attach text documents (markdown, JSON, YAML) to jobs. Downstream agents read attachments from parent jobs. This solves 80% of the "agents passing structured context" problem.
Use eve auth mint (today) or service accounts (emerging) to authenticate app backends. Every app with a backend needs a non-user token for API calls. Scoped permissions enforce least privilege.
Agents accumulate knowledge that outlives individual jobs: architecture reports, risk assessments, conventions. DB-backed with full-text search and agent-native search/replace editing via PATCH operations.
Choose based on your needs:
POST /internal/orgs/:id/chat/route. Full control over enrichment, storage, routing. Best for production SaaS.Decision : If your app intercepts, enriches, or stores conversations → use B. Otherwise → use A.
Portfolio views, dashboards, and any tool spanning multiple projects. Org-level endpoints eliminate N+1 API calls.
See references/eve-horizon-primitives.md for the full catalog with API schemas and priority ranking.
cat, grep, mv, mkdir.eve/manifest.yaml as single source of truth — agents read and edit itagents.yaml, teams.yaml) — not hidden in databases{entity_type}/{entity_id}/content{entity}.json, {type}.md, agent_log.mdSystem prompts should include:
Eve injects EVE_API_URL, EVE_PROJECT_ID, EVE_ORG_ID, EVE_ENV_NAME into every environment. Skills provide domain vocabulary.
json-result with eve.status ("success", "failed", "waiting")shouldContinue for multi-step operationseve job list discovers available workeve agents list discovers available agentslist_available_types()) over static tool-per-endpoint mappingthinking, toolCall, toolResult, textResponse, statusChangeephemeralToolCalls for noisy internal operationsArchitecture:
Implementation:
If building an app with a backend:
| Anti-Pattern | Fix |
|---|---|
| Agent as router only | Let agents act, not just route |
Workflow-shaped tools (analyze_and_deploy) | Break into atomic primitives |
| UI-only actions | Maintain parity — add CLI/API paths |
| Context starvation | Inject resources via skills and env vars |
| Gates without reason | Default to open; keep primitives available |
| Heuristic completion | Use explicit completion signals |
| Static API mapping | Use dynamic capability discovery |
| Stuffing context in job descriptions | Use job attachments for structured docs |
| Per-user tokens for backends | Use service accounts / eve auth mint |
| Polling for events | Use webhooks when available (emerging) |
See references/eve-horizon-primitives.md for the full platform primitives catalog with API schemas, DB designs, and implementation priority ranking.
For the source philosophy: ../eve-horizon/docs/ideas/agent-native-design.md For platform primitives analysis: ../eve-horizon/docs/ideas/platform-primitives-for-agentic-apps.md
Weekly Installs
139
Repository
First Seen
Feb 12, 2026
Security Audits
Installed on
gemini-cli139
codex139
claude-code137
pi53
opencode31
github-copilot31
AI 代码实施计划编写技能 | 自动化开发任务分解与 TDD 流程规划工具
47,700 周安装
多智能体编排策略指南:从597+真实调度提炼的元编排模式与提示词构建
137 周安装
Info Card Designer - 自动生成杂志质感信息卡,适配X/Twitter、小红书分享,支持内容密度分析与超长分割
137 周安装
头脑风暴助手 - 使用Gemini AI系统生成创意想法,支持SCAMPER、六顶思考帽等方法
137 周安装
运行时性能审计器 - 异步代码性能优化与反模式检测工具
137 周安装
ln-723 种子数据生成器:多语言ORM模式解析与智能测试数据生成工具
137 周安装
Symfony测试替身模拟指南:TDD、PHP单元测试与Mocking实践
137 周安装