Skip to main content

Nightfall CLI

A minimal coding agent harness in Python, built to show how the pieces of a coding agent fit together.

This is the Nightfall CLI repository, a small coding-agent harness built from scratch.

Getting started

Install the project with uv:

uv sync

Configure an OpenAI-compatible endpoint and key in ~/.agents/env:

BASE_URL=https://your-endpoint/v1
API_KEY=your-api-key
MODEL=your-model-name

Start the agent from the repository root:

uv run nightfall

Use uv run nightfall --resume to resume the latest saved session or uv run nightfall --debug to display raw model responses. The sandbox backend is selected automatically for the host operating system.

Features

  • Interactive terminal chat
  • Tools for running shell commands, reading and writing files, and making targeted edits.
  • Configurable model and OpenAI-compatible API endpoint.
  • Tool permissions and shell sandboxing on macOS, Linux, and Windows
  • Skills loaded from project and user .agents/skills directories.
  • Subagents for exploring a codebase in a separate context window.
  • Todo tracking for tasks with multiple steps.
  • Saved chat sessions, with /sessions to reopen them and /rewind to go back in the conversation.
  • Automatic context compaction, plus /compact to trigger it manually.
  • Git branch context and reminders when files change between turns.

Metadata

Release files for nightfall-cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nightfall-cli 0.1.1
File Size Uploaded Provenance Actions
nightfall_cli-0.1.1.tar.gz 53.7 kB With provenance Details for nightfall_cli-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nightfall-cli 0.1.1
File Interpreter ABI Platform Actions
nightfall_cli-0.1.1-py3-none-any.whl Python 3 none any Details for nightfall_cli-0.1.1-py3-none-any.whl

Total release size: 81.3 kB

Release files / nightfall_cli-0.1.1.tar.gz

Download URL nightfall_cli-0.1.1.tar.gz
Size 53.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f0e94380d3cd7c94fc3c1b82508d9dc520e58a56dfe3b9855e0681ac9ee71d2f
BLAKE2b-256 checksum
How to use checksums
e249211ca507d63ddc163c5ec79b13aea17cc26f1671c22b0e1f79c83613862d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.

Transparency log

Release files / nightfall_cli-0.1.1-py3-none-any.whl

Download URL nightfall_cli-0.1.1-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
645125b86e62ed5d7fc676b0d9da7e83a9ce53e61525eb9cada9603c0b62c8a8
BLAKE2b-256 checksum
How to use checksums
5701b01e203a41c54d95a08ff56b9e51aeefb9288bdbde06526cd02d182f71b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.

Transparency log

Security for nightfall-cli 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nightfall_cli-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page