# Third Party Agents

This post is meant to help me understand how the Havoc third party agent system works. It is not going to be focused on agent development or offensive tradecraft, but purely on implementing a third party agent into Havoc C2.

tl;dr for those lazy, here's the [git repo](https://github.com/CodeXTF2/PyHmmm)

#### Credits

* @C5pider for developing Havoc C2 and the [Talon](https://github.com/HavocFramework/Talon) third party agent sample, which I used to learn this stuff myself


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://codex-7.gitbook.io/codexs-terminal-window/red-team/red-team-dev/extending-havoc-c2/third-party-agents.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
