AIToday
Zenn AI/MLPublished: Nov 9, 2026, 06:00 JST

Home HOOTL agent runs on DeepSeek API after Logfare cut

Send on LINE
Home HOOTL agent runs on DeepSeek API after Logfare cut

3 Key Points

  1. What happened

    The author's PowerShell worker polls GitHub Issues and runs Claude Code on the DeepSeek API, with a separate GLM checker on GitHub Actions; switching off Logfare cut time-to-first-token roughly tenfold and a research task finished in about 13 minutes for about $0.17.

  2. Why it matters

    The same agent workflow became usable once responses stopped arriving in one slow batch, suggesting free relay services are the binding constraint for always-on agent loops rather than model quality.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The author's setup splits the work across three pieces: a PowerShell worker that polls GitHub and launches or resumes the agent, Claude Code acting as the agent, and a Python checker running on GitHub Actions through the GLM model. The worker also counts spending every 30 seconds from token usage in the output log and stops the agent when the budget is reached, so the loop has an external brake rather than relying on the model to stop itself.

The security design separates a trusted worker account from an untrusted working account. The worker can read API key files and write state, budget and logs; the working account can freely write its own folders but only read state and cannot log in directly. The author acknowledges the limit: API keys are passed as environment variables to the running agent, so a determined agent could call the APIs directly and bypass the worker's budget accounting, which is why prepaid APIs and a remaining balance act as the final ceiling.

A notable design choice was abandoning a separate orchestrator agent. The author found that splitting research and decision roles lost nuance and fixed the boundaries the model should decide, and Claude Code already has sub-agent capability. Instead, one agent owns one goal end to end, and the author concludes that the quality of the Issue text — purpose, audience, success conditions, prohibitions — matters more than the plumbing.

FAQ
How much does one agent goal cost?
The author started with a budget of $2 per goal. After switching to the DeepSeek API, a research task completed in about 13 minutes for about $0.17.
Why was the free Logfare service abandoned for the main agent?
Logfare's rate limits (40 per minute, 1,000 per hour, 5,000 per day, 6 concurrent requests) and non-streaming responses made always-on research slow, with one report taking over three hours. It is still used for the checker, which sends only a few requests per judgment.
How is the checker kept independent from the agent?
The checker is a GitHub Actions workflow using GLM, a different model line from the DeepSeek-based agent. It runs on the issue_comment event, which always uses the default branch's workflow definition, so the agent cannot rewrite the checker from its own branch.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Next articleAI firms have sold $300 billion of stock in 2026, with $100 billion more on tap