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.

https://github.com/user-attachments/assets/e4aaa9e4-69ec-40e3-8f5a-e4ec8c5b7208

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.0

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.0
File Size Uploaded Provenance Actions
nightfall_cli-0.1.0.tar.gz 53.1 kB With provenance Details for nightfall_cli-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 80.1 kB

Release files / nightfall_cli-0.1.0.tar.gz

Download URL nightfall_cli-0.1.0.tar.gz
Size 53.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a0c06a4b7bd706a5f435ef74ce47962274e3678e7d70e8a5c2b43cdd52dd993f
BLAKE2b-256 checksum
How to use checksums
3348b0e6bab86a406787e0f3a6888e3057fa5a5e7b8880732579f94c9197c8b2
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 13, 2026.

Transparency log

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

Download URL nightfall_cli-0.1.0-py3-none-any.whl
Size 27.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
912c128a6946a65a698b0c5c64bcf7073cb5baffcba1f86b3320460e8c3d69dd
BLAKE2b-256 checksum
How to use checksums
88bf21c6b89329d5da2b6bd2a3f8e36095fb74cf13bf6160c7e4dc549c6764cb
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 13, 2026.

Transparency log

Security for nightfall-cli 0.1.0

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.0.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 13, 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