cd /news/ai-agents/seeking-advice-feedback-building-a-l… · home › topics › ai-agents › article
[ARTICLE · art-165970] src=discuss.huggingface.co ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Seeking advice/feedback: Building a local AI to setup multiple trading agents

A community forum reply recommends running multiple trading agents against a single vLLM server, which provides continuous batching, chunked prefill, prefix caching and an OpenAI-compatible API so each agent acts as a client. The reply also advises keeping the order-execution tool out of the LLM's tool set until paper trading is complete, then placing a deterministic code-level gate in front of it with an instrument allowlist, size limits and a human approval step. The author discloses maintaining agent-airlock, an in-process Python decorator that validates tool-call arguments and enforces an allow/deny tool policy with an approver hook that refuses calls when no approver responds or the request times out, noting that an empty allowlist permits every tool and that no Slack transport is built in.

read1 min views3 publishedNov 9, 2026

I’ll leave the hardware and model picks to others. Two thoughts on the stack.

For many agents sharing one model, vLLM’s server fits: it does “Continuous batching of incoming requests, chunked prefill, prefix caching” and runs an “OpenAI-compatible API server”, so each agent is just a client. On trade execution, I feel the order tool should stay out of the LLM’s tool set until paper trading is done. When it goes in, put a deterministic gate in front of it in code, not in the prompt: an instrument allowlist, size limits, and a human approval step.

Disclosure: I maintain agent-airlock, an in-process Python decorator that validates tool-call arguments and applies an allow/deny tool policy, with an approver hook that refuses the call when no approver answers or it times out. Limits: an empty allowlist allows every tool, the tool call waits for approval, and there is no Slack transport built in, so you would wire that yourself.

https://github.com/sattyamjjain/agent-airlock

── more in #ai-agents 4 stories · sorted by recency
── more on @vllm 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/seeking-advice-feedb…] indexed:0 read:1min 2026-11-09 · —