Claim this agent
Agent DossierGITHUB OPENCLEWSafety 94/100

Xpersona Agent

gemini-agent

Use Google Gemini CLI as a sub-agent for tasks. Run prompts non-interactively with session continuity via --resume. Use when delegating work to Gemini, running Gemini as a coding agent, or maintaining multi-turn Gemini conversations from the command line. --- name: gemini-agent description: Use Google Gemini CLI as a sub-agent for tasks. Run prompts non-interactively with session continuity via --resume. Use when delegating work to Gemini, running Gemini as a coding agent, or maintaining multi-turn Gemini conversations from the command line. --- Gemini Agent Run gemini-cli non-interactively with session persistence. Each call returns JSON with a session_id for multi-t

OpenClaw · self-declared
Trust evidence available
git clone https://github.com/logan-future-now/gemini-agent.git

Overall rank

#30

Adoption

No public adoption signal

Trust

Unknown

Freshness

Apr 14, 2026

Freshness

Last checked Apr 14, 2026

Best For

gemini-agent is best for general automation workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack

Overview

Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.

Verifiededitorial-content

Overview

Executive Summary

Use Google Gemini CLI as a sub-agent for tasks. Run prompts non-interactively with session continuity via --resume. Use when delegating work to Gemini, running Gemini as a coding agent, or maintaining multi-turn Gemini conversations from the command line. --- name: gemini-agent description: Use Google Gemini CLI as a sub-agent for tasks. Run prompts non-interactively with session continuity via --resume. Use when delegating work to Gemini, running Gemini as a coding agent, or maintaining multi-turn Gemini conversations from the command line. --- Gemini Agent Run gemini-cli non-interactively with session persistence. Each call returns JSON with a session_id for multi-t Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

No verified compatibility signals

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Apr 14, 2026

Vendor

Logan Future Now

Artifacts

0

Benchmarks

0

Last release

Unpublished

Install & run

Setup Snapshot

git clone https://github.com/logan-future-now/gemini-agent.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence & Timeline

Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.

Verifiededitorial-content

Public facts

Evidence Ledger

Vendor (1)

Vendor

Logan Future Now

profilemedium
Observed Apr 15, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Apr 15, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Artifacts & Docs

Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.

Self-declaredGITHUB OPENCLEW

Captured outputs

Artifacts Archive

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Parameters

Executable Examples

bash

scripts/gemini-agent.sh "Your prompt here"

bash

scripts/gemini-agent.sh "Follow-up prompt" SESSION_ID

bash

scripts/gemini-agent.sh "prompt" --model gemini-2.5-pro    # Override model
scripts/gemini-agent.sh "prompt" --yolo                     # Auto-approve tool use
scripts/gemini-agent.sh "prompt" --sandbox                  # Run in sandbox mode
scripts/gemini-agent.sh "prompt" --yolo SESSION_ID          # Resume + yolo
scripts/gemini-agent.sh --list-sessions                     # List sessions

json

{
  "session_id": "uuid",
  "response": "text response",
  "stats": { "models": {}, "tools": {}, "files": {} }
}

bash

SESSION=$(scripts/gemini-agent.sh "Start a task" | jq -r '.session_id')
scripts/gemini-agent.sh "Continue the task" "$SESSION"

json

{"error": true, "exit_code": N, "output": "error message"}

Editorial read

Docs & README

Docs source

GITHUB OPENCLEW

Editorial quality

ready

Use Google Gemini CLI as a sub-agent for tasks. Run prompts non-interactively with session continuity via --resume. Use when delegating work to Gemini, running Gemini as a coding agent, or maintaining multi-turn Gemini conversations from the command line. --- name: gemini-agent description: Use Google Gemini CLI as a sub-agent for tasks. Run prompts non-interactively with session continuity via --resume. Use when delegating work to Gemini, running Gemini as a coding agent, or maintaining multi-turn Gemini conversations from the command line. --- Gemini Agent Run gemini-cli non-interactively with session persistence. Each call returns JSON with a session_id for multi-t

Full README

name: gemini-agent description: Use Google Gemini CLI as a sub-agent for tasks. Run prompts non-interactively with session continuity via --resume. Use when delegating work to Gemini, running Gemini as a coding agent, or maintaining multi-turn Gemini conversations from the command line.

Gemini Agent

Run gemini-cli non-interactively with session persistence. Each call returns JSON with a session_id for multi-turn continuity.

Wrapper Script

Location: scripts/gemini-agent.sh

New session

scripts/gemini-agent.sh "Your prompt here"

Resume session

scripts/gemini-agent.sh "Follow-up prompt" SESSION_ID

Options

scripts/gemini-agent.sh "prompt" --model gemini-2.5-pro    # Override model
scripts/gemini-agent.sh "prompt" --yolo                     # Auto-approve tool use
scripts/gemini-agent.sh "prompt" --sandbox                  # Run in sandbox mode
scripts/gemini-agent.sh "prompt" --yolo SESSION_ID          # Resume + yolo
scripts/gemini-agent.sh --list-sessions                     # List sessions

Options must come before positional args (prompt, session_id).

JSON Response

Every call returns:

{
  "session_id": "uuid",
  "response": "text response",
  "stats": { "models": {}, "tools": {}, "files": {} }
}

Extract session_id from the response to resume:

SESSION=$(scripts/gemini-agent.sh "Start a task" | jq -r '.session_id')
scripts/gemini-agent.sh "Continue the task" "$SESSION"

Multi-Turn Pattern

  1. Send initial prompt → capture session_id from JSON
  2. Parse response for the answer
  3. Send follow-up with same session_id to continue conversation
  4. Repeat as needed — Gemini retains full conversation context

When to Use --yolo

Use --yolo when Gemini needs to execute shell commands or modify files autonomously (e.g., coding tasks). Without it, tool calls require interactive approval which won't work in non-interactive mode.

Error Handling

On failure, output is:

{"error": true, "exit_code": N, "output": "error message"}

Check exit code: 0=success, 1=error, 2=invalid args, 127=missing dependency.

Dependencies

  • gemini-cli (pnpm add -g @google/gemini-cli)
  • jq (apt install jq)
  • GEMINI_BIN env var to override gemini binary path (optional)

API & Reliability

Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.

MissingGITHUB OPENCLEW

Machine interfaces

Contract & API

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/snapshot"
curl -s "https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/contract"
curl -s "https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/trust"

Operational fit

Reliability & Benchmarks

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Machine Appendix

Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.

MissingGITHUB OPENCLEW

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-04-16T23:51:44.035Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Logan Future Now",
    "href": "https://github.com/logan-future-now/gemini-agent",
    "sourceUrl": "https://github.com/logan-future-now/gemini-agent",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:21:22.124Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:21:22.124Z",
    "isPublic": true
  },
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/logan-future-now-gemini-agent/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to gemini-agent and adjacent AI workflows.