Commit Graph

11 Commits

Author SHA1 Message Date
sylvain b6ac386a60 feat: add script library skill to all agents
Generic script.py skill (list/show/save/exec/run/delete) with dynamic
scripts dir derived from queue_db path or config scripts_dir key.
Each agent gets its own /opt/<agent>/scripts/ folder.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 19:38:18 +00:00
sylvain 9668304187 feat: deploy agent from any git URL (from_git / from_git_local)
- DeployConfig: add git_url, main_script, apt_deps fields
- Deployer: new _deploy_from_git() and _detect_main_script() methods
  Auto-detects main script (agent_*.py > main.py > grep __main__)
  Uses minimal apt defaults, reads requirements.txt for pip deps
- deploy skill: add from_git and from_git_local actions
  from_git <url> <nom> <host> <user> password|key <cred> <xmpp_jid> <xmpp_pass> <mqtt_host> [main_script]
  from_git_local <url> <nom> <xmpp_jid> <xmpp_pass> <mqtt_host> [main_script]

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 19:12:30 +00:00
sylvain 6aac8a4e3b docs: ajout README.md 2026-03-09 17:47:55 +00:00
sylvain f0c4c319a8 Fix system prompt: remove hardcoded example hostname, add strict guardrails
The example 'debian-srv2' was being hallucinated by the LLM when routing
was wrong. Now the agent explicitly refuses to invent hostnames and
redirects non-deployment requests to the appropriate agent.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 16:23:33 +00:00
sylvain 7f5dc5b8f3 Improve DESCRIPTION for better LLM routing
More explicit keywords so Nexus LLM can route requests correctly
without hardcoded rules in the system prompt.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 14:53:50 +00:00
sylvain ad08ced154 Add agents_status skill and status change notifications
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 13:12:38 +00:00
sylvain abb4d2a9c1 Add mqtt_subscribe and muc_send skills
- mqtt_subscribe: dynamically subscribe/unsubscribe to any MQTT topic,
  received messages are forwarded to XMPP admins
- muc_send: post a message to the XMPP MUC group (agents@muc.xmpp.ovh)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 12:39:00 +00:00
sylvain 00cbb7b048 Fix default MUC room to agents@muc.xmpp.ovh
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 10:30:42 +00:00
sylvain 83d0314653 Remove sys.path.insert('/opt') — agents_core now installed via pip
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 10:28:46 +00:00
sylvain 332dd73991 Update catalog with real Gitea URLs (git.piaf.im/sylvain) 2026-03-09 09:05:27 +00:00
sylvain f2da35e072 Initial commit — agent_deploy v2.0 2026-03-09 09:01:34 +00:00