- Updated user addition tasks across multiple playbooks (mcp_switchboard, mcpo, neo4j, neo4j_mcp, openwebui, postgresql, rabbitmq, searxng, smtp4dev) to replace references to ansible_user and remote_user with keeper_user. - Modified PostgreSQL deployment to create directories and manage files under keeper_user's home. - Enhanced documentation to clarify account taxonomy and usage of keeper_user in playbooks. - Introduced new deployment for Agent S, including environment setup, desktop environment installation, XRDP configuration, and accessibility support. - Added staging playbook for preparing release tarballs from local repositories. - Created templates for XRDP configuration and environment activation scripts. - Removed obsolete sunwait documentation.
33 lines
945 B
Django/Jinja
33 lines
945 B
Django/Jinja
# Agent S Environment Configuration
|
|
# Source this file to activate the Agent S environment
|
|
# Usage: source ~/.agent_s_env
|
|
|
|
# Activate Python virtual environment
|
|
if [ -f "{{ agent_s_venv }}/bin/activate" ]; then
|
|
source "{{ agent_s_venv }}/bin/activate"
|
|
echo "✓ Agent S Python environment activated"
|
|
fi
|
|
|
|
# Set Agent S paths
|
|
export AGENT_S_HOME="{{ agent_s_repo }}"
|
|
export PATH="{{ agent_s_venv }}/bin:$PATH"
|
|
|
|
# Display setup
|
|
export DISPLAY=:10.0
|
|
|
|
# Required API Key Vars:
|
|
export HF_TOKEN=0000
|
|
export OPENAI_API_KEY=0000
|
|
|
|
# Helpful aliases
|
|
alias agent_s_cd='cd {{ agent_s_repo }}'
|
|
alias agent_s_start='cd {{ agent_s_repo }} && source {{ agent_s_venv }}/bin/activate'
|
|
|
|
echo "Agent S Environment Ready"
|
|
echo " Virtual Env: {{ agent_s_venv }}"
|
|
echo " Repository: {{ agent_s_repo }}"
|
|
echo ""
|
|
echo "Quick commands:"
|
|
echo " agent_s_cd - Change to Agent S directory"
|
|
echo " agent_s_start - Activate environment and change to repo"
|