经 AI Skill Hub 精选评估,Empirica 获评「推荐使用」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
Empirica 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Empirica 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install empirica
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install empirica
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/Nubaeon/empirica
cd empirica
pip install -e .
# 验证安装
python -c "import empirica; print('安装成功')"
# 命令行使用
empirica --help
# 基本用法
empirica input_file -o output_file
# Python 代码中调用
import empirica
# 示例
result = empirica.process("input")
print(result)
# empirica 配置文件示例(config.yml) app: name: "empirica" debug: false log_level: "INFO" # 运行时指定配置文件 empirica --config config.yml # 或通过环境变量配置 export EMPIRICA_API_KEY="your-key" export EMPIRICA_OUTPUT_DIR="./output"
We Gave AI a Mirror. Now It Measures What It Believes.
Epistemic infrastructure for AI — measurement, memory, and calibration across sessions.
Empirica tracks what AI knows, gates what it does, and compounds learning across session boundaries. It measures the gap between what AI predicts and what's true — making AI agents measurably more reliable.
Training & Guides | CLI Reference | Architecture
Important: Empirica is an AI measurement framework. It has no cryptocurrency, token, coin, or blockchain component. Any token using the Empirica name (including "$EMPIRICA" on Solana) is unauthorized and not affiliated with this project or Empirica AI GmbH.
---
cortex-mailbox-send skill (4c09b6174) — paired to cortex-mailbox-poll. Documentsc0fcc071c) — when a listener Monitor is armedWHEN TO LOAD SKILLS section in both templates (c0fcc071c) — behavioral loadTRANSACTION DISCIPLINE (c0fcc071c) —create_github_release in scripts/release.py (57870621c). When theupdate_homebrew_tap diagnostics (57870621c). Per-candidate path loggingS110 noqa-with-reason on the ai_id fallback infcd4ed0fa, c9981f35e). Listener subscribes withGoal-criterion bridge — quality gates that auto-evaluate
- criterion_evaluators package — validation_method-keyed registry. Goals declare quality_gate:<metric>@<op>:<threshold> and the bridge routes to the right evaluator at POSTFLIGHT. - EvidenceMetricEvaluator — auto-evaluates any criterion whose metric matches an evidence bundle key (test pass-rate, ruff violations, stylometry drift, etc.). - Typed criterion parser — `goals-create --success-criteria "quality_gate:test_pass_rate@>=:0.95"` parses to typed CriterionDeclaration.
Stylometric drift collector — voice consistency for outreach work
~/.empirica/voice/<name>.fingerprint.jsonContent-aware source provenance nudge — fires at moment of artifact creation when text shows citation but no --source. Closes 0% adoption gap.
Bulk project-link CLI — projects-discover / projects-list / projects-bulk-register (Cortex-dependent).
Live-scan semantic index — semantic_index.json regenerates when source docs are newer than the cache.
Sentinel quote-aware shell parsing — false-positive > in quoted code fixed (_has_dangerous_redirects now uses _contains_outside_quotes).
Template version parameterization (Philipp #100) — CLAUDE.md and empirica-system-prompt-lean.md use {{ empirica_version }} and {{ generated_date }} placeholders. Drift cannot recur.
Documentation refresh — UPGRADE_TO_1.9.md (replaces 1.7), full rewrite of PROJECT_SWITCHING_FOR_AIS.md, TMUX_MULTI_PANE_GUIDE.md cockpit section.
empirica commit-context <sha> (new CLI). Aggregates artifacts--depth N recursive walker. Walks edges from each artifact's*-log commands. All sixedge_density_nudge — POSTFLIGHT retrospective +sources_discipline_nudge — same shape, counts artifacts--status {planned|in_progress|completed|all|drift} flagdrift mode surfaces rows where the status text andis_completed = 0 as the canonical- Listener subsystem — sister to cron loops, event-driven not scheduled. empirica listener register/heartbeat/list + cockpit E binding + project.yaml install hook. - Mechanical pause for loops — pause now cancels the next-fire CronCreate token so paused really means silent (no token bleed). - Cockpit sweep — domain·criticality chip per row, compliance panel with green/yellow/red glyph, services panel for scanner snapshots.
- #95 root-cause cluster closed — Cortex sync reads project_id from session row (no CWD); _run_grounded_verification accepts project_path; resolve_project_id raises ProjectNotFoundError instead of sys.exit(1). SystemExit-walks-through-Exception hazard closed at the source. - Per-project compliance.yaml — projects can skip_checks, declare extra_checks with regulatory mapping, override repo_hygiene sub-checks. Non-CLI/server projects no longer fail tech_docs. - KNOWN_ISSUES 11.29 + 11.30 — instance_isolation audit-trail entries for the subagent CLI bleed fix and the SystemExit propagation chain.
- Validate-and-heal session.project_id at session boundaries — catches the ghost-project_id pattern (cross-project --resume, ambiguous folder_name match, tmux pane reuse). Heals at post-compact CONTINUE_TRANSACTION + NEW_SESSION_PREFLIGHT and at session-init resume. Workspace.db trajectory_path is the canonical lookup — never folder_name (no 11.10/11.27 regression). - Voice CLI — empirica voice list / show / apply loads prosodic profiles for outreach drafting. Profiles in ~/.empirica/voice/*.yaml with project-local override at .empirica/voice/. Voice samples themselves stay in Cortex/Qdrant; this CLI is the calling surface. - PREFLIGHT voice_guidance block — when work_type=comms or the new voice field/--voice flag is set, response includes voice tendencies + anti-patterns scoped to platform register (mirrors the noetic_guidance pattern). - Subagent CLI bleed fix (#95 Issue 1) — subagent-start now writes ~/.empirica/active_work_<subagent_uuid>.json with is_subagent: true so the subagent's CLI calls resolve to their own child_session_id instead of falling through to the parent's via TTY. sentinel-gate._detect_subagent reads the flag. subagent-stop cleans up. - POSTFLIGHT pipeline restructure (#95 Issue 3) — Stage 0 pre-validates session row + project_id BEFORE any state mutation; failure → early return with loop_state: "open". Stages 5-7 wrapped in _soft_run — failures accumulate into result["warnings"] without erasing the closed-loop reflex. No more half-success.
- Notify dispatcher — single CLI verb (`empirica notify emit/config/ backends/test`) every loop and hook calls. Three v1 backends (stdout, rotating JSONL log, ntfy) with first-match-wins routing and fail-loud fallback to stdout when a backend isn't configured. Always-on audit at ~/.empirica/notify-dispatcher.jsonl. Cockpit + TUI surface 5 most recent emits, backend status, 24h fallback count, and a failure banner. See docs/architecture/NOTIFY.md. - Project-scoped TUI notifications — per-instance notifications strip now reads ~/.empirica/enp/pending.json (the file the ENP watcher actually writes). Top-bar ⊕N shows total unacked across all projects. - empirica goals-prune — bulk goal cleanup with four modes (test-pollution, planned, auto-stale, duplicates). Dry-run by default. - Empirica Cockpit — multi-instance state visibility + per-instance controls. empirica status [--all] overview, empirica tui interactive Textual app, `empirica sentinel|loop|instance` subcommand groups. See docs/architecture/COCKPIT.md. - Loop exponential backoff — empty fires lengthen the gap; found/fail snap back to base (15m → 30m → 1h → 2h → 4h cap). - noetic-batch CLI primitive — bundles N reads/greps/globs/investigate into one Sentinel-noetic call.
setup-claude-code --lean--global searches ALL projects' Qdrant collectionsfinding-log --project-id <name> writes to another projectempirica-integration → empirica. Run setup-claude-code --forceprofile-sync, profile-prune, profile-status---
pip install empirica
empirica setup-claude-code
Then just start working. The hooks, Sentinel, system prompt, statusline, and MCP server are all configured automatically. See Claude Code Setup for details.
Already have Claude Code configured? Use --force to replace your default Claude Code settings with Empirica's epistemic hooks. Without --force, setup only writes files that don't already exist — so if you've already used Claude Code, the default internals stay in place and Empirica's hooks won't activate.
empirica setup-claude-code --force
--force replaces hooks in settings.json but only removes Empirica's own hooks — hooks from other plugins (Railway, Superpowers, etc.) are preserved.
<details> <summary>Homebrew (macOS)</summary>
brew tap nubaeon/tap
brew install empirica
empirica setup-claude-code </details>
<details> <summary>Docker</summary>
```bash
Empirica是一个有前景的AI工作流平台,值得关注
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:Empirica 的核心功能完整,质量良好。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | empirica |
| 原始描述 | 开源AI工作流: Make AI agents and AI workflows measurably reliable. Epistemic measurement, No。⭐226 · Python |
| Topics | ai-agentsai-workflowspython |
| GitHub | https://github.com/Nubaeon/empirica |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-26 · 更新时间:2026-05-26 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端