Skip to content
tylfinPublic

About

Personal Pi harness configuration with evaluations

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

pi-config

Checks

Version-controlled pi configuration and behavioral evals for AGENTS.md.

Packages

Set this repository as pi's global configuration directory with an absolute path:

export PI_CODING_AGENT_DIR="$HOME/path/to/pi-config"

Pi loads the root AGENTS.md and settings.json from that directory. Package declarations in settings.json are version controlled, while downloaded npm and git contents are ignored.

Add packages and pin their versions or refs:

pi install npm:@scope/package@1.2.3
pi install git:github.com/owner/repository@v1.2.3

Commit the resulting settings.json change. Do not use -l, which writes project-local .pi/settings.json instead. Use pi list to inspect configured packages and pi update --extensions to reconcile installed contents with their pinned declarations.

Credentials remain local in the ignored auth.json. Authenticate this config by running make login, then use /login in pi.

AGENTS.md evals

The pytest suite starts pi in isolated fixture directories beneath this repository, so pi discovers the repository's AGENTS.md. It disables optional resources to keep the instructions under test isolated. Cases are split into workflow, implementation, and structured-comment test modules.

The Python environment is managed by uv from pyproject.toml. Run all evals through Make:

make evals

Lint with ruff and type-check with ty, or run everything with make check:

make lint
make typecheck

Pass pytest arguments with PYTEST_ARGS to select evals or control output:

make evals PYTEST_ARGS='-k structured_comments -vv'

Use a particular model or thinking level by passing pi arguments through PI_EVAL_ARGS:

PI_EVAL_ARGS='--model openai-codex/gpt-5.3-codex --thinking low' make evals

Runs make model API calls using this repository as PI_CODING_AGENT_DIR, including its ignored auth.json. Outputs are written to evals/results/, and generated fixtures remain in evals/.work/ for debugging. Both directories are ignored by git.

About

Personal Pi harness configuration with evaluations

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages