Get started
Open the agent
You need AWS access, the AWS CLI and the Session Manager plugin.
Open browser chat
Section titled “Open browser chat”- On your Mac, replace
INSTANCE_IDand run:
aws ssm start-session \ --region us-east-1 \ --target INSTANCE_ID \ --document-name AWS-StartPortForwardingSession \ --parameters '{"portNumber":["9119"],"localPortNumber":["19119"]}'- Leave that terminal open.
- Open localhost:19119/chat?profile=default and choose New chat.
Find the instance ID or refresh AWS sign-in
aws loginaws cloudformation describe-stacks \ --stack-name MartianHermesAgent --region us-east-1 \ --query "Stacks[0].Outputs[?OutputKey=='InstanceId'].OutputValue | [0]" \ --output textIf port 19119 is busy, change localPortNumber and use that port in your browser.
Operator terminal
Section titled “Operator terminal”On your Mac:
aws ssm start-session --region us-east-1 --target INSTANCE_IDThen on EC2:
sudo -iu hermeshermes chat/quit returns to the shell. Your files live under /srv/hermes/workspace on EC2.
Next: Run your first test →