AI prompts

The AI prompts page holds ready-made prompts that let your AI agent do the work in EyalSec for you: install es-python, configure it for the computer it is on, read your events and fix the code. This page covers what you need, how to copy a prompt, the two access choices and what each group of prompts does.

What the page is

Open AI prompts in the left sidebar, under Templates. The prompts sit in two columns: On the computer holds the ones your agent runs in a terminal on the machine they are about, and From anywhere holds the ones any agent can run over the internet. Each row is one job, written as a complete prompt. You copy it, paste it into your AI agent, and the agent carries it out through the EyalSec API and, where the job needs it, with commands on the computer.

Every prompt tells the agent what EyalSec is, where your dashboard and the API reference are, how to get and keep its access, how much it may change, and how to report back when it is done. You do not need to add anything; where a prompt needs a detail from you, such as which machine or which event, the agent asks.

What you need

Two things, both at the top of the page.

  • An agent that can run commands. A coding assistant in a terminal works well. For a prompt in the On the computer column, open the agent on the computer the prompt is about. A prompt in the From anywhere column runs wherever the agent is.
  • Your access choice, described next.

You do not need to create or paste a key. See How the agent gets access.

How the agent gets access

Each time you click Copy, the page adds a one-time secret to the text, the way an install command carries one. The agent trades it for a key of its own and saves the key on that computer, in ~/.config/eyalsec/api-key (on Windows, %APPDATA%\eyalsec\api-key), readable by you only. Every later prompt on that computer finds the saved key, so it needs nothing from the dashboard.

  • The secret works once, for 10 minutes. Paste the prompt soon after you copy it. If the agent says the secret has expired, copy the prompt again.
  • To connect an agent without giving it a task, use Copy the connect prompt at the top of the page. It saves the key, checks it and tells you how to disconnect it.
  • Each agent has its own key, separate from your API key. Connecting one never replaces a key another computer saved.
  • See and revoke agents under AI agents on Settings > API access (see AI agents). Changing your password revokes them all.

If the agent's environment already has EYALSEC_API_KEY set, it uses that key and leaves the secret unused. The prompts tell the agent never to print the key or put it in a commit, a log or a project folder.

Ask me first or Full access

The switch at the top of the page decides how much the agent may do, and every prompt you copy follows it.

Choice What the agent does
Ask me first Reads what it needs, then tells you each change in one line and waits for your yes. This is how the page opens.
Full access Makes every change the task needs without stopping: adds machines, installs es-python, changes settings and rules, applies templates, turns blocking on and edits the files that start your programs. It previews a change where the API offers a preview, backs up each file before editing it, and lists every change with how to undo it.

With either choice, some things stay yours unless you ask for them by name in the conversation: deleting a machine, an event or a template, uninstalling es-python, and anything under billing, password, email, two-factor or your API key.

Turning blocking on puts a machine on the Raise rate; see Machines with a Raise policy. With Ask me first the agent asks before it does that.

Copy a prompt

Click Copy on a prompt's row and paste into your agent. View shows the full text first, and the same text changes as you move the access switch. View shows where the one-time secret goes; the secret itself is made when you copy.

  • Type in the search box to find a prompt by what it does, for example docker, blocking or report.
  • Link to a prompt or a group. A single prompt has its own address (for example /scanner/prompts#configure-server), which opens its text, and a group's address (/scanner/prompts#configure) scrolls to it, so you can share a link to either.

A prompt that installs something says, in its own text, that you own or are authorized to monitor that computer. Copying it makes that statement, the same one the install panel's tick box makes (see Authorization). The prompt's row says so under its summary.

The prompts

The page shows the prompts for the products your account has.

Group What its prompts do
Start here Set up everything for me installs es-python on the computer, configures it for what runs there, moves your programs onto it and checks the result. Connect this agent to EyalSec saves a key on the computer for every later prompt. Am I secure? reads your machines, settings and findings and answers with a verdict.
Install and run Install on this computer or on servers over SSH, move services and projects onto es-python, add it to a Docker image or a CI pipeline, update it, and get a machine reporting again.
Configure The best configuration for this server, for this PC, or for every machine on the account; turning blocking on in stages; the Machines map; web protection; outbound connections; a list that is quick to read.
Events Go through every event and find the vulnerabilities, fix them in your code and prove each fix, run a project to see what it reports, explain one event, a daily brief, and an investigation of a possible attack.
Account and reports A weekly report, event forwarding, usage and cost, your account's own security, and scripts against the API.
es-chromium Install the EyalSec browser, test a web application with it and review what it reported. Shown when your account has es-chromium.

From a script

The same prompts are available over the API, so a tool of your own can fetch one and hand it to an agent. See AI prompts API.

Something unclear or missing on this page? Email support@eyalsec.com.

EyalSec Pricing Docs Security Play Security glossary About Contact עברית Login Get started Protect my Python app