# Agent prompts

> Kontiga is document fraud detection by Bynn Intelligence for insurers, letting agents, lenders and HR screening teams: every document is compared with a proprietary library of more than 300 million original documents, gathered over 20 years.

Documentation index: https://kontiga.com/llms.txt

Section: Reference. URL: https://kontiga.com/docs/agent-prompts

Ready prompts for your own coding agent, each filled with this workspace's details: set up Kontiga, add it to a project, collect documents, build a workflow, receive webhooks, connect the MCP server, or watch live events on your machine. A prompt carries ids and addresses, never a secret: the agent reads its key from the environment. Each answer lists what the prompt carries, so you see what goes to your agent before you copy it.

Updated November 28, 2026

## The prompts

The agent prompts

| Name | What your agent does with it |
| --- | --- |
| `setup` | Fetches the setup guide and follows it, from finding a key to a first checked document. |
| `add_to_project` | Checks each document your project receives, keeps the verdict, and hears the result by webhook. |
| `collect_documents` | Opens a case for each new application and sends the request, with the checklist you already use. |
| `build_workflow` | Designs the steps that run on each case with you, then sets it up as a draft. |
| `receive_webhooks` | Adds an endpoint that verifies every delivery, ignores repeats, and is tested before it goes live. |
| `connect_mcp` | Gives your agent every console read and action as a tool, under your key. |
| `listen_locally` | Forwards the workspace's events to your local server, signed as real deliveries, with no public address. |

Every prompt that sends files or reads results carries two rules: send each file exactly as it arrived, and never take a result from a browser or an app as the verdict. The setup guide itself is at [/agent-setup.md](https://kontiga.com/agent-setup.md).

## List the agent prompts

Ready prompts for your own coding agent, each filled with this workspace's details: set up Kontiga, collect documents, build a workflow, receive webhooks, connect the MCP server.

`GET /v1/agent_prompts`. Who may: Owner, Admin and Developer. CLI: `kontiga prompts list`. MCP tool: `list_agent_prompts`.

**Parameters**

**Returns** list of agent prompts: Each prompt with what it does, the workspace details it carries, and its text; never a secret.

API:

```bash
curl -X GET https://api.kontiga.com/v1/agent_prompts \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga prompts list
```

MCP tool `list_agent_prompts`:

```json
{
  "name": "list_agent_prompts",
  "arguments": {}
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.agentPrompts.list();
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.agent_prompts.list()
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.AgentPrompts.List(ctx)
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.agentPrompts().list();
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.AgentPrompts.ListAsync();
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->agentPrompts->list();
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.agent_prompts.list
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .agent_prompts()
    .list()
    .await?;
```

Response, 200 OK:

```json
{
  "items": [
    {
      "object": "agent_prompt",
      "name": "setup",
      "title": "Set up Kontiga",
      "summary": "Your agent fetches the setup guide and follows it, from finding a key to a first checked document.",
      "uses": [{ "label": "Guide", "value": "https://kontiga.com/agent-setup.md" }],
      "text": "Set up Kontiga for me: fetch https://kontiga.com/agent-setup.md and follow it."
    },
    {
      "object": "agent_prompt",
      "name": "receive_webhooks",
      "title": "Receive webhooks",
      "summary": "Adds an endpoint that verifies every delivery, ignores repeats, and is tested before it goes live.",
      "uses": [{ "label": "Endpoint", "value": "https://hooks.brightwater.example/kontiga (live)" }],
      "text": "Add an endpoint to this project that receives Kontiga's webhooks…"
    }
  ],
  "next_cursor": null
}
```

## Read an agent prompt

One ready prompt for your coding agent, as it is copied, filled with this workspace's details.

`GET /v1/agent_prompts/{name}`. Who may: Owner, Admin and Developer. CLI: `kontiga prompts get <name>`. MCP tool: `get_agent_prompt`.

**Parameters**
- `name` (enum, required): The prompt to read. One of `setup`, `add_to_project`, `collect_documents`, `build_workflow`, `receive_webhooks`, `connect_mcp`, `listen_locally`. In the path.

**Returns** agent prompt: The prompt, its title, the workspace details it carries, and its text.

API:

```bash
curl -X GET https://api.kontiga.com/v1/agent_prompts/add_to_project \
  -H "Authorization: Bearer $KONTIGA_API_KEY"
```

CLI:

```bash
kontiga prompts get add_to_project
```

MCP tool `get_agent_prompt`:

```json
{
  "name": "get_agent_prompt",
  "arguments": {
    "name": "add_to_project"
  }
}
```

TypeScript:

```typescript
import Kontiga from "@kontiga/sdk";

const kontiga = new Kontiga(); // reads KONTIGA_API_KEY
const result = await kontiga.agentPrompts.get("add_to_project");
```

Python:

```python
from kontiga import Kontiga

kontiga = Kontiga()  # reads KONTIGA_API_KEY
result = kontiga.agent_prompts.get("add_to_project")
```

Go:

```go
client := kontiga.NewClient() // reads KONTIGA_API_KEY
result, err := client.AgentPrompts.Get(ctx, "add_to_project")
if err != nil {
	return err
}
```

Java:

```java
Kontiga kontiga = Kontiga.fromEnv(); // reads KONTIGA_API_KEY
var result = kontiga.agentPrompts().get("add_to_project");
```

.NET:

```csharp
var kontiga = new KontigaClient(); // reads KONTIGA_API_KEY
var result = await kontiga.AgentPrompts.GetAsync("add_to_project");
```

PHP:

```php
$kontiga = new \Kontiga\Client(); // reads KONTIGA_API_KEY
$result = $kontiga->agentPrompts->get('add_to_project');
```

Ruby:

```ruby
require "kontiga"

kontiga = Kontiga::Client.new # reads KONTIGA_API_KEY
result = kontiga.agent_prompts.get("add_to_project")
```

Rust:

```rust
let kontiga = kontiga::Client::from_env()?; // reads KONTIGA_API_KEY
let result = kontiga
    .agent_prompts()
    .get("add_to_project".into())
    .await?;
```

Response, 200 OK:

```json
{
  "object": "agent_prompt",
  "name": "add_to_project",
  "title": "Add Kontiga to this project",
  "summary": "Checks each document your project receives, keeps the verdict, and hears the result by webhook.",
  "uses": [
    { "label": "Workspace", "value": "Brightwater Lending (ws_8Rq4Lm2)" },
    { "label": "API", "value": "https://api.kontiga.com" },
    { "label": "Test key", "value": "kt_test_…Q7mR" }
  ],
  "text": "Add Kontiga to this project, so every document it receives is checked for changes and fraud.\n\nFirst read https://kontiga.com/agent-setup.md, https://kontiga.com/llms.txt and the documentation at https://kontiga.com/docs. Use the documented API shapes only; do not invent fields.\n\n1. Inspect this codebase and follow its language, structure and tests. Find where documents arrive (an upload, an email, a sync).\n2. Send each one to Kontiga from the server: upload the file (POST /v1/uploads), then check it (POST /v1/documents).\n3. Store the verdict (Trusted, Review or High risk), the risk score, the fraud score and each finding with where it was found. Never show the findings to the end customer.\n4. Hear the final result by webhook (document.checked) rather than by polling; verify its signature.\n\nSend each file exactly as it arrived: never resize, compress, convert or re-save an image or a PDF before Kontiga checks it.\nNever take a result from a browser or an app as the verdict: confirm it on your server, from the webhook or by reading the object with the secret key.\nWork in test mode first. Ask me before anything runs in live mode, sends anything to an end customer, or deletes. Never print, log or commit a key."
}
```
