Skip to content
Directory
GitHub Star
Evidence, tags & source code

Deploying a Personal AI Agent Without Building a Platform ​

Suppose my personal research Agent generates a morning briefing after my laptop is closed. The first question is not which orchestration platform to use. It is whether yesterday's report and jobs remain available on a replacement host. This is a self-hosting design exercise, with synthetic examples and proposed checks rather than a claim of cloud acceptance.

Complete one useful path with minimal infrastructure ​

ResponsibilityStarting pointWhen to add complexity
Application and background executionOne Linux host, web process, supervised workerConcurrency or isolation exceeds the host
DataSQLite or separate PostgreSQLExplicit multi-process, remote access and recovery requirements
EntryHTTPS reverse proxy and application authenticationActual multi-region traffic requirements
External servicesControlled adaptersIndependent budgets, throttling or provider replacement

Do not expose the database directly to the Internet. Keep model secrets server-side. Submit a research task with a synthetic account and check that its report remains readable by the original ID after restart. Check HTTPS, authentication and downloads separately.

What did staging actually verify? ​

Source commit, immutable artifact and environment binding are three different objects. A shared Git SHA does not establish identical artifacts, database identity or background switches. Promote the tested artifact on compatible environments; if separate builds are required, record and qualify both without claiming byte equality.

A Linux exercise in an empty directory:

sh
printf 'sample release\n' > demo-release.txt
sha256sum demo-release.txt > demo-release.sha256
sha256sum -c demo-release.sha256
printf 'changed\n' >> demo-release.txt
sha256sum -c demo-release.sha256

The first check should pass and the second fail. This unexecuted example tests byte comparison, not a live release or trustworthy build provenance. Record the actual running artifact, database identity and user-path result. Isolate staging data and notification targets from production.

Recover more than Git ​

Git restores code but cannot tell which notification was sent or which report completed yesterday. Protect backups of jobs, report revisions and external-effect receipts. Use the PostgreSQL backup guide and choose frequency from tolerated data loss. Restore into an isolated database, disable schedules and outbound delivery, then read back the original report, task and delivery IDs. Measure recovery time; rerunning work is not readback.

Investigate entry, database, worker and business readback separately; a single HTTP 200 cannot prove all four. Open ETF Agent has deployment recovery documentation. Further self-hosting improvements are in the application roadmap.

Engineering notes, evidence and boundaries. · Contact: hpoenixf@foxmail.com · WeChat: hpoenixf0510