Nightshift — autonomous agent orchestrator with Firecracker VMs
Project description
Platform for securly running Agents with incredible devX
Nightshift
Nightshift runs AI agents in isolated Firecracker microVMs on bare-metal infrastructure. Each agent gets its own microVM with a dedicated filesystem, network, and resource limits; so agents can execute code, edit files, and make network calls without affecting the host or each other.
Installation
uv add nightshift-sdk
or
pip install nightshift-sdk
Quick Start
Define an agent with NightshiftApp and AgentConfig:
from nightshift import NightshiftApp, AgentConfig
from claude_agent_sdk import query, ClaudeAgentOptions
app = NightshiftApp()
@app.agent(
AgentConfig(
workspace="./my-project",
vcpu_count=2,
mem_size_mib=2048,
timeout_seconds=1800,
)
)
async def code_reviewer(prompt: str):
async for message in query(
prompt=prompt,
options=ClaudeAgentOptions(
cwd="/workspace",
allowed_tools=["Read", "Glob", "Grep"],
model="claude-sonnet-4-6",
),
):
yield message
Deploy to a platform running Nightshift:
nightshift login --url https://api.nightshift.sh
nightshift deploy agent.py
nightshift run code_reviewer --prompt "Review the auth module for security issues" --follow
Documentation
Full documentation at docs.nightshift.sh.
License
Apache 2.0 — see LICENSE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nightshift_sdk-0.4.3.tar.gz.
File metadata
- Download URL: nightshift_sdk-0.4.3.tar.gz
- Upload date:
- Size: 139.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32bba97c69d0d71ee47ca7c1f995bb025409bff46fc6679cefff65efa079bc9d
|
|
| MD5 |
ac9eef370b1566a4433665e32769450c
|
|
| BLAKE2b-256 |
a8e81e119cde04ea3b6efefb93f0862dd20e643dd09717e0cf871222f58d998e
|
File details
Details for the file nightshift_sdk-0.4.3-py3-none-any.whl.
File metadata
- Download URL: nightshift_sdk-0.4.3-py3-none-any.whl
- Upload date:
- Size: 51.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf84b4366bd13c85a385dba2c53e83eacf4a9b48bef270a91953fdd4cae70454
|
|
| MD5 |
53ac14f8e105ef6ca2e2eb07db616847
|
|
| BLAKE2b-256 |
aebf34fc689e9aea5fc1086935562cce6f1087357a8b26130cdebfcbfcd2f6ba
|