This release is a pre-release and may not be stable for production use.
One prompt. The whole software lifecycle.
Portacode is an AI software builder and operator. Describe the outcome you want and its AI can provision a real computer, build the frontend and backend, test the application in a browser, deploy it, monitor it, and help repair failures. No coding or server setup is required to start.
Unlike builders that stop at a preview or exported repository, Portacode gives you the complete working system: source, data, services, containers, configuration, and runtime. Start on Portacode-hosted infrastructure, or connect your own machine when you want to. The result remains portable either way.
Start building · Deployment templates · Android app · Report an issue
Portacode's AI can carry work across the application lifecycle:
You can begin with an ordinary-language request and let Portacode choose the environment and handle the engineering. If you want more control later, the real files, Git repository, terminal, browser, processes, services, and infrastructure remain available. There is no approved-stack list: if a language, framework, database, or binary runs on the underlying Linux machine, it can be part of the project.
Portacode itself is mobile-first. Direct the AI, inspect files and diffs, use terminals, deploy services, monitor machines, and respond to alerts from a phone, tablet, or desktop. This is separate from the kind of application you build: Portacode can work with whichever web, desktop, or mobile stack the project requires.
Ownership in Portacode means more than downloading a code repository. Source, application data, containers, services, and configuration remain ordinary assets on a real machine. Use Portacode-hosted capacity for a zero-setup start, connect a computer or VPS you already have, or provision against supported self-hosted infrastructure. Back up or move the complete project when your needs change.
AI access remains controllable and reviewable. Inspect project state and line-by-line diffs, grant access only to selected devices or repositories, and decide what the agent may change.
Start at portacode.com, describe the outcome you want, and let Portacode prepare the workspace. You do not need to install this package or supply a server first.
The rest of this README documents the optional device agent for bringing an existing machine into Portacode.
Portacode's Python package is the device-side CLI and agent. It connects an existing Linux/Python-capable machine to your Portacode account so the web workspace can work with its projects and developer tools.
The command has this form; use the short-lived code displayed in your own dashboard:
curl -fsSL https://portacode.com/static/activate_portacode.sh \ | bash -s -- --pairing-code YOUR_CODE Review the downloaded script before running it if that is required by your environment. See the pairing guide for supported distributions, a fully manual installation, and Proxmox-specific setup.
On macOS, run this command in Terminal. Setup uses an existing Python or Homebrew, and installs a per-user launchd login agent. If neither Python nor Homebrew is available, it explains how to install Python before retrying.
Select Windows in the dashboard pairing dialog and run its command in PowerShell, using the current pairing code:
& ([scriptblock]::Create((Invoke-RestMethod 'https://portacode.com/static/activate_portacode.ps1'))) -PairingCode 'YOUR_CODE' The Windows toggle selects the installation scope before you copy the command:
The command passes -InstallScope CurrentUser or -InstallScope AllUsers. Setup installs Python with winget if needed. All-users setup requires a machine-wide Python installation and checks administrator access before making changes. Existing login-task installations keep their current service manager.
For Windows updates, run Python from that virtual environment in PowerShell:
& "$env:LOCALAPPDATA\Portacode\venv\Scripts\python.exe" -m portacode setversion latest Replace latest with an exact version to install a prerelease. Windows locks portacode.exe while it runs, so portacode setversion cannot replace its own launcher. Commands such as portacode -v and portacode service status still work directly. If setup uses a custom install directory, use its Python path. For an all-users installation, use the Python under %ProgramFiles% and run the update from an administrator PowerShell.
If you already have a suitable Python environment:
python -m pip install --upgrade portacode portacode connect --pairing-code YOUR_CODE \ --device-name "My Linux Device" \ --project-path /absolute/path/to/project Approve the request in the dashboard. The device stores its identity locally and reuses it for later connections. For an always-on connection, install the supervised service after pairing:
portacode service install portacode service status Follow the service logs live (press Ctrl+C to detach without stopping the service):
portacode service logs portacode service logs --level warning --categories connection,auth portacode service logs --no-follow --lines 100 The default shows the latest 50 entries at info level or higher and continues following new output. Use portacode service logs --categories list to see the available category filters. Filters only affect displayed records; a running service cannot expose debug messages that it was not configured to emit.
System-wide service installation may require elevated privileges. Run portacode --help, portacode connect --help, or portacode service --help for the options supported by the installed version.
A portafile.yaml can describe a repeatable workflow for a new disposable environment or an existing device. Depending on the workflow, it can select a base environment, request resources, create project paths, collect inputs, run ordered build/test/deploy steps, expose services, and define success or failure behavior.
This keeps automation portable and reviewable alongside the project while Portacode handles orchestration and status reporting. The schema is intentionally documented on the live site because it gains capabilities more frequently than the CLI README changes.
See the CI/CD and portafile.yaml reference or browse one-click deployment templates.
Existing Linux machines can be paired directly. For self-hosted provisioning, a supported Proxmox node can become Portacode infrastructure, allowing projects and automation to create isolated environments against the capacity you control. Services can be connected to custom domains through the supported Cloudflare Tunnel flow.
Each paired device has its own cryptographic identity. The private key is stored on the device, connections are encrypted in transit, and access can be revoked from Portacode. Pairing codes are short-lived and a new device still requires approval in the dashboard.
AI work is designed around visible project state and reviewable diffs. As with any remote administration or coding-agent tool, connect only machines and project paths you intend Portacode to access, review proposed changes, and use appropriate operating-system permissions and backups.
The CLI uses the operating system's application-data directory (through platformdirs) and stores its device identity under portacode/keys/. Typical locations are:
When running the CLI in a container, persist the relevant application-data directory so the container retains its device identity across rebuilds. The examples demonstrate the pattern:
Bug reports, focused fixes, and documentation improvements are welcome. Open an issue or a pull request in this repository.
For product support, email support@portacode.com.
Portacode's device-side client is available under the PolyForm Shield License 1.0.0. You may view, modify, self-host, and use it for non-competing purposes. You may not use it to build or offer a competing product or service.
Third-party components remain under their own licenses. See their accompanying notices and license files where provided.
Other/Proprietary License (PolyForm-Shield-1.0.0)
ai software agent ai app builder full stack development software operations deployment automation browser testing remote development mobile development environment self hosting devops proxmox
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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.
None of the files in this release were uploaded with provenance metadata.
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.
Nov 20, 2026 2 release files No provenance
Nov 19, 2026 2 release files No provenance
Nov 17, 2026 2 release files No provenance
Oct 22, 2026 2 release files No provenance
Oct 21, 2026 2 release files No provenance
Oct 20, 2026 2 release files No provenance
Oct 17, 2026 2 release files No provenance
Oct 14, 2026 2 release files No provenance
Sep 22, 2026 2 release files No provenance
Sep 20, 2026 2 release files No provenance
Sep 19, 2026 2 release files No provenance
Sep 18, 2026 2 release files No provenance
Sep 16, 2026 2 release files No provenance
Aug 31, 2026 2 release files No provenance
Sep 1, 2026 2 release files No provenance
Aug 28, 2026 2 release files No provenance
Aug 27, 2026 2 release files No provenance
Aug 24, 2026 2 release files No provenance
Aug 22, 2026 2 release files No provenance
Aug 21, 2026 2 release files No provenance
Aug 20, 2026 2 release files No provenance
Aug 18, 2026 2 release files No provenance
Aug 16, 2026 2 release files No provenance
Aug 13, 2026 2 release files No provenance
Aug 12, 2026 2 release files No provenance
Aug 11, 2026 2 release files No provenance
Aug 9, 2026 2 release files No provenance
Aug 7, 2026 2 release files No provenance
Aug 6, 2026 2 release files No provenance
Aug 4, 2026 2 release files No provenance
Aug 2, 2026 2 release files No provenance
Jul 28, 2026 2 release files No provenance
Jul 25, 2026 2 release files No provenance
Jul 22, 2026 2 release files No provenance
Jul 21, 2026 2 release files No provenance
Jul 20, 2026 2 release files No provenance
Jul 18, 2026 2 release files No provenance
Mar 23, 2026 2 release files No provenance
Mar 20, 2026 2 release files No provenance
Mar 18, 2026 2 release files No provenance
Mar 16, 2026 2 release files No provenance
Mar 17, 2026 2 release files No provenance
Mar 15, 2026 2 release files No provenance
Mar 14, 2026 2 release files No provenance
Mar 13, 2026 2 release files No provenance
Mar 11, 2026 2 release files No provenance
Mar 10, 2026 2 release files No provenance
Mar 8, 2026 2 release files No provenance
Mar 4, 2026 2 release files No provenance
Feb 27, 2026 2 release files No provenance
Feb 26, 2026 2 release files No provenance
Feb 24, 2026 2 release files No provenance
Feb 23, 2026 2 release files No provenance
Feb 22, 2026 2 release files No provenance
Feb 19, 2026 2 release files No provenance
Feb 18, 2026 2 release files No provenance
Feb 16, 2026 2 release files No provenance
Feb 15, 2026 2 release files No provenance
Feb 13, 2026 2 release files No provenance
Feb 12, 2026 2 release files No provenance
Feb 11, 2026 2 release files No provenance
Feb 9, 2026 2 release files No provenance
Feb 8, 2026 2 release files No provenance
Feb 5, 2026 2 release files No provenance
Feb 3, 2026 2 release files No provenance
Feb 2, 2026 2 release files No provenance
Feb 1, 2026 2 release files No provenance
Jan 31, 2026 2 release files No provenance
Jan 30, 2026 2 release files No provenance
Jan 29, 2026 2 release files No provenance
Jan 27, 2026 2 release files No provenance
Jan 25, 2026 2 release files No provenance
Jan 23, 2026 2 release files No provenance
Jan 22, 2026 2 release files No provenance
Jan 21, 2026 2 release files No provenance
Jan 20, 2026 2 release files No provenance
Jan 18, 2026 2 release files No provenance
Jan 17, 2026 2 release files No provenance
Jan 13, 2026 2 release files No provenance
Jan 12, 2026 2 release files No provenance
Jan 3, 2026 2 release files No provenance
Dec 29, 2025 2 release files No provenance
Nov 18, 2025 2 release files No provenance
Nov 17, 2025 2 release files No provenance
Nov 15, 2025 2 release files No provenance
Nov 13, 2025 2 release files No provenance
Oct 29, 2025 2 release files No provenance
Oct 28, 2025 2 release files No provenance
Oct 23, 2025 2 release files No provenance
Oct 21, 2025 2 release files No provenance
Oct 13, 2025 2 release files No provenance
Oct 12, 2025 2 release files No provenance
Oct 6, 2025 2 release files No provenance
Oct 5, 2025 2 release files No provenance
Aug 29, 2025 2 release files No provenance
Aug 26, 2025 2 release files No provenance
Aug 23, 2025 2 release files No provenance
Aug 16, 2025 2 release files No provenance
Aug 15, 2025 2 release files No provenance
Aug 11, 2025 2 release files No provenance
Aug 7, 2025 2 release files No provenance
Aug 8, 2025 2 release files No provenance
Aug 4, 2025 2 release files No provenance
Aug 6, 2025 2 release files No provenance
Aug 5, 2025 2 release files No provenance
Aug 2, 2025 2 release files No provenance
Jul 30, 2025 2 release files No provenance
Aug 1, 2025 2 release files No provenance
Jul 31, 2025 2 release files No provenance
Jul 29, 2025 2 release files No provenance
Jul 28, 2025 2 release files No provenance
Jul 25, 2025 2 release files No provenance
Jul 19, 2025 2 release files No provenance
Jul 17, 2025 2 release files No provenance
Jul 16, 2025 2 release files No provenance
Jul 13, 2025 2 release files No provenance
Jul 11, 2025 2 release files No provenance
Jul 10, 2025 2 release files No provenance
Jul 9, 2025 2 release files No provenance
Jul 7, 2025 2 release files No provenance
Jul 5, 2025 2 release files No provenance
Jul 2, 2025 2 release files No provenance
Jul 1, 2025 2 release files No provenance
Jun 27, 2025 2 release files No provenance




