Skip to main content

Nightshift — autonomous agent orchestrator with Firecracker VMs

Project description

Kokapo

Nightshift

Platform for securly running Agents with incredible devX

PyPI

Website · Docs · Slack


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

nightshift_sdk-0.4.2.tar.gz (136.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nightshift_sdk-0.4.2-py3-none-any.whl (48.1 kB view details)

Uploaded Python 3

File details

Details for the file nightshift_sdk-0.4.2.tar.gz.

File metadata

  • Download URL: nightshift_sdk-0.4.2.tar.gz
  • Upload date:
  • Size: 136.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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

Hashes for nightshift_sdk-0.4.2.tar.gz
Algorithm Hash digest
SHA256 2f684bcaaa9a2641bef83bd464e0dd2233bd20bf27d2ef1bbac26993cbf29062
MD5 0c4924d2defb652f55b6d6c91d613f22
BLAKE2b-256 22d42631b963282a94910167264b707045572e061d11e58dd49b60cc785045e7

See more details on using hashes here.

File details

Details for the file nightshift_sdk-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: nightshift_sdk-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 48.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","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

Hashes for nightshift_sdk-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c42fd0b708cf8de52d810f0c7601c58601e075e231d232fb38f2cf64a3a2241
MD5 a9cc1d9bb9d722275ca18c2257da6fdd
BLAKE2b-256 3b0f7ebc6955abe20abe5980bc3b64848514d84bcc66bd84aac32101db1704b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page