Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions dev2/agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ mode; authenticated instructions from Anthony enter that user's `agent-llm <agen
Task state stays in the agent's home and results return to the originating QryptChat conversation.

Each agent has a separately scoped group.call worker key, private phone settings, and an email
poller running under that agent's UID. Email actions require the trusted Anthony DMARC verdict;
the shared claim directory prevents forwarded copies from triggering duplicate work. Mailbox
credentials, QryptChat sessions, model logins, and task state stay in their owner's home.
poller running under that agent's UID. Inbox pollers check every 30 seconds and baseline the
current inbox on first run, so old mail is not queued. Email actions require the trusted Anthony
DMARC verdict; the shared claim directory prevents forwarded copies from triggering duplicate
work. Mailbox credentials, QryptChat sessions, model logins, and task state stay in their owner's
home.

On dev2, deploy the CLI package and its production dependencies to `/opt/riotcoder-cli`, give each
ready agent a private `agent-llm.json`, QryptChat session, model login, and one-account
Expand Down
9 changes: 5 additions & 4 deletions dev2/agents/install-agent-runners.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ EOF

cat > "/etc/systemd/system/agent-mail-poll-$agent.timer" <<EOF
[Unit]
Description=Poll $agent's inbox every five minutes
Description=Poll $agent's inbox every 30 seconds

[Timer]
OnCalendar=*-*-* *:0/5:00
AccuracySec=30s
Persistent=true
OnBootSec=30s
OnUnitActiveSec=30s
AccuracySec=1s

[Install]
WantedBy=timers.target
Expand All @@ -130,6 +130,7 @@ done
systemctl daemon-reload
for agent in "${ready[@]}"; do
systemctl enable --now "agent-mail-poll-$agent.timer" >/dev/null
systemctl restart "agent-mail-poll-$agent.timer" >/dev/null
done
printf 'Installed contact runners for: %s\n' "${ready[*]:-(none)}"
if [ "${#skipped[@]}" -gt 0 ]; then
Expand Down
Loading