The Autonomous Stack
Free Sample Agent icon

Free Sample Agent · Getting Started · v1.0

Free AI agent sample: inspect it before you buy

A free, minimal but real agent: inspect pack structure and quality before you buy. Tiny task queue + deterministic text transforms, BYO-LLM.

sample free demo evaluation byo-llm

agent ⟶ theautonomousstack.xyz

01GET /api/v1/free/agent-sample-free-v1

02200 OKapplication/zip · 17 files · no payment

free sampleno account

What's inside

  • CHANGELOG.md
  • CHECKLIST.md
  • CUSTOMIZE.md
  • PROMPTS.md
  • README.md
  • SOUL.md
  • SPEC.md
  • agent-sample-free-v1.json
  • agent-sample-free-v1.service
  • agent.py
  • deploy.sh
  • install.sh
  • llm_adapter.py
  • pack_memory.py
  • requirements.txt
  • smoke_test.sh
  • test_agent.py

A free, deliberately minimal — but real — agent so you can inspect the quality and structure of these packs before buying a paid one. It runs, it processes a queue, it produces output. Offline by default, smarter with a BYO-LLM CLI.


Why this pack exists

Every paid pack here follows the same "v3 turnkey & honest" standard. This free sample lets you (or your buyer-agent) see that standard in action — the file layout, the BYO-LLM adapter, the install script, the offline tests — without paying. What you inspect here is what you get, scaled up, in the paid packs.

It is honest about being small: a tiny file-backed task queue feeding a deterministic text-transform pipeline. No fake claims, no hidden API keys.


What it does

  • A JSON-file task queue (enqueue → run → status).
  • Four deterministic transforms: upper, lower, reverse, wordcount.
  • Optional LLM reasoning via a connected CLI (Claude Code / Kimi Code / Codex), using the Transformer prompt in PROMPTS.md. No API key needed.
  • Atomic queue writes (temp file + os.replace) — no partial writes on crash.

What it does NOT do

  • It is not a production business product — it is a structural sample.
  • No PDF/DOCX/HTML conversion, no ERP/CRM connectors, no external network calls.

Quickstart

# 1) Install (Debian/Ubuntu, one-shot)
sudo bash install.sh            # or: bash install.sh --no-service

# 2) Verify offline (no API keys)
bash smoke_test.sh

# 3) Use it
python3 agent.py enqueue --text "hello world" --transform upper
python3 agent.py run --once
python3 agent.py status

LLM vs deterministic

Mode Needs a CLI? Behaviour
Deterministic (default) No Applies the transform locally; always works.
BYO-LLM Yes (claude/kimi/codex) Reasons about the task via PROMPTS.md, falls back to deterministic if unavailable.

Connect a CLI once and the agent gets smarter; without one it still works. See CUSTOMIZE.md to plug in your own transforms or data.


Files

  • agent.py — entrypoint (queue + transforms + OODA-style cycle).
  • llm_adapter.py — BYO-LLM CLI adapter (no API key).
  • PROMPTS.md — the single Transformer prompt, loaded by agent.py.
  • install.sh + agent-sample-free-v1.service — one-shot Debian install.
  • test_agent.py / smoke_test.sh — offline test suite (exit 0, no keys).
  • CUSTOMIZE.md, SPEC.md, SOUL.md, CHECKLIST.md, CHANGELOG.md — docs.

Use a local model (Ollama)

The optional LLM step can also run on your own machine through Ollama, so no text leaves your server. No account and no API key.

ollama pull <model>               # any chat model you like
export PACK_LLM=ollama            # prefer Ollama even if a coding-agent CLI is installed
export PACK_OLLAMA_MODEL=<model>  # optional: default is the first chat model the server lists
python3 -c "import llm_adapter; print(llm_adapter.detect())"   # prints: ollama
  • PACK_OLLAMA_HOST points to another server (default http://127.0.0.1:11434); OLLAMA_HOST is also read when PACK_LLM=ollama.
  • PACK_OLLAMA_NUM_CTX sets the context size if your reports or prompts are long.
  • Without PACK_LLM, a local Ollama server is used only when no Claude Code, Kimi Code or Codex CLI is found.
  • If the server is down or the model is missing, the pack keeps working in its deterministic mode.

Learning memory (local and private)

Every LLM call this pack makes is journaled in ./.pack_memory/ next to the code, so the pack can improve for you. Nothing is ever sent anywhere.

  • What is kept: the task name, the masked input, the masked answer, status and latency. Keys, tokens, e-mails, phone numbers, IP addresses, card and IBAN numbers and personal paths are masked before writing; the system prompt is never stored.
  • Teach it: python3 pack_memory.py feedback last ok confirms a result, python3 pack_memory.py feedback last bad --fix "the right answer" corrects it. Confirmed and corrected runs are reused as validated examples when a similar input comes in. Unrated runs are never injected into a prompt.
  • Find similar cases: python3 pack_memory.py similar "some text" and python3 pack_memory.py clusters (groups of near-identical failures) work in plain Python, no model needed. Optional meaning-based matching uses an embedding model you already run locally: python3 pack_memory.py enable-semantic (Ollama on this machine only).
  • Share, only if you want: python3 pack_memory.py export writes an anonymised summary (counts, statuses, size buckets, no text) for you to review.
  • Control: PACK_MEMORY=0 turns it off, PACK_MEMORY_STORE_TEXT=0 keeps fingerprints only, python3 pack_memory.py purge --yes wipes it.

License

Released under the MIT License. The paid packs carry their own per-purchase license.

MIT License

Copyright (c) 2026 ArchitecteDjack

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.