runtime
Operate Potpie setup, daemon, backend, status, UI, and telemetry workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- runtime
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Operate Potpie setup, daemon, backend, status, UI, and telemetry workflows.
- disable-model-invocation
- true
02 资源文件 2
- 参考文档references/troubleshooting.md3.4 KB
- 参考文档references/workflow.md4.2 KB
03 SKILL.md 正文
Potpie runtime
Use this sub-skill when the task is about getting Potpie installed, initialized, reachable, or diagnosed before any graph, source, auth, or skill-management work.
Read this when
- The user asks about
potpie setup,potpie status,potpie doctor,potpie whoami,potpie config,potpie ui,potpie daemon,potpie backend, orpotpie telemetry. - A command reports
unavailable,daemon not running, backend startup problems, or missing install state. - You need a safe smoke check for the installed package or the public context APIs.
Do not use this for
- Pot/source tenancy and repo binding: read
../workspace-boundaries/SKILL.md. - Provider credentials or ledger binding: read
../auth-integrations/SKILL.md. - Graph reads or writes: read
../graph-read/SKILL.mdor../graph-write/SKILL.md. - Installing Potpie's bundled agent skills: read
../skills-management/SKILL.md.
Operating procedure
- Confirm the CLI is available:
potpie --versionandpotpie --help. - For published usage, prefer
uv tool install potpieorpython -m pip install potpie. In a live source checkout, the repo Makefile also exposesmake cli-installandmake cli-status. - Check runtime readiness with
potpie daemon statusfirst. It is safe when the daemon is stopped and distinguishes detached daemon state from package import failure. - Use
potpie setup --dry-runbefore first-run mutations when you need to preview repo binding, agent-skill installation, or host-mode choices. - Treat
potpie status,potpie doctor,potpie backend list, andpotpie skills statusas daemon-dependent. If they report unavailable whiledaemon statussaysup=False, diagnose daemon startup rather than reinstalling the package. - Use the bundled root helpers when you need quick checks:
../../scripts/potpie_smoke.sh../../scripts/typecheck_public_context_api.py../../scripts/generate_agent_contract.py
References
references/workflow.md— setup, daemon, backend, UI, telemetry, and smoke-check matrix.references/troubleshooting.md— install drift, daemon, backend, and telemetry failure handling.
Verification notes
- Safe native candidates include the root CLI bootstrap/status, install-status, daemon RPC/launcher, UI router, and telemetry CLI unit tests.
- No selected runtime workflow requires GPU or accelerator verification. A CUDA-capable torch wheel may be present, but it is not a required Potpie runtime backend for this skill.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).