neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻譯準備中
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
Pre-alpha: Kora is an experimental language. It is not ready for
production workloads, and it has not yet earned independent security review
or adoption evidence.
Kora is a small language for policy-safe, replayable AI workflows over
sensitive documents. Its narrow goal is to make extraction and review jobs for
claims, invoices, compliance, and internal operations easier to inspect and
harder to run outside policy.
It is useful only if you need several of these guarantees together:檢視完整 README ↗Pre-alpha: Kora is an experimental language. It is not ready for production workloads, and it has not yet earned independent security review or adoption evidence.
Kora is a small language for policy-safe, replayable AI workflows over sensitive documents. Its narrow goal is to make extraction and review jobs for claims, invoices, compliance, and internal operations easier to inspect and harder to run outside policy.
It is useful only if you need several of these guarantees together:
If you only need to call a model, use Python or TypeScript. They have mature ecosystems and far lower adoption cost.
type Employee:
name: str
classified salary: int
type Assessment:
band: str
rationale: str
def review(employee: Employee) -> str:
declassify employee as approved for local_model:
result: Assessment = analyze(
approved,
"assess salary band and explain the result"
)
match result:
case Ok(assessment):
return f"{employee.name}: {assessment.band}"
case Uncertain(reason):
return f"human review: {reason}"
case Exhausted(meter):
return f"budget exhausted: {meter}"
case Failed(why):
return f"provider failed: {why}"
def main():
print(review(Employee("Maya", 142000)))
The declassification is valid only when the project policy names the same sink:
[models]
default = { name = "qwen2.5:7b", endpoint = "http://localhost:11434", api = "ollama" }
[sinks]
local_model = { allow = ["classified"] }
Then check and replay the committed examples:
kora check examples/03_salary_review.ko
kora run --replay examples/03_salary_review.ko
kora test examples/07_tests.ko
kora run checks the entry file before starting effects. kora check
currently checks local declared types, calls, constructors, field access,
control-flow placement, and direct classified flow into analyze. Unknown
values from dynamic integrations stay runtime-checked. Sink policy is enforced
again at runtime.
Ok, Uncertain, Exhausted, and Failed outcomes.parallel for with isolated worker values and shared budget accounting.ask_human when --durable is requested.These are release gates, not footnotes. See the roadmap for the validation plan.
curl -fsSL https://raw.githubusercontent.com/ImAbhishekTomar/kora-lang/main/scripts/install.sh | sh
Or use a package manager:
brew install ImAbhishekTomar/tap/kora
cargo install kora-cli
npm install -g @abhishektomar/kora-cli
Prebuilt archives for Linux, macOS, and Windows are on the releases page.
The repository includes runnable programs and recorded model responses:
kora run examples/00_basics.ko
kora run --replay examples/01_expense_check.ko
kora run --durable examples/19_durable_pipeline.ko
The first two require no API key. The durable example performs real local file effects, so run it in a disposable working directory when evaluating it.
| Resource | Purpose |
|---|---|
| Start here | Install and run the first checked program |
| Language reference | Syntax and semantics |
| Standard library | Built-in modules and safety behavior |
| CLI reference | Commands, config, replay, and durability |
| Decisions | Design choices and accepted trade-offs |
| Comparison | When Kora is and is not a sensible choice |
| Examples | Runnable workflows and tests |
Read AGENTS.md before changing the language. A construct is not finished until its compiler, runtime, editor, docs, examples, and tests agree.
cargo fmt --all
cargo clippy --all-targets --all-features
cargo test
cargo build && python3 scripts/check_docs.py --kora ./target/debug/kora
Apache-2.0