Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Implementation:AISecurityLab Hackagent Agent Create

From Leeroopedia
Knowledge Sources
Domains Storage, HTTP_Client
Last Updated 2026-10-29 00:00 GMT

Overview

Concrete generated HTTP client function for POST /agent create, wrapping the request/response cycle with the httpx-based Client, provided by the HackAgent storage HTTP API package.

Description

The agent_create module provides sync (sync) and async (asyncio) functions to create an agent via the HackAgent API. It builds the request from an AgentCreate model, sends it via the Client, and parses the response into an Agent model. Similar generated modules exist for agent_update, agent_partial_update, agent_destroy, agent_list, agent_retrieve.

Usage

  • RemoteBackend: The remote storage backend calls these functions to manage agents.

Code Reference

Source Location

Related Pages

Implements Principle

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment