Francesco Di Costanzo

(32) My AI Assistant Needed a Better Operating Model

Applied AI & Agent Systems
  • Local AI
  • AI agents
  • AI governance
  • Personal software

Download technical paper (PDF)Open visual walkthrough

Two months, and another change of mind

On 13 October, my assistant delivered six additions to a personal newspaper across four subject areas in about twelve and a half minutes. The finance assignment completed. F1 and AI reached their task limits with partial findings. Inter encountered provider errors. Sol kept useful evidence, recovered gaps and delivered the edition. That mixed result says more about the system than a clean architecture diagram would.

I commissioned two DGX Sparks on 10 August. The original arrangement put a large distributed DeepSeek model at the centre. By October, waiting, unfinished work and maintenance had made the limits clear. On 12 October, I described a different operating model: hosted Sol leading two smaller, independent Qwen services. It produced useful outcomes, including a newspaper I wanted to read, but bounded assignments still exposed uneven research and repair effort.

On 13 October I restored DeepSeek as Sol's analyst, distributed across both machines. On 14 October I moved Sol's primary access to my ChatGPT subscription. I am keeping that arrangement: the responsibility stays with Sol, while the local model supplies preparation. The technical paper and visual walkthrough describe the same dated implementation.

My test remains intervention per accepted result. How much evidence survives into the finished work, and how much effort does that save me? Token production alone answers neither question. Research on agent cost and reliability supports measuring more than a success score, but does not validate my installation. [22, 23]

Sol owns the result, including the unfinished parts

The managing-director analogy still fits. Sol briefs the analyst, checks its evidence, gives feedback and decides what deserves inclusion. When the deadline approaches, it may need to do the remaining work itself. Rejecting an inadequate draft is a review decision; someone still owes the deliverable.

OpenClaw 2026.10.3 runs sessions and tools on Spark 1. Main Sol handles conversation, email, calendar, vision and final replies. Scheduled Sol uses the same openai/gpt-6.1-sol in restricted task sessions, without shell or browser access. OpenClaw remains the agent harness; the Codex CLI has not replaced it. [1, 2, 3, 46]

Subscription access lets the assistant draw on an allowance I already use for Codex. That allowance is shared, and available credits can extend eligible use; search and other APIs remain separate costs. This is a choice about access, not evidence of savings. OpenClaw can select the same Sol through OpenRouter for eligible fallback calls. It is a backup route, not another reviewer. Cancellation stops work; an ambiguous external write is not automatically repeated. If both hosted routes fail, DeepSeek does not take over. [13, 47]

The local service now runs deepseek-ai/DeepSeek-V4-Flash-0731 through vLLM across both DGX Sparks. Both analyst roles share it. Its configured context ceiling is 262,144 tokens; that is capacity, not a target request size. Public model and serving documentation explain the components. The dated implementation checks establish this particular combination. [10, 11, 12, 43]

This extends why local AI can increase the value of hosted models. Codex remains my main environment for actively supervised coding. Owned inference gives me another resource to assign, without making every local assignment worthwhile.

Anthropic's orchestrator-worker pattern provides a useful precedent, while its research-system account makes coordination overhead visible. Cemri and colleagues identify failures in system design, coordination and verification. Adding an analyst creates a need for usable briefs and acceptance checks, whatever model fills the role. [17, 18, 21]

A better handoff can matter more than a replacement

Some Qwen results were weak. Other failures came from unavailable tools, ambiguous allowances, source access or controller defects. Replacing the model cannot give a worker a tool it does not have, or make an unclear assignment coherent.

The OpenClaw analysts have research, file and memory tools, but no shell, browser, email or calendar access. Giving one a PDF location and asking it to run a conversion is therefore a defective handoff. Sol must supply readable text with page references and check that tables survived extraction. A narrow question with the relevant original passage can be more useful than a large, poorly prepared context.

A Typefully test after the DeepSeek migration demonstrated another version of this problem. Workers saw aggregate research quotas and confused them with their smaller individual allowances. The local results were blocked; Sol recovered one draft. That established a working delivery path, not useful local contribution.

After each worker received a compact brief containing its own allowance, two assignments completed in about 85 and 111 seconds without tool errors. Sol still rejected an out-of-window source, checked originals, edited and supplemented the candidates. Three further unscheduled drafts completed the daily four. Nothing was automatically posted. The improvement followed a corrected handoff as well as a changed model.

This is what I mean by briefing an agent with acceptance criteria. The return should identify completed, partial and blocked work, with supporting evidence. A normal process exit cannot prove that the requested check happened.

Feedback has a similarly conditional value. Reflexion explored learning from feedback; Huang and colleagues documented limits to self-correction without external feedback. Here, up to two targeted revision rounds are available. Sol can instead finish directly when another round would consume the time needed for verification. [24, 25]

One shared model changes the failure boundary

The independent Qwen services let the machines support separate local workloads. The restored DeepSeek service uses both machines for one model. Spark 1 is the head; Spark 2 is a required worker. There is no second complete model waiting to take over.

Scheduled assignments now run sequentially under a shared lease. Research and time allowances reserve room for Sol's finishing work. Other clients still use the same inference capacity, so the lease is not universal isolation. Busy capacity can defer optional work; existing generation is not preempted. Native session queues and model capacity remain different constraints. [42]

An outage test exposed a useful mistake in my readiness assumptions. With the worker stopped, the head's health endpoint still reported success. The scheduled controller now checks the required worker as well as the serving interface before paid planning. A green response from one process had not established that the distributed service could do its job.

If local inference is unavailable, scheduled research stops before paid planning rather than automatically moving the workload to hosted inference. Main Sol can still start and answer, provided Spark 1's gateway and tools are available. Losing Spark 1 affects the assistant gateway too. This is a capacity choice with a shared dependency, not high availability.

Terminal work is another client of that same model. A Mac or VPS worker keeps its tools, files and credentials on the client; relevant text travels for inference. Herdr arranges visible terminals. The caller, including Codex when it delegates, reviews the result; OpenClaw Sol is not automatically involved. Private connectivity does not change where an action executes or who should accept it. Tailscale and SSH are connectivity mechanisms, not delegation policies. [15, 16]

Delivery needs state beyond the conversation

The newspaper makes responsibility measurable. Four editions are due at midnight, 06:00, noon and 18:00, London time, with preparation twenty minutes ahead. Native schedules invoke a deterministic controller, which starts OpenClaw task sessions. It records stages, evidence, limits and outcomes rather than adding a second agent framework. [4]

X supplies discovery signals. Perplexity, fetched pages and primary sources help investigate them. Search results are evidence to assess, not facts made true by retrieval. Sol examines original material as well as analyst summaries and can narrow a claim when the source is incomplete. [38]

After approval, a helper validates the exact artifact and publishes through an authenticated interface. A stable identity and content hash support repeat-safe submission. If the response is lost, receipt lookup checks whether the write already happened. Database transactions keep the publication consistent; last-good content remains available when new work fails. These are established engineering practices applied to an assistant's promise to deliver. [27, 31]

Application code and newspaper content follow different paths. Vercel deploys the application; publication requests update hosted Postgres data. Owner reading state, content history and operational reports remain distinct. A new edition does not require another code deployment. [35]

Weather has an independent Open-Meteo path. Audio services remain quick links rather than autonomous listening jobs. Typefully prepares drafts for review. A supported API action should have an outcome narrower than everything the service could potentially do. [39, 40]

Task-wide research counters survive revisions. Time and tool limits bound each stage; selected finishing stages receive no new research allowance. Provider holds and uncertain writes require inspection. AWS's account of retry amplification explains why another apparently helpful attempt can compound failure. No hard monetary cap is claimed. [28]

These controls also need recoverable state. Workflow journals, artifacts and correspondence records have different backup requirements. SQLite's write-ahead-log and backup documentation explains why copying one apparent database file is insufficient. Restoring local state cannot reverse an email or a hosted write; recovery must reconcile external receipts. [29, 30]

Continuity is selective, and sometimes fails

Main Sol handles both owner conversation and correspondence. AgentMail preserves separate email-thread sessions. A private task record carries relevant instructions, authority and receipts between contexts. The assistant must retrieve that record and decide what belongs in the outward message. Stored continuity is not guaranteed recall. [36, 37]

The same discipline applies to Secondbrain's cumulative expertise. Spark can request relevant knowledge; it does not routinely rewrite the archive. OpenClaw distinguishes memory from current context, while compaction changes what the model sees. Context-engineering guidance and long-context experiments give reasons to select information carefully, not to assume a larger window remembers everything. [6, 7, 19, 26]

OpenClaw directly starts local recall, pre-compaction memory saving and nightly dreaming. Sol does not routinely assign or review these jobs. Saving memories before compaction is distinct from Sol compressing the conversation. Recall skips busy or unavailable local capacity and has an isolated failure circuit. Dreaming separates durable memory promotion from diary prose. [48] During the 15 October repair, the sweep preserved existing memory and found no eligible promotions, while two diary outputs timed out. That is a limitation, not evidence that the source memories disappeared.

Executable controls and behavioural guidance have different jobs. Tool allowlists restrict supported analyst actions. Instructions require source checking, appropriate disclosure and respect for draft-only requests. Neither role guidance nor a private network establishes credential isolation or immunity to prompt injection. OpenClaw's tool and sandbox documentation, its trust model and OWASP's risk guidance distinguish these concerns. [8, 9, 33, 34, 41]

Privacy follows the data. Sol receives selected context through the subscription route or OpenRouter recovery. Sol and DeepSeek have separate contexts and exchange inputs and artifacts. Grok search, Perplexity, OpenAI speech/embedding/image tools, ElevenLabs speech, AgentMail and content storage are external services. Local inference does not make these flows local. Provider data policies still matter. [14]

Routine monitoring should remain quieter than useful work. Deterministic health checks and scoped failure notices help avoid repeated harmless alerts. Heartbeat configuration and monitoring design matter even when the language model is excellent. [5, 44]

The stronger analyst is still a hypothesis

The strongest objection remains that a simpler hosted assistant could save more effort. Belcak and colleagues argue for smaller models in many agent tasks; that does not settle which assignments my smaller models could complete well, or justify a larger replacement. Hardware, electricity, hosted review, search and maintenance all cost something. [45]

A frozen source-packet comparison took roughly 46 seconds with Qwen and 175 with DeepSeek. Both made attribution or timestamp errors, and Sol caught a DeepSeek error. This was a guided regression check, not a blind A/B benchmark. A separate prepared-document task found useful arithmetic issues but missed a length constraint. Neither supports “the stronger model solves it”.

The runtime also passed long-input, tool, cancellation, outage-recovery and client-delegation checks. Those qualify particular capabilities. They do not establish the quality of future editions. The 13 October delivery included unfinished local work; the corrected drafting run still needed Sol's editorial intervention.

NIST cautions against extrapolating from narrow assessments. Anthropic's evaluation guidance distinguishes an agent's statements from the resulting environment. Those are appropriate standards for this case study. [20, 32]

The next measurements should follow accepted findings into the final deliverable, count Sol's rework and record my own interventions. Better end-to-end quality and less supervision are hypotheses with initial evidence. If the shared model adds delay and maintenance without saving enough effort, the right response is another simplification. The purpose is an assistant I can use, not a cluster I can keep busy.

Sources

Agent runtime, sessions and authority

  1. OpenClaw, "Gateway architecture" https://docs.openclaw.ai/concepts/architecture

  2. OpenClaw, "Multi-agent routing" https://docs.openclaw.ai/concepts/multi-agent

  3. OpenClaw, "Session management" https://docs.openclaw.ai/concepts/session

  4. OpenClaw, "How automations work" https://docs.openclaw.ai/automation/cron-jobs/how-it-works

  5. OpenClaw, "Heartbeat" https://docs.openclaw.ai/gateway/heartbeat

  6. OpenClaw, "Memory overview" https://docs.openclaw.ai/concepts/memory

  7. OpenClaw, "Compaction" https://docs.openclaw.ai/concepts/compaction

  8. OpenClaw, "Security" https://docs.openclaw.ai/gateway/security

  9. OpenClaw, "Sandboxing" https://docs.openclaw.ai/gateway/sandboxing

Inference and connectivity

  1. NVIDIA, "NVIDIA DGX Spark" https://www.nvidia.com/en-us/products/workstations/dgx-spark/

  2. DeepSeek, "DeepSeek-V4-Flash-0731" https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731

  3. vLLM, "OpenAI-Compatible Server" https://docs.vllm.ai/en/latest/serving/online_serving/openai_compatible_server/

  4. OpenRouter, "GPT-6.1 Sol" https://openrouter.ai/openai/gpt-6.1-sol

  5. OpenRouter, "Provider Logging" https://openrouter.ai/docs/guides/privacy/provider-logging

  6. Tailscale, "What is Tailscale?" https://tailscale.com/docs/concepts/what-is-tailscale

  7. OpenBSD, "ssh(1)" https://man.openbsd.org/ssh

Delegation, context and evaluation

  1. Anthropic, "Building effective agents" https://www.anthropic.com/engineering/building-effective-agents

  2. Anthropic, "How we built our multi-agent research system" https://www.anthropic.com/engineering/multi-agent-research-system

  3. Anthropic, "Effective context engineering for AI agents" https://www.anthropic.com/engineering/effective-context-engineering-for-ai-agents

  4. Anthropic, "Demystifying evals for AI agents" https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents

  5. Cemri et al., "Why Do Multi-Agent LLM Systems Fail?" https://arxiv.org/abs/2503.13657

  6. Rabanser et al., "Towards a Science of AI Agent Reliability" https://arxiv.org/abs/2602.16666

  7. Kapoor et al., "AI Agents That Matter" https://arxiv.org/abs/2407.01502

  8. Shinn et al., "Reflexion: Language Agents with Verbal Reinforcement Learning" https://arxiv.org/abs/2303.11366

  9. Huang et al., "Large Language Models Cannot Self-Correct Reasoning Yet" https://arxiv.org/abs/2310.01798

  10. Liu et al., "Lost in the Middle: How Language Models Use Long Contexts" https://arxiv.org/abs/2307.03172

Delivery and recoverable state

  1. AWS, "Making retries safe with idempotent APIs" https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/

  2. AWS, "Timeouts, retries, and backoff with jitter" https://aws.amazon.com/builders-library/timeouts-retries-and-backoff-with-jitter/

  3. SQLite, "Write-Ahead Logging" https://sqlite.org/wal.html

  4. SQLite, "SQLite Backup API" https://sqlite.org/backup.html

  5. PostgreSQL, "Transactions" https://www.postgresql.org/docs/current/tutorial-transactions.html

Risk and action boundaries

  1. NIST, "Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile" https://doi.org/10.6028/NIST.AI.600-1

  2. OWASP, "LLM01:2025 Prompt Injection" https://genai.owasp.org/llmrisk/llm01-prompt-injection/

  3. OWASP, "LLM06:2025 Excessive Agency" https://genai.owasp.org/llmrisk/llm062025-excessive-agency/

Application and service interfaces

  1. Vercel, "Deploying to Vercel" https://vercel.com/docs/deployments

  2. AgentMail, "Threads" https://docs.agentmail.to/threads

  3. AgentMail, "Guide: Sending & Receiving Email" https://www.agentmail.to/docs/sending-receiving-email

  4. Perplexity, "Web Search" https://docs.perplexity.ai/docs/agent-api/tools/web-search

  5. Open-Meteo, "Weather Forecast API" https://open-meteo.com/en/docs

  6. Typefully, "Typefully Skill" https://github.com/typefully/agent-skills/blob/main/skills/typefully/SKILL.md

Tools, operations and the case for smaller models

  1. OpenClaw, "Overview" https://docs.openclaw.ai/tools

  2. OpenClaw, "Command queue" https://docs.openclaw.ai/concepts/queue

  3. MiaAI Lab, "DeepSeek-v4-Flash-DSpark-2x-DGX-Spark" https://github.com/MiaAI-Lab/DeepSeek-v4-Flash-DSpark-2x-DGX-Spark

  4. Google SRE, "Monitoring Distributed Systems" https://sre.google/sre-book/monitoring-distributed-systems/

  5. Belcak et al., "Small Language Models are the Future of Agentic AI" https://arxiv.org/abs/2506.02153

Subscription access and memory

  1. OpenClaw, "OpenAI authentication" https://docs.openclaw.ai/providers/openai/authentication

  2. OpenAI, "Pricing" https://learn.chatgpt.com/docs/pricing

  3. OpenClaw, "Dreaming" https://docs.openclaw.ai/concepts/dreaming