独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
K

KogenAI/kogen-loop

Standalone Go agent-loop library and CLI for Kogen and other callers

装之前:没有可直接复制的命令 · 许可证 Apache-2.0 · 链接可访问

第一步:这条暂时没有可执行的下一步,可先看原仓库 https://github.com/KogenAI/kogen-loop

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
★ 数取值
0 ★ · KogenAI/kogen-loop · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-30 · 最近见到 2026-11-14 · 共见到 16 次 · 被 2 个来源列出
评分构成
综合分 203 · 2 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 KogenAI/kogen-loop;我们收录于 2026-10-30;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# kogen-loop

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Standalone Go agent-loop library and CLI, using only the standard library. It repeats model requests → tool calls/results until a terminal call (default finish) or a no-call answer. An ending is a model claim, never proof of completion: the host decides what counts as done. Kogen retains delivery policy; this component does not execute shaping, approval, verification, review, commits or checkpoints.
## Start here
Caller contract v1: library loop/v1, process protocol kogen-loop/v1, strict tasks, events, errors, usage and cancellation.
Public schema (api/) and engine (loop/): independently callable Go interfaces, optional host hooks and standalone sessions.
Conformance tests and recorded fixtures: offline library and built-process behavior.
Testing rules.
Apache-2.0 license and NOTICE.
Extraction and reconciliation record, full reference manifest, and original candidate README.
## Build and run
Use Go 1.27.2 (see go.mod). No Cobra, Viper or third-party module dependencies are selected.
sh
go build -o bin/kogen-loop ./cmd/kogen-loop
bin/kogen-loop capabilities --json
bin/kogen-loop run --task task.json
bin/kogen-loop run --task - .json) remain compatible; no credentials are migrated or bundled. The one exception is openai-compatible: its saved key now carries the origin it was logged in for (Client.LoginWithBaseURL) and is sent only there, so a key saved earlier must be saved again; see the contract.
The CLI supports private atomic transcript resume (sessionresume: "transcript"), not Kogen checkpoints. Subagents and compaction are unsupported. Over-budget requests are refused rather than clipped. Missing usage is null, not estimated. Tool text is bounded to 16384 UTF-8 bytes (first 4096 kept); intercepted host outputs remain host-owned. These limits are fixed, not options: the 524288-byte input window (a smaller model-family bound still applies), the documentation tool's 16384-byte result and 8388608-byte response prefix, the provider's own parallel tool-call behavior and three default cache breakpoints. Cancellation and deadlines terminate shell process groups, including one that is still starting, before returning, and every round ends the groups it started whether it succeeds or fails (background processes live between its calls).
Shell calls have no per-call time limit (the shell definition says Commands have no time limit.); the lower-level sys.Options.Timeout and its custody observation are independent sys options. See the caller contract. The standalone whole-round deadlineseconds is a context deadline. Native membership observation includes zombies on Darwin (numeric KERNPROCPGRP) and Linux. Linux first uses kill(-pgid, 0) as a monotone presence witness: success or EPERM means the group is present, with no readable /proc needed, and pgid <= 1 is rejected before any kill. ESRCH alone never proves absence: Linux then enumerates /proc (zombies, state Z, included) and reads the group after the final ) of each stat. Entries that vanish (ENOENT/ESRCH) are skipped; unreadable entries (EPERM/EACCES) and malformed stat are remembered, and a later membership witness wins over them. Without a witness, any remembered error or listing failure is an observation failure; only ESRCH plus a complete error-free scan with no member is absent. A hidepid=1/noaccess mount makes final confirmation fail rather than report absence; with hidepid=2 (invisible) a hidden live member still cannot become absent because kill is a presence witness. Status as of 27 October 2026 (history): research had reproduced the ESRCH defect on Linux; this correction was source-qualified on Darwin and cross-built, with Linux runtime proof pending at delivery. A cross-build does not prove lifecycle behavior. Commit c7e8331 fixed two Linux test flakes; both tests passed 50/50 on eu2. Other platforms return sys.ErrTimeoutObservation after timeout signalling/teardown. Failed observation returns an empty result and that stopping error even without a context, never tool feedback.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/kogenai-kogen-loop/)
来源
github · https://github.com/KogenAI/kogen-loop
按领域浏览
开源项目
收录来源
2 个独立来源
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引