AI agents
TKTail gives an AI agent evidence from your logs instead of log text pasted into a chat: the agent asks TKTail over the Model Context Protocol (MCP) and TKTail answers with parsed records, search results, alerts, incidents and metrics - only from what you opened or approved, and only after you allowed AI access. This section is for the people who connect an agent and for the agent itself.
| Page | What it is for |
|---|---|
| AI integration (MCP) | turning AI access on, connecting Claude Code or another client, what an assistant can and cannot see |
| Connect any MCP client | the connection contract: stdio and HTTP, protocol revisions, shapes, paging |
| Agent quickstart | the investigation loop: Discover, Inspect, Narrow, Correlate, Report |
| Agent permissions | what decides what an agent may read and change, and what each refusal means |
| Investigation playbooks | a request, an alert, an unknown format, performance - with example prompts and calls |
| MCP tool reference | every tool, its arguments and bounds |
Where an agent learns TKTail
The authority is always the TKTail you run: an MCP client gets every tool with its description and input schema from
the server itself (tools/list) and the server’s instructions from initialize. For agents that read documentation
before they connect, the website publishes the same facts in machine-readable form:
| File | Address | What it holds |
|---|---|---|
llms.txt | https://tktail.dev/llms.txt | the index for AI assistants: the current version, these pages, the references |
llms-full.txt | https://tktail.dev/llms-full.txt | this section and the product Help as one text file, with its version |
| AI manifest | https://tktail.dev/ai/manifest.json | the current version, the AI Agent Harness of each release (address, size, SHA-256), the references |
| MCP tool reference | https://tktail.dev/ai/mcp-tools.json | every tool as the release serves it - schema, annotations - with the capability, permission and window it needs |
The tool reference is generated from the tools TKTail.exe serves; a build whose tools differ from it fails its tests.
AI Agent Harness
What it is
The AI Agent Harness is a small ZIP published with each TKTail release (TKTail-<version>-ai-harness.zip): the
agent documentation of exactly that release in one place - the pages of this section, llms.txt, llms-full.txt, the
MCP tool reference, the format schema, example calls and generic client configurations. It is a documentation /
configuration package only: no program, no script, no binary, nothing to install or run.
Who needs it
Nobody needs it to use TKTail or to connect an assistant - TKTail.exe mcp --stdio and Settings > AI Access (MCP) are
all a client needs (Turn it on). It helps when the documentation must travel with the agent:
- an agent framework or a team that gives its agents a fixed knowledge pack instead of web pages;
- a server without internet access, where TKTail runs and the agent is set up offline;
- investigations you want to repeat: the harness describes the tools of one exact TKTail build, not the newest website.
What it contains
| Path | Contents |
|---|---|
README.md | what the package is, how to verify it, what it does not do |
manifest.json | the harness and the TKTail it belongs to: version, TKTail.exe SHA-256, source commit, MCP registry digest, generated time, every file with its size and SHA-256 |
SHA256SUMS.txt | the SHA-256 of every other file |
llms.txt, llms-full.txt | the index and the full text, as the website published them for this release |
mcp-tools.json | the MCP tool reference of this release (the same as /ai/mcp-tools.json was for it) |
agent-guide/ | the pages of this section as Markdown |
schemas/ | the JSON Schema of a format profile |
examples/ | the example tool calls of the playbooks, one JSON file each |
client-config-examples/ | generic MCP client configurations for stdio and HTTP, with placeholders |
No personal data, credentials, tokens, license codes, local paths, tests or build files are in it.
Version compatibility
Use the AI Agent Harness that matches the installed TKTail version. Each release has its own harness, and a release’s harness never changes: a correction is published as a new revision beside it, never over it. Previous releases keep theirs - the Download page lists them with each release. A newer harness can describe tools, arguments or rules your TKTail does not have; an older one misses what yours added.
Which TKTail you have: Help > About TKTail, tktail version, or tktail_status (its version). The harness’s
manifest.json names its TKTail version and the SHA-256 of its TKTail.exe - the same as Get-FileHash TKTail.exe
when it is the release’s exe.
Verification
- Compare the ZIP’s SHA-256 (
Get-FileHash TKTail-<version>-ai-harness.zip) with the Download page, the release’sSHA256SUMS.txtor/ai/manifest.json- three places, one value. - Inside,
SHA256SUMS.txtlists every file;manifest.jsonlists the same files and the TKTail they belong to. manifest.jsonproduct.exeSha256is the SHA-256 of that release’sTKTail.exe.
Permissions
Downloading the AI Agent Harness does not grant an AI assistant access to files, logs, or the operating system. What an assistant can reach is decided by TKTail, never by documentation: a running TKTail, your Allow AI access (MCP), the MCP configuration of your client, the transport (stdio, or HTTP with its token), the Investigation Roots you approved, the permissions for changes, and the capabilities of your edition - Agent permissions.
MCP setup
client-config-examples/ holds generic configurations - a command and its arguments for stdio, an address and a bearer
token header for HTTP - with placeholders for the path and the token. Your client’s own syntax is in its documentation;
TKTail’s ready entry is Settings > AI Access (MCP) > Copy Client Configuration (Connect over
stdio, Connect over HTTP). A token is never in the harness:
Copy Token gives yours.
Safe vs Extended access
- Safe Workspace (every edition): the sources open in the TKTail window - logs, event logs, Metrics Views - and nothing else. Open a file in TKTail and the agent can investigate it.
- Extended Investigation (Trial and Pro): folders you approve as Investigation Roots (Tools > AI Investigation Roots…); below them an agent can list log files, search them and open one as a tab. Only you add a root (Extended Investigation).
Investigation workflows
The Agent quickstart is the loop every investigation follows; the playbooks apply it to a request, an alert, an unknown format and a performance question.
This release’s harness
TKTail 1.2.0: TKTail-1.2.0-ai-harness.zip - for TKTail 1.2.0 exactly (its 50 MCP tools). The file’s size and SHA-256 are on the Download page, in the release’s SHA256SUMS.txt and in the AI manifest; the harness of an earlier release is listed with that release on the Download page.