Skip to main content

AWS AgentCore Integration

Deploy GEIANT's AI governance tools on AWS AgentCore Runtime — the managed platform for building, deploying, and operating agents at scale.

Why GEIANT + AgentCore

AWS AgentCore provides the runtime. GEIANT provides the governance layer that AgentCore doesn't ship — cryptographic proof of jurisdiction, tamper-evident audit trails, and human→agent delegation chains required by EU AI Act.

LayerProviderWhat it does
RuntimeAWS AgentCoreManaged agent hosting, scaling, observability
RegistryAWS Agent RegistryCentralized discovery of agents, tools, MCP servers
IdentityGEIANTEd25519 keypair — the agent's cryptographic identity
JurisdictionGEIANTH3 territorial binding — which laws apply
Audit trailGEIANTSigned breadcrumb chain — what the agent did, when, under whose authority
ComplianceGEIANTAuto-generated EU AI Act Art. 12 / Art. 14 evidence bundle

Architecture

GEIANT runs as an MCP server on AgentCore Runtime at 0.0.0.0:8000/mcp (the AgentCore default). Any agent in the AgentCore ecosystem can call GEIANT's three governance tools over Streamable HTTP.

┌─────────────────────────────────────────────────────────┐
│ AWS AgentCore Runtime │
│ │
│ ┌──────────────┐ POST /mcp ┌──────────────────┐ │
│ │ Your Agent │───────────────▶│ GEIANT │ │
│ │ (any LLM) │◀───────────────│ AgentCore MCP │ │
│ └──────────────┘ SSE stream │ │ │
│ │ • verify_juris. │ │
│ │ • audit_proof │ │
│ │ • deleg_chain │ │
│ └────────┬─────────┘ │
│ │ │
└────────────────────────────────────────────┼────────────┘
│ HTTPS
┌────────▼─────────┐
│ GEIANT Perception │
│ (compliance API) │
└──────────────────┘

Tools

verify_jurisdiction

Validate that an AI agent is authorized to operate in a specific H3 cell. Checks delegation certificate signature, temporal bounds, cell authorization, and facet authorization.

{
"h3_cell": "851e8053fffffff",
"facet": "energy@italy-geiant"
}

Returns:

{
"authorized": true,
"signature_valid": true,
"cert_active": true,
"cell_authorized": true,
"facet_authorized": true,
"agent_pk": "c14094ea...",
"principal_pk": "39545553...",
"valid_until": "2027-04-10T19:39:32.969Z"
}

generate_audit_proof

Produce a EU AI Act Art. 12 (record-keeping) and Art. 14 (human oversight) compliance evidence bundle. Returns cryptographic audit chain, Merkle epoch roots, delegation certificate, trust score, and violation history.

{
"agent_pk": "c14094ea...",
"from": "2026-01-01T00:00:00Z",
"to": "2026-04-11T00:00:00Z"
}

check_delegation_chain

Verify the human→agent authorization chain and check whether a specific tool is whitelisted. Answers: "Did a real human authorize this AI action?"

{
"tool_name": "perception_fetch_tile"
}

Returns:

{
"authorized": true,
"human_principal_pk": "39545553...",
"agent_pk": "c14094ea...",
"signature_valid": true,
"tool_allowed": true,
"allowed_tools": [
"perception_fetch_tile",
"perception_classify",
"perception_embed",
"perception_weather",
"spatial_query",
"trajectory_audit",
"compliance_report",
"gns_get_compliance_report",
"gns_get_trust_score",
"gns_verify_chain",
"gns_roll_epoch"
]
}

Connect — Public Endpoint

The GEIANT AgentCore MCP server is live and publicly accessible:

https://geiant-agentcore-production.up.railway.app/mcp

Any MCP client can connect directly:

{
"mcpServers": {
"geiant-agentcore": {
"type": "streamable-http",
"url": "https://geiant-agentcore-production.up.railway.app/mcp"
}
}
}

Connect — AWS AgentCore Runtime

To deploy inside your own AgentCore Runtime:

1. Clone and install

git clone https://github.com/GNS-Foundation/geiant
cd geiant/packages/mcp-agentcore
npm install

2. Set environment variables

export PORT=8000
export GEIANT_DELEGATION_CERT='{ ... your delegation cert JSON ... }'
export COMPLIANCE_URL=https://packagesmcp-perception-production.up.railway.app

3. Deploy via AgentCore CLI

npm install -g @aws/agentcore
agentcore init --protocol mcp
# Point entrypoint to dist/index.js
agentcore deploy

AgentCore expects MCP servers at 0.0.0.0:8000/mcp — GEIANT is pre-configured to match this spec exactly.

MCP Registry

GEIANT is published on the official MCP Registry under the com.geiant namespace:

ServerVersionTransport
com.geiant/mcp-agentcore0.1.0Streamable HTTP
com.geiant/mcp-perception0.3.3Streamable HTTP

Browse at registry.modelcontextprotocol.io

AWS Agent Registry

To register GEIANT in your organization's AWS Agent Registry, point the registry at the live MCP endpoint — it auto-discovers tools, schemas, and capabilities:

  1. Open AgentCore ConsoleAgent Registry
  2. Click Register resourceURL-based discovery
  3. Enter: https://geiant-agentcore-production.up.railway.app/mcp
  4. The registry pulls tool schemas automatically
  5. Submit for approval

Health Check

curl https://geiant-agentcore-production.up.railway.app/health
{
"status": "ok",
"service": "geiant-agentcore",
"version": "0.1.0",
"tools": [
"verify_jurisdiction",
"generate_audit_proof",
"check_delegation_chain"
],
"cert_loaded": true
}

Key Technical Notes

  • Port 8000 — matches AgentCore Runtime spec
  • Streamable HTTP at /mcp — MCP 2024-11-05 protocol
  • No express.json() globally — MCP SDK needs the raw stream
  • Delegation cert via GEIANT_DELEGATION_CERT env var (JSON string)
  • Signature verification uses GNS canonical JSON with snake_case fields
  • Ed25519 keys serve triple duty: GNS identity, Stellar wallet, GEIANT worker