1. Conduid
  2. AI
  3. Gini Agent
MCP server · AI

Gini Agent

The agent that remembers and learns.

78Good

Scored 20 hours ago · breakdown

About Gini Agent

Gini Agent is an MCP server published by Open-Curiosity in the AI category: the agent that remembers and learns. Conduid read 94 tools from its source: add_mcp_server, ask_user, browser_back, browser_click, browser_close, browser_connect and 88 more. No package is published for it, so it installs from a source checkout.

The repository has 2.4K stars and 1.2K forks, is licensed MIT, and its last commit was on 18 Jul 2026. The latest release is v0.3.0 (8 Jun 2026): Add relay device pairing: front the gateway over a tunnel and bring new web and mobile devices online through a QR-code and universal-link flow, with an operator approva… It follows v0.2.0 (3 Jun 2026), and the 3 most recent releases go back to v0.1.0 (22 May 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include agent-runtime, bun, local-first, nextjs and personal-agent.

Install

From source
git clone https://github.com/Open-Curiosity/gini-agent

Tools (94)

add_mcp_serverRegister a new MCP server so its tools become available. http transport needs a url; stdio needs a command. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
argsarrayArgument list for the stdio command.
commandstringExecutable for a stdio server (e.g. 'npx'). Required for stdio.
exposedToolsarrayOptional whitelist of tool names to expose from this server.
headersobjectStatic or ${ENV}-placeholder header map for an http server.
name *stringServer name (e.g. 'linear').
transportstringTransport. Defaults to 'stdio', or 'http' when a url is given.
urlstringStreamable-HTTP endpoint for an http server (e.g. 'https://mcp.linear.app/mcp'). Required for http.
ask_userPresent the user a concrete choice the task cannot proceed without. They see your question with 2-6 selectable options beneath it; the task pauses until they pick, then resumes with their answer. This tool ONLY presents choices — `options` is required. For an open-ended question with no options to offer (a free-form detail, and above all content that speaks in the user's voice, like what a message or reply should say), do NOT call this tool: ask directly in your plain message text and the user's reply arrives as the next message — NEVER invent multiple-choice options for content only the user can author. Use it whenever multiple viable paths exist and their preference matters (single-select). Every option must be a concrete action you can actually take with your available tools, or a setup you can request — never a way of opting out of the task. ESPECIALLY use this before requesting connector setup — offer the setup-vs-alternative choices first (e.g. for missing web search: "Connect a search provider", "Fetch likely sites directly with web_fetch", "Browse the web with the browser") so the user decides whether setup is worth it. Do NOT offer "answer from general knowledge/memory" as an option for research or current-information tasks — if the user wants that, they can type it under Other; fall back to general knowledge only when they explicitly choose it or every live path is exhausted. Also use it for mid-task preference or clarification decisions the task cannot proceed without (which approach, which account, which restaurant, what time — offer your best concrete guesses as the options): the call parks the task as needs-input and keeps the question on the user's home screen until they answer, while a prose question ends the run looking done. The UI automatically adds an "Other (type your answer)" freeform input and a Skip affordance — do NOT include an "Other" / "something else" / "skip" entry in `options`. Do NOT use this for permission confirmations — risk-gated actions already go through the authorization flow.
ParameterTypeDescription
options *array2-6 mutually exclusive choices (required — this tool only presents choices; ask open-ended questions in your message text instead). Keep labels short; put any detail in `description`.
question *stringThe question, shown as your own message above the options. One clear sentence.
browser_backNavigate back one entry in the browser history. Returns a fresh snapshot.
browser_clickClick an element on the current page by its @eN ref from the latest snapshot. Returns a fresh snapshot, possibly as a diff (call browser_snapshot for the full tree).
ParameterTypeDescription
ref *stringElement ref like '@e3' from the latest snapshot.
browser_closeClose the browser session for the current task. Frees the underlying BrowserContext immediately instead of waiting for the idle sweeper.
browser_connectSurface a Connect button in chat that lets the user act on the agent's own browser, for a step only the user can perform; when they finish, the agent continues with the persisted session. After they click Connect, a live view of the agent's browser opens in chat (a screencast of the headless browser they can click and type in) so the user does it without leaving the app. Two sanctioned uses — it is NEVER a first step and must NOT be called before navigating: always navigate with browser_navigate first. (1) Sign-in unblock (default, mode "sign-in"): ONLY when a navigation you ALREADY made hit a sign-in roadblock — a login screen, OAuth / identity-provider redirect, 401/403, or "please sign in" interstitial that actually blocks the page you need. Never call it proactively for sign-in; for ordinary browsing that does not hit a sign-in wall, keep using browser_navigate (headless) — no connection or approval is needed, so do not ask the user to connect. When you DO hit a sign-in wall, don't report it as a blocker — call this tool. The user clicks Connect, signs in once, clicks "I've signed in", then the agent continues. (2) Sensitive-step handoff (mode "handoff"): the task has reached a step the USER must perform themselves — entering payment details, a final purchase confirmation — or the user chose via ask_user to finish manually. Only at such a genuine user-must-act step or on the user's explicit choice, never as a shortcut for steps you can drive yourself, and only when the user's surface can render the in-chat screencast (the per-turn surface note tells you whether a browser handoff can reach them — it can on the web app, not on mobile or a messaging bridge). The user clicks Connect, completes the step, clicks "I'm done", then the agent continues — re-snapshot the page, confirm the outcome from it, and report. In both uses pass `url` = the page you ALREADY navigated to (the sign-in wall, or the page the user must act on), so the live view shows that exact page and the agent retries it afterward. This tool does NOT reach a page you haven't navigated to — use browser_navigate for that.
ParameterTypeDescription
modestringWhich sanctioned use this is. "sign-in" (default): clear a sign-in wall — the completion card reads "I've signed in". "handoff": the user performs a sensitive step themselves (payment entry, final confirmation) — the completion card reads "I'm done".
reason *stringOne short user-facing sentence shown in the approval card (e.g. 'Sign in to Amazon to manage your Audible subscription', 'Enter your payment details to finish the booking').
urlstringAbsolute http(s) URL of the page you already navigated to — the sign-in wall, or the page the user must act on. The live browser view shows this exact page, and the agent retries it afterward. Not a way to open a page you haven't navigated to — use browser_navigate for that.
browser_consoleRead recent console messages from the current page, and/or evaluate a JavaScript expression in the page and return its result. Use the expression to read data the accessibility snapshot omits (values the page renders with JS) or to call the page's own APIs with fetch() in its signed-in session.
ParameterTypeDescription
clearbooleanIf true, clear the captured console buffer before returning.
expressionstringOptional JavaScript expression to evaluate in the page context.
browser_cookiesList cookies that apply to the current page (or the whole browser context when no page is open). READ-ONLY, and cookie VALUES are always redacted — only name, domain, path, expiry, and the httpOnly/secure/sameSite flags are returned. Useful for checking whether a session/auth cookie exists without exposing it.
browser_dialogRespond to JavaScript dialogs (alert/confirm/prompt/beforeunload). Dialogs are auto-DISMISSED the moment they fire so the page never hangs; each one is then reported once in a `dialogs` field on your next browser tool result. To accept a dialog deliberately (e.g. a confirm() asking 'Are you sure?'), call this FIRST to arm a one-shot response, then perform the action that triggers the dialog (e.g. browser_click) — the armed response is consumed by the next dialog that fires and the outcome appears in that tool result's `dialogs` field. For prompt() dialogs use action 'accept' with promptText.
ParameterTypeDescription
action *stringHow to answer the next dialog. Unarmed dialogs are dismissed by default; arm 'dismiss' explicitly only to override a previously armed accept.
promptTextstringText to enter when accepting a prompt() dialog. Ignored for other dialog types.
browser_downloadClick an element (by its @eN ref) that triggers a file download and save the file under the agent's downloads directory. Use for 'download the invoice PDF' style tasks where a link or button serves a file. Only works when the click actually fires a download (attachment responses or links with a download attribute) — content the browser renders inline, like most PDF links, never does; use browser_navigate for those (PDF text is extracted on navigation). Approval-gated: the user confirms before the click runs. The result reports the saved path, file size, and the server's suggested filename. Downloads larger than the size cap are rejected and deleted.
ParameterTypeDescription
ref *stringElement ref like '@e3' from the latest snapshot whose click triggers the download.
browser_dragDrag from one element to another by their @eN refs. Returns a fresh snapshot, possibly as a diff (call browser_snapshot for the full tree).
ParameterTypeDescription
fromRef *stringSource element ref like '@e3' from the latest snapshot.
toRef *stringTarget element ref like '@e7' from the latest snapshot.
browser_fill_formFill MULTIPLE non-secret form fields in one call. Each {ref, text} entry is filled in order with the same clear-and-type semantics as browser_type, then ONE snapshot is returned after all fills (possibly a diff — call browser_snapshot for the full tree). Stops at the FIRST failing field and reports which fields were filled and which were not attempted, so you can re-snapshot and retry the remainder. NEVER use this for passwords, credentials, or other secrets — use browser_fill_secrets for those; field values containing a registered secret are rejected.
ParameterTypeDescription
fields *arrayFields to fill, in order.
browser_fill_secretsAsk the user to fill one or more input fields on the active browser page. ONLY for values the user must supply themselves: credentials and other secrets (passwords, OTPs, account ids, MFA codes) AND payment-card or sensitive personal-info fields on a checkout, booking, or registration page (card number, expiry, CVC, SSN, and the like). NEVER for ordinary text like search queries or form content you already know; type that yourself with browser_type. Every call here interrupts the user with an approval card, and conversely NEVER attempt to fill credential fields yourself with browser_type. The user sees a single card in chat with one input per slot; once they submit, the gateway fills each locator on the page with the user's value via playwright. Requires an active browser session — call browser_navigate first if needed. Your tool result is a plain-text summary naming which slots filled (by slot.name, never values), which errored, and any abort condition (cancel, origin drift); you never see the values themselves. Re-snapshot the page after this returns to see the post-fill state. If more fields need filling (e.g. an MFA code on the next page), call this tool again.
ParameterTypeDescription
reason *stringShort user-visible text shown above the form (e.g. 'Sign in to GitHub to continue'). One line.
slots *arrayOne entry per input field to fill. Order matters — fields are filled in array order. Each slot's name is opaque (used only as the key in the secrets dict the user submits); locator is the playwright selector or @-ref of the input; label is the human-readable text shown next to the input in chat; kind picks the HTML input type for masking.
browser_hoverHover over an element on the current page by its @eN ref. Useful for revealing tooltips or :hover-only menus. Returns a fresh snapshot, possibly as a diff (call browser_snapshot for the full tree).
ParameterTypeDescription
ref *stringElement ref like '@e3' from the latest snapshot.
browser_navigateOpen a URL in a headless browser session and return a compact accessibility snapshot with @eN refs the agent can click or type into. URLs that serve a PDF return the document's extracted text (`pdfText`) instead of a snapshot — there is no DOM to act on. The browser is for interacting with pages (clicking, typing, authenticated sessions); for plain content retrieval from a known URL prefer web_fetch.
ParameterTypeDescription
url *stringAbsolute http(s) URL to navigate to.
browser_pressPress a keyboard key on the current page (e.g. 'Enter', 'Tab', 'Escape', 'ArrowDown'). Returns a fresh snapshot, possibly as a diff (call browser_snapshot for the full tree).
ParameterTypeDescription
key *stringKey name as Playwright understands it (e.g. 'Enter', 'ArrowDown', 'Control+A').
browser_requestsList the most recent network requests observed on the task's browser pages (up to the last 100): method, URL, status, resourceType, and failure text for requests that never completed. Read-only — no request/response bodies, no headers, no interception. Useful for spotting failed API calls, redirects, or what a page is talking to.
ParameterTypeDescription
filterstringOptional substring; only requests whose URL contains it are returned.
browser_resizeResize the browser viewport. Width is clamped to 320–3840 and height to 240–2160. Useful for exercising responsive layouts or revealing elements hidden at the default size. Returns the applied (possibly clamped) dimensions.
ParameterTypeDescription
height *numberViewport height in CSS pixels (clamped to 240–2160).
width *numberViewport width in CSS pixels (clamped to 320–3840).
browser_scrollScroll the current page up or down by one viewport. Returns a fresh snapshot, possibly as a diff (call browser_snapshot for the full tree).
ParameterTypeDescription
direction *stringScroll direction.
browser_select_optionSelect an option in a <select> element by its @eN ref. Pass `value` for single-select or `values` for multi-select. Exactly one of the two must be provided. Returns a fresh snapshot, possibly as a diff (call browser_snapshot for the full tree).
ParameterTypeDescription
ref *stringSelect element ref like '@e3' from the latest snapshot.
valuestringOption value to select (single-select). Mutually exclusive with `values`.
valuesarrayOption values to select (multi-select). Mutually exclusive with `value`.
browser_snapshotRe-snapshot the current browser page. Always returns the full tree (action results may return diffs vs the previous snapshot). Default returns interactive elements with @eN refs; entries with role `clickable` are cursor-detected clickables (non-semantic elements styled cursor:pointer or carrying onclick/tabindex). Same-origin iframes are walked inline (their elements get actionable @eN refs under an `iframe` row); cross-origin or blocked iframes show an opaque placeholder row. Pass full=true for a richer tree including landmarks and headings.
ParameterTypeDescription
fullbooleanIf true, include landmark/heading nodes alongside interactive elements.
browser_tabsManage browser tabs: list current tabs, open a new tab, switch the active tab, or close a tab. Tabs are addressed by stable handles like 't2' (from `list` or the `id` returned by `new`); handles never change and are never reused, even after the tab closes. `id` is required for switch and close. `url` is optional for `new` (the new tab is created blank if omitted).
ParameterTypeDescription
action *stringTab operation to perform.
idstringStable tab handle like 't2' for action='switch' or action='close'. Get handles from action='list' (or the id returned by action='new').
urlstringAbsolute http(s) URL to load when action='new'. Optional.
browser_typeClear and type text into an input element identified by its @eN ref. Returns a fresh snapshot, possibly as a diff (call browser_snapshot for the full tree).
ParameterTypeDescription
ref *stringInput ref like '@e3' from the latest snapshot.
text *stringText to type into the input.
browser_upload_fileUpload a workspace file via a file input. Path is workspace-relative and validated against escapes (including symlink targets).
ParameterTypeDescription
path *stringWorkspace-relative path to the file to upload.
ref *stringFile-input element ref like '@e3' from the latest snapshot.
browser_visionScreenshot the current page and ask the configured vision model a question about what's visible. Returns the model's text answer. Use when the accessibility snapshot can't capture what you need (charts, image-only content, visual layout, captchas-by-description). One image per call.
ParameterTypeDescription
annotatebooleanIf true, overlay numbered badges showing element refs (@eN from the latest snapshot) on the screenshot so the answer can cite specific elements. Secret-bearing elements are never badged.
fullbooleanIf true, capture the full scrollable page; otherwise just the viewport.
question *stringQuestion to ask about the page screenshot.
browser_wait_forWait for an element (by @eN ref) to reach a state, or for a substring to appear in the page text. Exactly one of `ref` or `text` must be supplied. Returns a fresh snapshot after the wait completes, possibly as a diff (call browser_snapshot for the full tree).
ParameterTypeDescription
refstringElement ref like '@e3' from the latest snapshot. Mutually exclusive with `text`.
statestringElement state to wait for when using `ref`. Defaults to 'visible'.
textstringSubstring to wait for in document.body.innerText. Mutually exclusive with `ref`.
timeoutMsnumberMaximum wait in milliseconds. Defaults to 10000. Hard cap of 60000 (60s); larger values are silently clamped.
cancel_taskCancel a running task. Use for runaway subagents the user wants to abort, or to clean up an unrelated task. Refuses to cancel the CURRENT chat task — call cancellation never makes sense from inside the task it would terminate. Already-terminal tasks (completed / failed / cancelled) are returned as-is by the underlying handler.
ParameterTypeDescription
taskId *stringId of the task to cancel (e.g. 'task_abc123').
code_execRun a short snippet of code in a sandboxed shell. Approval-gated.
ParameterTypeDescription
code *stringThe code to run.
language *stringLanguage to execute. Supported: js, ts, python.
create_agentCreate a new agent row. It is NOT activated — follow up with use_agent to switch. Inherits provider/toolsets from the default agent unless overridden. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
modelstringOptional model override (e.g. 'deepseek-v4-pro'). Defaults to the default agent's model.
name *stringHuman-readable name (e.g. 'Athena').
providerNamestringOptional provider override (e.g. 'deepseek'). Defaults to the default agent's provider.
toolsetsarrayOptional list of toolset names this agent is allowed to use. Defaults to the default agent's toolset set.
create_jobSchedule a recurring or one-shot job that runs a prompt. ALWAYS set `skillNames` when the prompt touches an integration covered by an Available skill (e.g. google-calendar + google-gmail for a daily briefing, linear for an issue digest): attached skills' instructions are inlined into every fire, so the job follows the recipe instead of rediscovering CLI usage each run — omitting them makes every fire slower, costlier, and less reliable. The job delivers each fire into the conversation it was created from — this same Topic or chat — so its reports stay where the user set it up; no separate destination to pick. When created from a Topic, each fire also surfaces in the parent Chat automatically (the Topic mirrors its activity there), so the user sees it in both places. To ALSO push the job's output to a messaging app, set `deliveryTargets` (see below) — that is in addition to the in-conversation delivery, not instead of it. Provide EITHER `intervalSeconds` OR `cronExpression` (with `cronTimezone`), never both. Use `intervalSeconds` for 'in N minutes' or 'every N hours' (from-now timing). Use `cronExpression` + `cronTimezone` for wall-clock or weekday patterns ('daily at 9am', 'weekdays at 8:30'). Set oneShot=true for single-fire reminders. When a scheduled job needs to run UNATTENDED (e.g. recurring with no human present at fire-time), set `approvalMode: "yolo"` for tasks that need broad action, or use `autoApproveCommands` for narrow shell-pattern opt-ins — otherwise the job may stall at a gated approval forever (the instance default is "auto", which auto-approves file writes and safe shell commands but still gates dangerous patterns like rm -rf, sudo, pipe-to-sh, chmod 777, and destructive git operations). `dangerouslyAutoApprove: true` is a deprecated alias for `approvalMode: "yolo"` kept for back-compat. The default `timeoutSeconds` is 600 (10 min) — drop it lower for trivial reminders, or raise it (e.g. 1800+) when the prompt invokes external CLIs like codex or claude-code that can take several minutes.
ParameterTypeDescription
approvalModestringApproval policy for this job's spawned tasks only. "strict" gates every approval-eligible action. "auto" auto-approves file writes / safe shell commands, gates dangerous shell patterns. "yolo" bypasses everything (full audit trail still written). When omitted, the spawned task inherits the operator's instance default.
autoApproveCommandsarrayShell command patterns that auto-approve without asking the user at fire-time. Always wins over the dangerous-pattern blocklist when matched (explicit operator allow beats heuristic block). Use when the job must act unattended on specific commands. Examples: 'git *', 'gh *', 'cd *', 'ls *', 'rg *'. Patterns are matched against the full command string; only add patterns that match the user's stated intent for the job.
cronExpressionstringStandard 5-field Unix cron: `minute hour day-of-month month day-of-week`. No seconds field, no year field. Day-of-week is 0-6 with 0 = Sunday (NOT ISO 1=Monday); `1` is Monday, `5` is Friday. Examples: '0 9 * * *' (every day at 09:00), '30 8 * * 1-5' (08:30 on weekdays), '0 */2 * * *' (every 2 hours), '0 0 1 * *' (midnight on the 1st of each month). FOOTGUN: if you restrict BOTH day-of-month and day-of-week, Unix cron OR's them — '0 0 1 * 1' means 'midnight on the 1st OR every Monday', NOT 'when the 1st is a Monday'. There is no Unix-cron expression for 'first Monday of the month'; refuse such requests or split into two separate jobs. Mutually exclusive with `intervalSeconds`. Always pair with `cronTimezone` for wall-clock-named times.
cronTimezonestringIANA timezone identifier (e.g. 'America/Los_Angeles', 'Europe/Berlin', 'Asia/Tokyo', 'UTC'). Defaults to 'UTC' when omitted. Always set this explicitly when the user names a wall-clock time — '9am' alone is ambiguous; '9am America/Los_Angeles' is not. Only valid alongside `cronExpression`.
dangerousTerminalPatternsarrayOverride the dangerous-pattern blocklist for this job's spawned tasks. Each entry is a substring matched against the command string. Only consulted when approvalMode is "auto". When omitted, the built-in defaults apply (rm -rf to absolute paths, sudo, pipe-to-sh, chmod 777, destructive git operations, writes to /etc/, ~/.ssh/, ~/.aws/).
dangerouslyAutoApprovebooleanDEPRECATED alias for approvalMode: "yolo". Kept for back-compat; new payloads should use approvalMode instead. If both fields are set, approvalMode wins.
deliveryPolicystringHow each fire's final reply is delivered. "always" (default): every reply delivers. "on_findings": watch-style — the fire is invited to reply [SILENT] when there is nothing new, so only real findings deliver. "silent": never deliver — the run's output stays in the job's hidden working thread; use for watch jobs that spawn a child task per finding (spawn_task with a correlation_key) instead of reporting. Not allowed with oneShot=true.
deliveryTargetsarrayOptional messaging-bridge names to deliver the job's final output to (in addition to its chat thread, if it has one), e.g. ["telegram"]. Use when the user asks for the job's output to reach a messaging app. Each entry must match exactly one configured Telegram or Discord bridge by exact id, or by name or kind (case-insensitive), and is stored as the bridge id; unknown or ambiguous entries are rejected with the dispatchable bridge names so you can relay the fix.
intervalSecondsnumberSeconds between runs (from-now timing). For a one-shot reminder, this is the delay until the single fire (e.g. 120 for 'in 2 minutes'). Mutually exclusive with `cronExpression`.
name *stringShort human-readable label (e.g. 'cake-reminder').
oneShotbooleanIf true, the job is paused after its first successful run. Defaults to false (recurring).
preRunHookobjectOptional pre-fire hook: a registered trusted handler runs in-process before each fire and either shortCircuits the run (no model turn; also auto-pauses oneShot jobs, so watch jobs need oneShot=false) or injects context items into the prompt turn. The built-in "skill-script" handler runs config.skill/config.script headless, passing the remaining config keys to the script as args.
prompt *stringThe instruction the agent will receive when the job fires. Phrase it from the user's perspective (e.g. 'Remind me to take the cake out of the oven.').
skillNamesarrayNames from the Available skills list to attach to this job. Their full instructions are loaded into every run, so each fire follows the skill's recipe instead of rediscovering CLI usage. Pick by each skill's listed description, choosing the OPERATING recipes the fire will follow at run time — e.g. a calendar/email digest needs google-calendar + google-gmail. Never attach one-time setup/installation skills (anything described as 'setup', 'install', or 'sign in'); setup is already done by the time the job fires. Max 8; every name must match an enabled skill.
timeoutSecondsnumberWall-clock seconds before the spawned task is killed. Default 600 (10 min) — enough for typical git/gh + multi-file scan jobs. Drop lower (e.g. 60-120) for trivial reminders; raise (e.g. 1800-3600) when the prompt invokes external CLIs like codex or claude-code that can run several minutes. The model will be terminated mid-thought if this is too low.
db_executeRun a single write/DDL statement (CREATE TABLE, ALTER, DROP, INSERT, UPDATE, DELETE) against YOUR per-agent database. Use this to set up tables for things the user wants tracked as structured records and to add or change rows. One statement per call; use parameter placeholders (?) with `params` for values. For loading a whole CSV/XLSX file, use db_import instead of many INSERTs. The database is private to you and isolated from Gini's system data.
ParameterTypeDescription
paramsarrayValues bound to ? placeholders, in order.
sql *stringA single SQL statement (DDL or DML).
db_importLoad a CSV or XLSX file from your workspace into a table in your per-agent database — one file row becomes one table row, deterministically (no truncation, no summarizing). Columns are derived from the file's header row, stored as TEXT; leading non-table preamble lines (e.g. an export's notes) are skipped automatically (or pin the header with skipLines). Use this whenever the user gives you a spreadsheet/export to remember and query (contacts, transactions, a roster, …). After importing, inspect with db_schema and query with db_query; reshape with db_execute if you want typed/renamed columns.
ParameterTypeDescription
path *stringWorkspace-relative path to the CSV/XLSX file (shown in the attachment note).
recreatebooleanDrop the table first if it already exists (default false → append).
skipLinesnumberOptional 0-based index of the header row, to skip preamble lines explicitly.
table *stringDestination table name (created if absent).
db_queryRun a read-only SQL query (SELECT / WITH) against YOUR per-agent database and get back every matching row. This is your tool for EXHAUSTIVE, exact questions over structured records you've stored — 'how many / list all X where …', counts, GROUP BY, JOINs. Use it instead of recall_memory whenever completeness matters (recall is a fuzzy top-K sample and will undercount). Returns up to a row cap with a `truncated` flag — use COUNT(*) / LIMIT / OFFSET to page large sets. Use parameter placeholders (?) with `params` for any values. Call db_schema first if you don't know what tables exist.
ParameterTypeDescription
paramsarrayValues bound to ? placeholders, in order.
sql *stringA single read-only statement (SELECT or WITH …).
db_schemaList the tables in your per-agent database with their columns and row counts. Call this to see what you're already tracking before querying or creating tables.
delete_agentHard-delete an agent and its per-agent memory bank. Refuses the default agent and the currently-active agent (switch via use_agent first). Call list_agents for the id. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
agentId *stringAgent id or name to delete (e.g. 'agent_abc123' or 'athena').
delete_jobDelete a scheduled job and its run history. Use sparingly — prefer update_job when changing a job's schedule, prompt, or status, since update preserves the job id, dedicated chat thread, and audit chain. Use delete_job when the user explicitly asks to remove a job, or when you must compose delete+create to reach a target state that update_job can't express. Call list_jobs first if you don't already know the jobId.
ParameterTypeDescription
jobId *stringId of the job to delete (e.g. 'job_a3aa6707'). Get this from list_jobs.
disable_skillDisable a registered skill so it stops appearing in the advertised-skills block. Use when the user asks to turn a skill off. Trivial; no approval gate. The skill's manifest stays on disk — re-enable with enable_skill when needed.
ParameterTypeDescription
skillId *stringSkill id or name (e.g. 'skill_abc123' or 'apple-notes').
disable_toolsetDisable a toolset so its tools stop being offered to agents. Self-config tools bypass toolset gating, so this can't lock the agent out of its own config surface; reversible via enable_toolset. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
toolset *stringToolset name or id (e.g. 'browser', 'messaging').
edit_soulEdit the active agent's SOUL.md — your own persona / character / identity (name, voice, tone, style, boundaries). Fire when the user shapes WHO YOU ARE, not WHAT TO DO for them. Example phrasings that DO trigger this tool: "You are Athena, a research assistant"; "be more sardonic, don't hedge"; "act as a stoic critic with strong opinions"; "speak like a pirate from now on". Example phrasings that DO NOT trigger this tool: "I prefer concise replies", "be more concise", "no pleasantries", "use bullet points" — those are USER preferences about how the user wants replies and route to `edit_user_profile`. Most turns are not about your identity, so most turns write nothing here. When in doubt, default to `edit_user_profile`; USER.md is about the user, SOUL.md is about you. Prefer `action: "set"` with the full consolidated SOUL.md body — keep a leading `Your name is <name>.` line and use H2 sections (`## Voice`, `## Style`, `## Boundaries`); the current file is visible in the system prompt above, so emit the new version with the new content integrated under the right section. Write entries as facts about who you are, not directives to yourself ("Voice is terse" ✓ — "Always be terse" ✗). Aim to keep the file under the soft cap shown in the SOUL persona header (1500 chars); when near or over cap, consolidate. Auto-approved: a clean body goes straight to SOUL.md and rides the system prompt on the next turn. The injection scan still gates content that trips a threat pattern. After a clean edit, give a short natural acknowledgment ("Got it — I'll keep it dry."); do NOT narrate the tool call. `action: "append"` adds a new section below existing content (prefer set; append is a legacy fallback). `action: "remove"` drops the first paragraph containing the `needle` substring from the existing body; requires `needle`. Requires an active agent — there is no per-instance SOUL.
ParameterTypeDescription
actionstringWhether to replace the whole SOUL.md body (set), append a new section below the existing content (append), or drop the first paragraph containing `needle` from the existing content (remove).
contentstringThe new SOUL.md body (action=set) or the section to append (action=append). Keep it concise — every turn pays for this in tokens. Not required for action=remove.
needlestringRequired when action=remove. A plain substring; the first paragraph in the existing SOUL.md that contains this substring is dropped.
edit_user_profileEdit the instance-scoped USER.md — facts and preferences ABOUT THE USER. Two kinds of content fire this tool: (1) facts about the user — name, role, location, employer, languages, family; (2) preferences for how the user wants you to communicate — "I prefer concise replies", "be more concise", "no pleasantries", "use bullet points for lists", "wants detailed technical explanations". Even when the user phrases a preference as an imperative ("be direct with me", "skip the preamble"), it is a preference about how the user wants replies → this tool, NOT `edit_soul`. If the user is talking about themselves OR about how they want replies, use this tool. `edit_soul` is reserved for the rare case where the user is explicitly assigning the agent a persona ("You are X", "Act as X"). When in doubt, default to this tool. Prefer `action: "set"` with the full consolidated USER.md content under H2 sections (`## Identity`, `## Preferences`, `## Background`, `## Goals`) — the current file is visible in the system prompt above, so emit the new version with the new content integrated under the right section rather than appending a chunk below. Only call when the user's CURRENT message contains a NEW durable fact or preference NOT already in USER.md. Write entries as facts ABOUT the user, not directives to yourself ("User prefers concise replies" ✓ — "Always reply concisely" ✗); imperative phrasing in USER.md gets re-read next session as a system directive. Casual chat and follow-up questions are NOT identity facts — most turns should produce ZERO calls. Aim to keep the file under the soft cap shown in the USER profile header (1500 chars); when near or over cap, consolidate. DO NOT save task progress, PR/issue/commit IDs, completed-work logs, or other transient state — those belong in long-term memory (auto-retain handles them silently). Do NOT narrate the call: just acknowledge briefly ("Got it, X.", "Noted."). Auto-approved: writes go straight to USER.md and ride the system prompt on the next turn. USER.md is instance-scoped so the user's identity bridges across agent switches. The injection scan still gates content that trips a threat pattern. `action: "append"` adds a new section (legacy fallback; the storage layer de-duplicates lines that already exist); `action: "remove"` drops the first paragraph containing the `needle` substring (requires `needle`). Distinct from edit_soul (per-agent persona; same auto-approve policy).
ParameterTypeDescription
actionstringWhether to replace the whole USER.md body (set), append a new section below the existing content (append), or drop the first paragraph containing `needle` from the existing content (remove).
contentstringThe new USER.md body (action=set) or the section to append (action=append). Not required for action=remove.
needlestringRequired when action=remove. A plain substring; the first paragraph in the existing USER.md that contains this substring is dropped.
enable_skillEnable a registered skill so it appears in the advertised-skills block and the agent can read its body. Use after the user asks to turn a skill on (or after install_skill if the manifest didn't auto-enable). Bundled (first-party) skills enable immediately. Enabling a non-bundled skill that requires a credentialed connector first prompts the user for a one-time consent grant (a setup card per connector) before the skill can use that credential — expect the call to come back pending; the loop resumes once the user grants.
ParameterTypeDescription
skillId *stringSkill id or name (e.g. 'skill_abc123' or 'apple-notes').
enable_toolsetEnable a toolset so its tools become available to agents on this instance. Call list_toolsets first for the name. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
toolset *stringToolset name or id (e.g. 'browser', 'messaging').
file_listList entries in a directory inside the workspace. Returns up to 200 entries.
ParameterTypeDescription
pathstringWorkspace-relative directory. Defaults to '.'.
file_patchPatch a workspace file by replacing one block of text with another. Approval-gated.
ParameterTypeDescription
newText *stringThe replacement text.
oldText *stringThe exact existing text to replace. Must appear verbatim in the file.
path *stringWorkspace-relative path.
file_readRead a UTF-8 text file from the workspace. Returns up to 12000 characters.
ParameterTypeDescription
path *stringWorkspace-relative path.
file_searchSearch workspace files for a substring (case-insensitive). Returns up to 100 path:line matches.
ParameterTypeDescription
pathstringWorkspace-relative directory to search. Defaults to '.'.
pattern *stringSubstring to match.
file_writeWrite a workspace file. Approval-gated: the user must approve before the file is written.
ParameterTypeDescription
content *stringFull file content to write.
path *stringWorkspace-relative path.
get_current_timeReturn the current wall-clock date and time (local timezone, plus UTC). Read-only, no side effects. Use whenever you need the exact current time — answering 'what time is it', computing a relative time like 'in 30 minutes', or timestamping something. The system prompt already gives today's date; call this for the precise time of day.
get_selfCompact snapshot of Gini's own runtime — instance, port, version, active provider/model, active agent, approval mode, and resource counts. Use this to answer questions about Gini's current configuration ('what model are you using?', 'what's your setup?'). Read-only.
install_skillInstall a skill from a raw SKILL.md document. Validates the manifest, writes it under the instance's skills directory, and reloads the skill registry. Use when the user shares a SKILL.md body (or you generated one) and wants it active. Companion to the meta/install-skill agent skill — that skill drives the full UX flow; this tool is the direct API call.
ParameterTypeDescription
body *stringFull SKILL.md content (YAML frontmatter + markdown body).
filesarrayOptional named-file payloads written next to SKILL.md (e.g. scripts/linear.sh). Each entry's name is treated as a relative path under the skill folder and must not escape it.
list_agentsList the agents on this instance with their per-agent provider/model overrides, toolset whitelists, and which one is active. Read-only. Call before use_agent to get the right agent id.
list_connectorsList the registered connectors (claude-code, codex, linear, …) with provider, status, and health. Read-only.
list_jobsList scheduled jobs visible to this instance. Cheap, side-effect-free; call this first when the user refers to 'this job', 'my reminder', or any existing scheduled job so you can target the right job id with update_job / delete_job (instead of creating a duplicate). Returns a compact JSON array with each job's id, name, status, schedule shape (cronExpression+cronTimezone OR intervalSeconds), oneShot flag, nextRunAt/lastRunAt timestamps, chatSessionId, attached skillNames, and a truncated prompt. Pass `fullPrompt: true` when you intend to edit a prompt (e.g. 'append to this reminder' or 'change wording X to Y') so you get the verbatim prompt without truncation — otherwise prompts are truncated to 200 chars to keep the result compact.
ParameterTypeDescription
fullPromptbooleanOptional. If true, return each job's prompt verbatim with no truncation. Default false. Set true when you intend to edit a prompt (append, search-and-replace) so update_job can submit the complete new prompt without losing tail content.
nameContainsstringOptional case-insensitive substring filter on job name.
list_mcp_serversList the registered MCP servers with transport, status, and exposed tool count. Read-only.
list_messaging_bridgesList the messaging bridges configured on this Gini instance. Returns each bridge's id, name, kind (telegram | discord | demo), status (configured | error | disabled), and bot username when present. Useful before suggesting bridge changes ('do you already have telegram?'), before calling request_remove_messaging_bridge or request_messaging_pairing (so you can target the right bridge id), or whenever the user asks 'what bots are connected?'. Read-only and cheap — call it whenever you need fresh state.
list_messaging_pairingsList the pending Telegram pairing requests AND the currently-allowed chats for a bridge. Returns an object with `allowedChatIds` (the chats already enrolled) and `recentDeniedChats` (each pending row's chatId, sender, chatType, lastAttemptAt). Call this when the user says 'any pending bots?' / 'who DM'd the bot?' / 'show pairings'; the result tells you whether to immediately call request_messaging_pairing to surface an approve card. Verification codes are NOT returned by this tool — the operator confirms them out-of-band against the bot's DM reply, and request_messaging_pairing reads the code server-side when minting the approval. Only telegram bridges have an allowlist; calling on a discord/demo bridge returns an error envelope.
ParameterTypeDescription
bridge *stringBridge id (e.g. 'bridge_abc123') or human name (e.g. 'my-telegram-bot') of the bridge to query. Get it from list_messaging_bridges first if you're not sure.
list_providersList the LLM provider catalog — which provider is active and which have credentials configured. Read-only. Call this before set_provider to confirm the target is configured.
list_skillsList installed skills with id, name, category, status, trigger phrase, and script names. Read-only. Filter by `status` or `nameContains`.
ParameterTypeDescription
nameContainsstringOptional case-insensitive substring filter on the skill name.
statusstringFilter by status. Defaults to 'all'.
list_toolsetsList the instance toolsets with id, name, status (enabled/disabled), description, and the tool names each gates. Read-only. Call before enable_toolset/disable_toolset.
load_toolsLoad the full schemas for one or more tools listed in the 'Tools available on demand' section of your system prompt so you can call them. Pass their EXACT names. After this returns, call each loaded tool directly by name on a later turn — do NOT pass its arguments to load_tools. Example: load_tools({"names":["browser_snapshot"]}).
ParameterTypeDescription
names *arrayExact names of the on-demand tools to load (e.g. ['browser_snapshot', 'browser_click']).
mcp_callInvoke a tool on a configured MCP server. Use list_skills/read_skill first to discover what tools each MCP server exposes (e.g. read_skill name='linear' for Linear).
ParameterTypeDescription
argumentsobjectArguments object the MCP tool expects. Shape varies per tool — read the skill for details.
server *stringMCP server name (e.g. 'linear').
tool *stringTool name as advertised by the MCP server (e.g. 'list_issues').
read_skillRead the full markdown body of an enabled skill by name. Use this when the system prompt advertises a skill and you need its instructions to follow.
ParameterTypeDescription
name *stringSkill name (e.g. 'apple-notes').
recall_memoryExplicit on-demand recall of stored memory. Use when the user references prior context (e.g. 'did we discuss X?', 'what do you remember about Y?'). Distinct from the automatic embedding recall that runs at the start of every task — call this when you need to fetch additional memory mid-conversation. Returns a compact JSON summary: unit count, total tokens, and an excerpt list (id, truncated content, score). Pass `tokenBudget` to cap pack size; pass `bankId` only when you need to query a specific bank (default: the active agent's bank).
ParameterTypeDescription
bankIdstringOptional memory bank id to query. Defaults to the active agent's per-agent bank.
query *stringThe phrase to search memory for.
tokenBudgetnumberMaximum tokens worth of memory units to return. Defaults to 2000.
record_skill_feedbackRecord the user's verdict on whether a recent skill-driven action turned out right, in answer to a Skill review question. A negative verdict is attributed to the named skill so it can be improved. Only call this when the user is answering such a question.
ParameterTypeDescription
detailstringOptional: what went wrong, when ok is false.
ok *booleantrue if the action turned out right, false if it was wrong.
skill_namestringThe skill the question was about (e.g. 'apple-notes').
task_id *stringThe id of the task whose action the user is judging (from the review question).
remove_connectorDisconnect a connector: wipe its encrypted secrets (user connectors) or tombstone it (auto-detected ones). Call list_connectors first for the id. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
connector *stringConnector id to remove.
remove_mcp_serverDisable a registered MCP server so its tools stop being offered. Call list_mcp_servers first for the id. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
server *stringMCP server id or name.
remove_providerDisconnect an LLM provider whose credentials gini stores: scrub its key(s) from process.env + secrets.env. Covers the API-key providers (openai/openrouter/deepseek/anthropic) and bedrock (scrubs its AWS_ACCESS_KEY_ID + AWS_SECRET_ACCESS_KEY). If it was active, falls back to codex (or echo). Codex and local cannot be removed this way. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
provider *stringProvider id to remove (e.g. 'openai', 'openrouter', 'deepseek', 'anthropic', 'bedrock').
rename_agentRename an agent. Updates the agent's name and keeps its seeded SOUL.md name line in sync (the folder/memory bank are id-keyed and never move). If the agent has a customized SOUL persona, also update the name reference there via edit_soul. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
agentId *stringAgent id or name to rename (e.g. 'agent_abc123' or 'Mansour').
name *stringNew human-readable name (e.g. 'Bob').
request_confirmationAsk the user to confirm before an irreversible action that goes to another person — sending or replying to a message or email, posting a reply in a web app, submitting or purchasing on their behalf. The user sees an inline Confirm/Cancel card in chat; the task pauses until they decide, then resumes with { confirmed: true } (do the action) or { confirmed: false } (don't — ask what to change). This fires even when you are otherwise auto-approved (yolo): yolo authorizes operational, reversible work, NOT speaking in the user's voice to others. EXCEPTION: if the user already gave a clear, specific go-ahead for THIS action in the conversation ("send it", "reply yes", "you can submit"), do NOT call this — just execute. This is for consent to send content the user has ALREADY approved; it is never a license to fabricate what they would say — when you lack the substance, ask for it directly in your message text (their reply arrives as the next message) and compose from their answer. Do NOT use this for risk-gated operational actions (those already go through the authorization flow) or for picking between options (use ask_user).
ParameterTypeDescription
confirmLabelstringOptional label for the confirm button (e.g. "Send", "Submit", "Purchase"). Defaults to "Confirm".
detailsstringOptional — the actual content the user is consenting to (the message body, the recipient, the order summary), shown in an expandable section so they can review exactly what goes out.
summary *stringOne human-readable line stating what will happen if confirmed (e.g. "Send this reply to Dana in the project thread"). Shown as the card headline.
request_connectorAsk the user to connect a credential the task needs. This is the ONLY way to obtain a credential: it renders a SECURE inline input in the web chat so the value is captured server-side — NEVER ask the user to paste an API key, token, or secret as a normal chat message (the value would land in your context and the transcript). Two ways to call it: (1) pass a registered `provider` id (e.g. 'linear', 'github') for a known service; or (2) for a brand-new service that has no provider module, pass `name` + `type:"api-key"` (and optionally `label`, `mcpUrl`, `skillId`) to request an arbitrary api-key credential. Templateless requests support api-key ONLY — an oauth2 credential requires a registered provider or setup skill. The user sees a Connect button in the chat; the task pauses until they finish the setup, then resumes automatically.
ParameterTypeDescription
labelstringOptional human-readable label shown to the user for a templateless request (e.g. 'Some Service'). Defaults to `name`.
mcpUrlstringOptional MCP server URL to associate with an api-key credential (templateless requests only).
namestringCredential name for a templateless request (no registered provider). It IS the environment variable, so it must be an uppercase token like SOME_SERVICE_API_KEY (matches /^[A-Z][A-Z0-9_]*$/). Required when `provider` is omitted.
providerstringRegistered provider id (e.g. 'linear'). Use this for a known service whose setup is already modeled. Omit it (and pass `name` + `type:"api-key"` instead) for a brand-new service with no provider module.
reason *stringThe full user-visible message shown above the inline Connect form. You are responsible for producing the complete text — including any URLs, project IDs, click instructions, or step-by-step guidance the user needs. Substitute any real values (project ids, etc.) directly into the string; do not leave `${...}` placeholders. The skill body (when one applies) shows the exact format to follow; copy it line-for-line, fill in the real values, and pass the result here verbatim.
skillIdstringOptional id of the skill that needs this credential. When set, completing the card both stores the credential AND grants it to this skill — no separate consent card.
typestringCredential type for a templateless request. Only 'api-key' (a single secret token stored in the env var named by `name`) is supported templatelessly; an oauth2 credential needs a registered provider or setup skill. Required when `provider` is omitted.
request_messaging_bridgeAsk the user to wire up a Telegram messaging bridge by entering a bot token. Use this when the user says something like 'add a telegram bot', 'connect telegram', or any other Telegram onboarding ask. The user sees an inline card in chat with a name input and a password-masked bot-token input; once they submit, the bridge is created on the runtime — same path as the CLI's `gini messaging add` and the settings page's Add Telegram dialog. The task pauses on this approval and resumes automatically after the user submits. AFTER the bridge resolves successfully, the agent SHOULD typically chain `wait_for_messaging_pair` next so the user gets walked through the DM-the-bot → approve-the-pair handshake without context-switching — only skip the wait if the user explicitly asked to just provision the bridge without pairing right now. For Discord, point the user at the settings page (Add Discord button) because Discord bridges need a channel-ID list that this chat card does not collect.
ParameterTypeDescription
kind *stringWhich bridge kind to add. Only 'telegram' is supported from chat today; for Discord, direct the user to the settings page.
reasonstringShort user-visible text shown above the form explaining what the bridge will do (e.g. 'Add a Telegram bot so I can DM you updates.'). One line.
suggestedNamestringOptional default name for the bridge (e.g. 'my-telegram-bot'). The user can edit this in the card before submitting. Defaults to a kind-derived placeholder when omitted.
request_messaging_pairingSurface an Approve / Reject card in chat for a single pending Telegram pairing request. Use this when list_messaging_pairings reveals a pending row that the user is asking about (e.g. they just DM'd the bot from their phone and want to be enrolled). The card shows the sender, chat id, verification code, and expiry — the user clicks Approve only after confirming the code matches what their Telegram client received. Approve enrolls the chat on the allowlist and the bot greets the user; Reject clears the pending row without enrolling. Don't call this for pairing requests with expired codes — tell the user to DM the bot again to mint a fresh code.
ParameterTypeDescription
bridge *stringBridge id or name. Same shape list_messaging_pairings accepts.
chatId *numberTelegram chat id from the pending row. Negative ids are valid (groups/supergroups), positive ids are direct DMs.
reasonstringShort user-visible text shown above the card (e.g. 'Confirm this is you on Telegram before I enroll your chat.'). One line.
request_remove_messaging_bridgeAsk the user to confirm tearing down a messaging bridge from chat. The card shows the bridge's name + kind + an irreversibility warning ('deletes the bridge and its bot token; past messages stay in history'). Use this when the user says 'remove my telegram bot', 'delete the discord bridge', etc. List with list_messaging_bridges first if you don't already know the bridge id. The card requires explicit Remove confirmation; the user can Cancel to back out.
ParameterTypeDescription
bridge *stringBridge id (e.g. 'bridge_abc123') or human name (e.g. 'my-telegram-bot'). Resolves to the same record list_messaging_bridges returns.
reasonstringShort user-visible text shown above the confirmation (e.g. 'Confirm you want to delete the my-telegram-bot bridge and its bot token.'). One line.
rollback_skillRoll a skill back to its previous saved version. Fails if the skill has no rollback history. Call list_skills first for the id. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
skillId *stringSkill id or name to roll back.
rotate_connectorRotate a connector's credential — write a new token into one of its secret slots. Pass 'purpose' when the connector has more than one slot. Call list_connectors first for the id. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
connector *stringConnector id to rotate.
purposestringWhich secret slot to write (e.g. 'token'). Optional when the connector has exactly one slot; required when it has several.
token *stringThe new secret value to store.
run_jobManually fire an EXISTING scheduled job right now. This is distinct from create_job: run_job triggers a job that has already been scheduled, while create_job defines a new one. Use this when the user says 'test this job now', 'fire the reminder', or 'run job X off-schedule'. Behavior differs by job kind: prompt-backed jobs spawn an async task — posting into the job's dedicated chat thread when one is configured — using the job's configured approvalMode / autoApproveCommands at fire-time, and the tool returns once the trigger lands (run id and spawned task id included); script-backed jobs (operator-installed only) execute synchronously and the tool returns the exit code, plus a truncated stderr tail on failure. Overlap protection only applies to scheduled triggers; a manual run CAN run alongside an in-flight scheduled run. Call list_jobs first if you don't already know the jobId.
ParameterTypeDescription
jobId *stringId of the job to fire (e.g. 'job_a3aa6707'). Get this from list_jobs.
search_historySearch past chat sessions, task traces, skill text, and audit events for a substring. Use when the user references something they did before ('did I ever ask about X?', 'find that conversation about Y'). Returns up to `limit` snippets ordered by score, each with kind (task/trace/skill/audit), title, excerpt, and taskId when applicable. For memory recall use `recall_memory` instead — it queries the Hindsight bank where auto-retain persists facts.
ParameterTypeDescription
limitnumberMaximum number of snippets to return. Defaults to 20, capped at 100.
query *stringSubstring to search for (case-insensitive).
send_messageSend a message through a configured messaging bridge (Telegram, Discord, etc.). Approval-gated by default — the operator's approvalMode controls whether each call is auto-approved or queued. Pass `target` to choose a specific allow-listed chat; omit it to use the bridge's first allowed target. Use sparingly and only when the user has asked the agent to relay something to a chat — don't send a message just because one came in.
ParameterTypeDescription
bridgeId *stringId or name of the messaging bridge (e.g. 'msg_abc123' or 'my-bot').
targetstringOptional delivery target (chat id) on the bridge's allow-list. When omitted the bridge's first allowed target is used.
text *stringMessage body. Keep it concise — Telegram caps inbound text at 4096 chars.
set_approval_modeSet the runtime approval mode: strict (gate every high-risk action), auto (auto-approve safe actions, gate dangerous shell), or yolo (skip the per-action gate). Use when the user says 'set permissions to yolo' or 'stop asking me to approve'. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
mode *stringstrict | auto | yolo.
set_auto_approve_commandsREPLACE the auto-approve command allowlist (shell prefixes auto-approved without gating). This REPLACES the existing list — read get_self.approvalSettings.autoApproveCommands first and include any entries you want to keep. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
patterns *arrayThe FULL allowlist of command prefixes to auto-approve. This REPLACES the existing list — include existing entries (visible via get_self.approvalSettings.autoApproveCommands) to keep them.
set_dangerous_patternsREPLACE the dangerous-terminal-pattern list (substrings that always force a gate even in auto). This REPLACES the existing list — read get_self.approvalSettings.dangerousTerminalPatterns first and include any entries you want to keep. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
patterns *arrayThe FULL list of dangerous command substrings that always require approval. This REPLACES the existing list — include existing entries (visible via get_self.approvalSettings.dangerousTerminalPatterns) to keep them.
set_providerSwitch the active LLM provider and/or model (e.g. 'switch to deepseek'). Confirm the target is configured via list_providers first. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
apiKeystringAPI key — only required when the env var for this provider isn't already set. Persisted to secrets.env and process.env. Not used by bedrock (AWS SigV4) or codex (OAuth).
apiVersionstringAzure OpenAI api-version (e.g. '2024-10-21'). azure provider only; defaults to a GA value when omitted.
authSchemestringAuth header style for the azure provider. 'api-key' (default) sends Azure's api-key header for a resource key; 'bearer' sends Authorization: Bearer for an Entra token.
awsRegionstringAWS region for the 'bedrock' provider's Converse endpoint/signing (e.g. 'us-east-1'). Ignored by other providers.
baseUrlstringOverride base URL for OpenAI-compatible providers (openai, openrouter, deepseek, local). Ignored for codex/echo/anthropic/bedrock. For the azure provider, set this to the resource endpoint (https://<resource>.openai.azure.com) — it is required.
deploymentstringAzure OpenAI deployment name. Defaults to the model id when omitted. azure provider only.
modelstringModel identifier on the target provider (e.g. 'deepseek-v4-pro', 'gpt-5.5', or a Bedrock inference-profile id like 'us.amazon.nova-pro-v1:0'). Defaults to the provider's first catalog model when omitted.
providerstringProvider id (e.g. 'codex', 'openai', 'anthropic', 'bedrock', 'openrouter', 'deepseek', 'local', 'azure', 'echo'). When omitted, the current provider is kept and only `model`/`awsRegion`/`baseUrl` (and any Azure routing fields) are updated.
skill_runInvoke a script that ships with an enabled skill. Use this for skill-bundled procedures (e.g. `skill_run({skill:'attachments', script:'signed-upload', args:{uploadId, url, headers}})` for signed-PUT upload flows). The skill's SKILL.md is the reference for which scripts it offers and what args each takes — read_skill it first. Returns the script's JSON result verbatim, or `{ok:false, error}` on script failure / non-JSON output.
ParameterTypeDescription
argsobjectArgs object passed to the script as JSON on stdin. Shape is per-script; the skill's SKILL.md documents it.
script *stringScript basename (no extension) inside the skill's scripts/ folder (e.g. 'signed-upload').
skill *stringName of the enabled skill that owns the script (e.g. 'attachments').
spawn_subagentDelegate a focused sub-task to a constrained child agent. Returns the child's summary (or error) once it finishes. Use sparingly — one delegation per logical sub-goal — and prefer direct tool use for simple queries.
ParameterTypeDescription
contextstringOptional background the subagent needs (constraints, prior findings), rendered as a '## Context' section ahead of the prompt.
goalstringOptional one-line objective for the subagent, rendered as a '## Goal' section ahead of the prompt.
name *stringShort label for the subagent (e.g. 'research', 'patch-author').
prompt *stringThe user-facing instruction for the subagent.
skillsarrayOptional list of enabled skill names to advertise. Subset of the parent's enabled skills.
system_promptstringOptional override for the subagent's system instructions. Defaults to a generic 'focused subagent' preamble.
timeout_msnumberHow long to wait for the subagent before timing out. Defaults to 300000 (5 minutes).
toolsetsarrayOptional list of toolset names to expose. Subset of the parent's enabled toolsets.
spawn_taskSpawn a durable child task with its own thread. Use for user-facing or durable delegated work — a draft the user must review, a follow-up errand, one work item per finding from a watch. The child starts ONLY from the written brief you pass here (title/prompt/goal/context); it cannot see this conversation, so include everything it needs. Its activity mirrors into this thread as it runs. For invisible in-run helpers (parallel fan-out, heavy reads, a narrowed-tool chunk of THIS task) use spawn_subagent instead — helpers report back only to you and never surface to the user.
ParameterTypeDescription
awaitstring'result' (default) waits for the child's first run and returns its outcome; 'none' returns immediately with the child's ids (fire-and-forget, e.g. watch fan-out).
contextstringOptional background the child needs (constraints, prior findings), rendered as a '## Context' section ahead of the prompt. Include the relevant slice here — never assume the child can see this thread.
correlation_keystringOptional idempotency key, scoped to this container. Re-spawning with the same key returns the existing child (deduped: true) instead of minting another — including after the user acknowledged or archived it. Use a stable per-finding id (e.g. 'email:<message-id>').
goalstringOptional one-line objective for the child, rendered as a '## Goal' section ahead of the prompt.
prompt *stringThe written brief the child's first run starts from. Self-contained — the child cannot read this thread's transcript.
skillsarrayOptional list of enabled skill names to advertise to the child. Subset of the parent's enabled skills.
surfacebooleantrue marks the child as user-facing so it can appear on the user's home (e.g. a draft to review). Default false: an internal errand whose activity only mirrors into this thread.
title *stringShort user-facing title for the child task's thread.
toolsetsarrayOptional list of toolset names to expose to the child. Subset of the parent's enabled toolsets.
terminal_execRun a shell command in the workspace. Approval-gated; user must approve. Returns stdout/stderr and exit code. The working directory is the agent WORKSPACE root, not the user's home directory — `~` does NOT point at the workspace, so reference workspace files with relative paths (or absolute paths inside the workspace), never `~/...`. Set timeoutMs explicitly for slow commands (Apple/AppleScript-backed CLIs like memo or remindctl can take 30+ seconds; brew installs can take minutes). Set pty=true for interactive CLI tools (vim, memo, claude-code, codex, python repl) — without pty they hang or exit immediately because stdin is not a TTY. Commands always run with a clean env: no connector secrets are ever injected, so a Linear-token leak can't ride alongside a curl invocation. A command that genuinely needs a connector credential must ship as a skill script and be invoked via `skill_run` — that is the only path connector secrets enter a process.
ParameterTypeDescription
command *stringShell command line. Runs through `zsh -lc`.
ptybooleanSet true for interactive CLIs that need a TTY (vim, memo, claude-code, codex, python repl). When true the command is spawned under a pseudo-terminal so it doesn't see stdin-is-not-tty errors. Default false.
timeoutMsnumberMaximum runtime before kill, in milliseconds. Defaults to 60000 (60s). Bump for slow ops (memo/remindctl scans, brew installs, network).
test_skillValidate a skill's record (required fields, steps, spec compliance) and report pass/fail. Records the test outcome on the skill, so it is approval-gated: auto-approved in `auto` mode, gated in `strict`. Call list_skills first for the id.
ParameterTypeDescription
skillId *stringSkill id or name to test.
update_jobPatch an existing scheduled job in place. Use this — NOT delete+create — when the user wants to change a job's schedule, prompt, name, status, skill attachments, auto-approve envelope, or delivery binding (`deliverTo`); this preserves the job id, its bound chat session, and run history. Supply only the fields you want to change. Schedule transitions follow the same mutual-exclusion rule as create_job: a single patch may not set BOTH a positive intervalSeconds AND a cronExpression. To switch a job between cron-driven and interval-driven, pass the new driver and set the other to null (e.g. `{cronExpression: '0 9 * * *', cronTimezone: 'America/Los_Angeles', intervalSeconds: null}`). Call list_jobs first if you don't already know the jobId.
ParameterTypeDescription
autoApproveCommandsarrayOptional new list of auto-approve shell patterns for unattended fires.
cronExpressionanyOptional new 5-field Unix cron expression. Pass a string to make the job cron-driven; pass null to clear it when switching to intervalSeconds.
cronTimezoneanyOptional new IANA timezone identifier (only valid with cronExpression). Pass null to clear (only legal when also clearing cronExpression).
dangerouslyAutoApprovebooleanOptional. If true the scheduled task bypasses ALL approval gates at fire-time.
deliverTostringOptional rebind of where future fires deliver. "channel": creates a NEW dedicated job channel and delivers future fires there (a previously archived channel is never unarchived); no-op when the job already delivers to a channel. "chat": delivers future fires into THIS conversation (only valid when invoked from a chat conversation) and ARCHIVES the job's previous dedicated channel — its history is preserved and the channel stays directly addressable, but it disappears from session lists; no-op when the job is already bound to this conversation. Not available for watcher jobs (preRunHook or fan-out routes) — their sessions carry routing state.
deliveryPolicystringOptional new delivery policy for each fire's final reply. "always": every reply delivers. "on_findings": watch-style — only real findings deliver (the fire may reply [SILENT] when there is nothing new). "silent": never deliver — output stays in the job's hidden working thread. Rejected on oneShot jobs.
deliveryTargetsarrayOptional new list of messaging-bridge names that receive the job's final output in addition to its chat thread, e.g. ["telegram"]. Pass [] to clear. Each entry must match exactly one configured Telegram or Discord bridge by exact id, or by name or kind (case-insensitive), and is stored as the bridge id; unknown or ambiguous entries are rejected.
intervalSecondsanyOptional new interval. Pass a positive integer to make the job interval-driven; pass null to clear the interval when also setting cronExpression.
jobId *stringId of the job to patch (e.g. 'job_a3aa6707'). Get this from list_jobs.
namestringOptional new human-readable label.
oneShotbooleanOptional. If true the job is auto-paused after its first run.
promptstringOptional new instruction the agent will receive when the job fires.
skillNamesanyOptional new skill attachments (FULL replacement — supply every skill the job should keep; pass [] (or null) to clear). Attached skills' full instructions are loaded into every run, so each fire follows the skill's recipe instead of rediscovering CLI usage. Pick by each skill's listed description, choosing the OPERATING recipes the fire will follow at run time. Never attach one-time setup/installation skills (anything described as 'setup', 'install', or 'sign in'); setup is already done by the time the job fires. Call list_jobs first to see the job's current skillNames. Max 8; every name must match an enabled skill.
statusstringOptional pause/resume. 'paused' stops the scheduler from firing the job; 'active' resumes it.
timeoutSecondsnumberOptional. Wall-clock seconds before the spawned task is killed.
update_selfUpdate the runtime to the latest commit (git fetch + reset + bun install) and RESTART the gateway so the new code takes effect. Only works from the installer-managed runtime. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
use_agentSwitch the active agent. Its provider/model override, SOUL.md, toolset filter, and memory namespace take effect next turn. Call list_agents first for the id. Approval-gated: auto-approved in `auto` mode, gated in `strict`.
ParameterTypeDescription
agentId *stringAgent id or name (e.g. 'agent_abc123' or 'athena').
vision_queryAsk the configured vision model a question about an existing Gini upload (image/png or image/jpeg). Use this for chat-attached screenshots when you need to inspect details beyond what's already in vision context, or after skill scripts (e.g. attachments/signed-download) landed an image and you want the model to describe / extract from it. Returns { ok, answer, usage?, error? }. Costs a vision-model call.
ParameterTypeDescription
maxTokensnumberOptional cap on the response length. Default 512.
question *stringWhat to ask about the image.
uploadId *stringId of the image upload to query (from the chat marker, or from a skill script that landed an upload).
wait_for_messaging_pairBlock server-side until an inbound Telegram pairing request arrives on the named bridge, then automatically surface the messaging.approve_pairing confirmation card so the user can Approve / Reject inline. Use this RIGHT AFTER request_messaging_bridge succeeds: the agent should stay engaged with the user through the bridge add → user DMs bot → approve dance instead of returning control and asking the user to come back. The tool blocks for up to `timeoutSeconds` (default 600) checking for a fresh pending row every second; the moment one appears it mints the approval card and pauses the task on it. On Approve/Reject the chat-task loop resumes with the outcome string and the agent continues. On timeout, returns `{ok: false, error: 'timeout'}` so the agent can ask the user whether to keep waiting.
ParameterTypeDescription
bridge *stringBridge id or name to watch for inbound pairings. Same shape as list_messaging_pairings.
reasonstringOptional user-visible text shown above the eventual approval card (e.g. 'Confirm the code I'm seeing matches what your bot replied with.'). One line.
timeoutSecondsnumberMax seconds to block waiting for an inbound pair. Default 600 (10 min — matches the verification code's TTL so a slow user can still complete pairing on the same code). The runtime clamps to [10, 1800].
web_fetchFetch an HTTP/HTTPS URL and return up to 12000 characters of stripped text.
ParameterTypeDescription
url *stringAbsolute http(s) URL.
web_searchSearch the public web. Returns up to `count` ranked results, each as `[N] title — url\n snippet`. Use this instead of guessing URLs or asking the user — it's the agent's primary way to discover fresh information. Reach for it BEFORE answering any question whose answer depends on a current, specific, or authoritative source (regulations, requirements, prices, hours, schedules, news, statistics, specific people/places/products/events, or any "look it up" request) rather than answering from training-time or recalled memory; only stable general knowledge (explanations, definitions, reasoning) should be answered without a search. Backends: Brave returns keyword web results (broad, fresh, free tier). Exa returns semantically-matched results with extracted content highlights (better for research / discovering substantive content on a concept). Default picks the first healthy connector (Brave preferred). If results don't fit the task, you may suggest the user set up the other backend via request_connector — never hardcode a choice; let the user decide. If this tool errors because no connector is configured, you still have live-web access — rather than answering from memory, query a search engine another way: use browser_navigate to open a search engine and read the results, or web_fetch a search-results URL (querying a real engine is searching; guessing random content URLs is not). You can also call request_connector for 'brave-search' (default) or 'exa' to add an API key for faster, cleaner results.
ParameterTypeDescription
countnumberMax results to return. Defaults to 5; capped at 10.
providerstringOptional explicit backend. When omitted, picks the first healthy connector (Brave preferred).
query *stringSearch query.

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.9K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by bun.lock.
  • !No dynamic code executionScanned 473 source files and found 1 call to eval or shell execution, in packages/runtime/src/tools/browser.ts:3846. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
stdio and Streamable HTTPpackages/runtime/src/execution/self-registry.ts:1116, packages/runtime/src/execution/self-registry.ts:1116
Starts other programs
21 callspackages/runtime/src/cli/commands/admin.ts:676, packages/runtime/src/cli/commands/setup.ts:346, packages/runtime/src/cli/process.ts:188
Outbound network calls
45 callspackages/runtime/src/capabilities/browser-connect.ts:80, packages/runtime/src/cli/api.ts:22, packages/runtime/src/cli/api.ts:32
Writes or deletes files
5 callspackages/runtime/src/integrations/telegram-poller.ts:612, packages/mobile/plugins/with-approval-notification-service.js:145, packages/mobile/plugins/with-approval-notification-service.js:148
Lockfile
bun.lock

Pattern matches on the source text of 473 files: places to read, not proof of what the code does at run time.

Releases

v0.3.0v0.3.0 · 8 Jun 2026Added Add relay device pairing: front the gateway over a tunnel and bring new web and mobile devices online through a QR-code and universal-link flow, with an operator approval dialog and a live active-sessions panel. (see ADR…
v0.2.0v0.2.0 · 3 Jun 2026Added Add voice messages with on-device speech-to-text: press-and-hold recording, a playable voice bubble, a first-run model setup notice, and `GET /api/stt/status`. (iOS) Add Brave and Exa web search as connector-backed providers, with an…
v0.1.0v0.1.0 · 22 May 2026Added Initial public open-source release. See README.md for what's included and the Roadmap for what's planned.

README

The repository's README runs to about 1.9K words, fetched 5 days ago. The original in the repository is authoritative.

Read full README
Questions

About Gini Agent

How do I install Gini Agent?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Gini Agent safe to use with an AI agent?

Its trust score is 78 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Conduid's scan of 473 source files found that it serves MCP over stdio and Streamable HTTP, starts other programs (21 calls), makes outbound network calls (45 calls) and writes or deletes files (5 calls). Its dependencies are pinned by bun.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Gini Agent still maintained?

Yes — the latest release is v0.3.0 (8 Jun 2026), and the last commit was 4 months ago. The repository has 2.4K stars and 26 open issues.

What tools does Gini Agent provide?

Conduid read 94 tools from the source: add_mcp_server, ask_user, browser_back, browser_click, browser_close, browser_connect, browser_console, browser_cookies and 86 more. 81 of them publish their parameters, listed under Tools above.

What license is Gini Agent released under?

The repository declares the MIT license. That applies to the latest release, v0.3.0, as well.