Skip to content

publish website#157

Merged
aojea merged 3 commits into
google:mainfrom
aojea:autopudate
Jun 27, 2026
Merged

publish website#157
aojea merged 3 commits into
google:mainfrom
aojea:autopudate

Conversation

@aojea

@aojea aojea commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates the project's documentation from Docsify to a Hugo/Docsy-based site structure under the site/ directory, updating paths, styling, and configuration accordingly. It also introduces a new Python example (gemini_agent.py) demonstrating how to integrate a Google Gemini AI agent with the Sovereign Agent Mesh (SAM) using the Model Context Protocol (MCP). The review feedback highlights critical authentication and concurrency issues: first, the mcp-client commands in the quickstart guide need to include the authentication token to avoid unauthorized errors; second, the synchronous input() call in the asynchronous Gemini agent script should be run in a separate thread to prevent blocking the event loop; and third, the Gemini integration tutorial should instruct users to export the SAM_API_TOKEN environment variable for successful client connection.

Comment thread site/content/docs/quickstart.md Outdated
Comment thread sam-mcp-python/examples/gemini_agent.py Outdated
Comment on lines +13 to +16
3. **Gemini API Key**: Obtain an API key from Google AI Studio and export it:
```bash
export GEMINI_API_KEY="your-api-key-here"
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The local sam-node is configured with an API token (--api-token my-secret-token) by default in the Quick Start guide. To allow the Gemini agent to connect successfully, the SAM_API_TOKEN environment variable must be exported so that SamClient can authenticate with the node.

Suggested change:

3. **Gemini API Key & SAM API Token**: Obtain an API key from Google AI Studio and export both keys:
   ```bash
   export GEMINI_API_KEY="your-api-key-here"
   export SAM_API_TOKEN="my-secret-token"

aojea and others added 2 commits June 27, 2026 14:11
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@aojea aojea merged commit dbcb125 into google:main Jun 27, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant