diff --git a/README.md b/README.md index 9d4d5bc..45575cc 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,15 @@ A complete NATS-based messaging system for AI agents with MCP (Model Context Pro pip install -r requirements.txt ``` +or use a virtual environment (we'll call ours `myvenv`) + +```bash +python3 -m venv myvenv +source myvenv/bin/activate +pip install -r requirements.txt +``` + + ### 2. Configure NATS Set your NATS server URL: @@ -34,14 +43,32 @@ export NATS_NAMESPACE="my-project" # Optional, defaults to 'themultiverse' python start_agents.py ``` +or if using a virtual environment, ensure to first activate it if you haven't already + +```bash +source myvenv/bin/activate +python start_agents.py +``` + ### 4. Start the Web UI (Optional) ```bash python agent_messaging_web.py ``` +or if using a virtual environment, ensure to first activate it if you haven't already + +```bash +source myvenv/bin/activate +python agent_messaging_web.py +``` + Open http://localhost:5002 +It should look something like: + + + ### 5. Use with Claude Code The MCP server is pre-configured. Just use the tools: diff --git a/templates/agent_messages.html b/templates/agent_messages.html new file mode 100644 index 0000000..9248584 --- /dev/null +++ b/templates/agent_messages.html @@ -0,0 +1,356 @@ + + +
+View messages and DM agents in real-time
+