Try a little of the life you save.
Saved Self turns voluntarily supplied saved inspiration into tentative possible selves and one small, reversible life experiment. A Strands agent reads the evidence and proposes interpretations; the person corrects them, chooses what to try, confirms a time, and reflects on what actually felt right. Admiring an image without acting on it is a valid outcome.
This is a local web prototype for the Everyday Agents track of Agents for Humans. It uses one Strands agent per requested stage, Ollama for local inference, and SQLite for durable state. It does not connect to social accounts or change calendars automatically.
- Store, HTTP and agent-ordering checks: 27 passed on September 14, 2026.
- Native Safari: a complete fictional flow, real calendar download, feedback-driven statement update and refresh persistence verified locally.
- Qwen3 1.7B is installed and verified. Real Strands stages completed in browser and scripted API tests. Content remains subject to human review; see the dated testing notes for code revisions, retries and remaining weaknesses. These tests do not establish a real user's experience or broad reliability.
- Public repository, video and formal Devpost submission: pending.
See testing notes for the distinction between deterministic checks and live model evidence.
Development platform: macOS on Apple silicon, Python 3.12.4, Ollama 0.18.2. Other platforms have not been validated.
Prerequisites: Python 3.12, Ollama, and enough memory to run Qwen3 1.7B alongside a browser. The model download is approximately 1.4 GB. Installation requires internet access; inference in this app uses only the local Ollama endpoint. No model API key or paid API account is required.
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txtStart Ollama if it is not already running:
OLLAMA_HOST=127.0.0.1:11434 OLLAMA_NO_CLOUD=1 OLLAMA_NUM_PARALLEL=1 OLLAMA_MAX_LOADED_MODELS=1 ollama serveIn another terminal, download the model and start the app:
ollama pull qwen3:1.7b
source .venv/bin/activate
python scripts/prepare_local_model.py
python app.pyOpen http://127.0.0.1:8765/ in a browser. Use the bundled fictional collection first. The server binds to localhost; this URL only works on the machine running it. The intended evaluator deliverable is an installable test build, not a public hosted service.
The preparation script creates saved-self-qwen3:1.7b using the downloaded weights. It explicitly serializes tool definitions as JSON to work around a template-rendering incompatibility observed in Ollama 0.18.2, then verifies the rendered schema. It does not download another copy of the model.
For a different installed Ollama model, set SAVED_SELF_OLLAMA_MODEL_ID before starting the app. Models must support tool calling. Different models and hardware need their own verification. The app does not load .env files automatically.
- Click Find my possible selves. Wait for actual tool activity and generated themes.
- Expand Why this possibility? to inspect the cited saved items. Select I want to try this on one theme. Correct its interpretation in your own words and save it.
- Set 20 minutes, $0, and at home. Click Design one small experiment. Review both its steps and stated limits.
- Choose a time within the next seven days and click I choose this experiment. Download the
.icsfile; importing it into a calendar is a separate user action. - Add a reflection. If testing without doing the activity, keep This is simulated feedback for testing checked. A report of an untried activity stays a note.
- Click Let this reshape my canvas. The agent updates the reflected-on theme while keeping the confirmed experiment unchanged. Refresh the browser to check persistence.
Changing a theme or constraints invalidates an old unconfirmed candidate. Only a current, explicitly confirmed plan can be exported. The activity panel lists actual tool calls and saved changes. Model errors remain visible; there is no hardcoded success fallback.
For the alternative reading, the agent supplies an admired detail from the cited source. The app frames that detail as something the person might simply enjoy without wanting the activity in their own life. This consistent wording is not a source-specific generated answer; relevance of the model's chosen detail still requires review.
flowchart TB
Human[Person: saved text, corrections, limits and feedback]
UI[English browser interface\nAnonymous local session]
HTTP[Python local HTTP server\nOrigin + CSRF checks / bounded worker]
Agent[Strands Agent\nStage-specific tools / at most 6 model turns]
Model[Ollama on localhost\nQwen3 1.7B]
Read[Read tools\nSaves / chosen context / reflection]
Write[Write tools\nValidate sources and limits / save result]
DB[(SQLite\nSession state / history / tool events)]
Calendar[Calendar .ics download\nAfter explicit human confirmation]
Human --> UI --> HTTP --> Agent
Agent <--> Model
Agent --> Read --> DB
Agent --> Write --> DB
HTTP <--> DB
HTTP --> Calendar --> Human
DB --> UI
Initially the model can only call the stage's read tool. That tool returns the current session's evidence and human choices. The write tool becomes available on the next model call after the read result arrives. A separate guard also rejects write arguments generated before that result was available. Write tools validate source IDs, time, cost, location and state revision before committing changes. A completion hook stops inference after the validated tool result is saved, avoiding an unnecessary final chat turn. Calendar creation is deterministic and outside the agent's authority. There is no autonomous purchase, account access, deployment or messaging tool.
| Path | Purpose |
|---|---|
app.py |
Local HTTP API, session/CSRF checks, worker lifecycle |
saved_self/agent_job.py |
Real Strands agent, Ollama configuration and six stage-specific tools |
saved_self/store.py |
SQLite state, constraints, snapshots, feedback and calendar export |
web/ |
English interface and original CSS illustrations |
data/demo_favorites.json |
30 fictional inspiration records; eight used in the starting demo |
tests/ |
Store, HTTP and agent-ordering checks, without model calls |
scripts/check_connection.py |
Small real model/tool connectivity test |
scripts/live_acceptance.py |
Synthetic end-to-end acceptance run against the local app |
- The app sends saved text to local Ollama only, with environment-proxy routing disabled for the model client. Inherited telemetry exporters are disabled in the worker. It has no analytics, third-party scripts or social scraping. The initial collection is fictional and its illustrations are decorative, not original social media assets.
- Each browser cookie identifies an anonymous session. This is not an account or cross-device sync. State lives in
outputs/saved-self.sqlite; local files are not encrypted by the app. - This prototype is intended for one trusted computer. Do not expose its port on the internet as a production service. Reset clears the active canvas; local diagnostic events and old job metadata remain in the local database.
- Small-model interpretations can be wrong. Code checks structured limits and provenance; it cannot prove that every prose instruction is feasible or every inference justified. Human review remains essential.
- A simulated reflection is visibly labeled and is not evidence of a real-life trial. No validated long-term benefit is claimed.
- A run is limited to six model turns and four minutes. Hardware, memory pressure and model availability affect completion.
python -m unittest discover -s tests -v
SAVED_SELF_OLLAMA_MODEL_ID=saved-self-qwen3:1.7b python scripts/check_connection.py --provider ollama --run
python scripts/live_acceptance.pyThe last two commands invoke a real model using synthetic data; run them after the model download completes. Reports are written under ignored outputs/ and should be reviewed before any sharing.
MIT license for this project. Qwen3 model weights have their own Apache 2.0 license; weights are downloaded separately and are not included here. Strands Agents and Ollama retain their respective licenses.
The product concept, synthetic collection, and deterministic prototype were developed earlier in this hackathon work. This build incorporates the synthetic data and design principles; it adds the Strands integration, local HTTP app, durable state, calendar export and reflection loop. AI coding assistance was used. No private social exports, private reference images or unrelated personal files are included.
References: Strands Ollama integration · Hackathon rules.