Skip to main content

🐳 DockTer Companion Agent

A secure, lightweight local companion agent built with FastAPI to enable one-click Docker container orchestration and live log streaming directly from your DockTer client.

🚀 Features

  • One-Click Local Deployment: Extracts generated files, constructs an isolated workspace, and spins up your services using docker compose up --build -d.
  • Live Logs Console: Streams real-time container log stdout/stderr via Server-Sent Events (SSE).
  • Subprocess Command Compatibility: Dynamically resolves modern docker compose or legacy standalone docker-compose setups.
  • Strict Security Architecture: Implements locked-down CORS configurations to prevent unauthorized web contexts from executing arbitrary commands or accessing the Docker daemon.

🛠️ Installation

You can install the companion agent locally in editable mode for development, or install it directly using standard Python packaging:

# Clone the repository and navigate to the agent folder
cd agent

# Install in editable mode
pip install -e .

Alternatively, you can run it directly using uvx or pipx (recommended):

uvx --from dockter-agent dockter-agent start

💻 CLI Usage

Once installed, the CLI tool exposes a standard set of commands:

# Start the companion agent on the default port (8001)
dockter-agent start

# Start the companion agent on a custom port
dockter-agent start --port 8002

🔒 Security Architecture

To protect your system, the agent enforces the following constraints:

  1. Confined CORS Limits: Cross-Origin Resource Sharing (CORS) is explicitly restricted to local origins (http://localhost:5173) and the official production domain (https://dockter.dev). External, untrusted sites are completely blocked from calling the API.
  2. Local Loopback Only: The Uvicorn server is bound strictly to 127.0.0.1 (localhost), preventing remote machines on the local network or public internet from accessing the endpoints.
  3. Workspace Isolation: Projects are built and orchestrated inside designated, isolated subdirectories (dockter-{project_name}) in the directory where the agent is launched.

Metadata

Release files for dockter-agent 1.0.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 dockter-agent 1.0.0
File Size Uploaded Provenance
dockter_agent-1.0.0.tar.gz 11.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dockter-agent 1.0.0
File Interpreter ABI Platform
dockter_agent-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.9 kB

Release files / dockter_agent-1.0.0.tar.gz

Download URL dockter_agent-1.0.0.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
099685ecfbc844b1262afb86de14e71d403e35c148b29953caa04b186ec6aa15
BLAKE2b-256 checksum
How to use checksums
65863dce934d341d3e9a7454cd7ec157a5a195ee994ff6cef2d93903fc327092
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / dockter_agent-1.0.0-py3-none-any.whl

Download URL dockter_agent-1.0.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9a12f40846eb044277f7f831f1ad9cbbbdebeb7366027f2aa7fbf74d13a8805
BLAKE2b-256 checksum
How to use checksums
87ecbd86ea804f7d1e7868fe8c3b5fb4ec7bc7c1a6fa57ec90afcc94384bfe47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for dockter-agent 1.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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