Overview
The Code Reverse Engineering Agent (CRE Agent) is a cloud-native autonomous AI agent purpose-built to help enterprises rapidly understand, document, and assess large, complex application codebases which is a critical first step in any modernization initiative. Designed using Presidio Human AI (HAI) approach, it blends intelligent automation with expert-informed analysis to accelerate system discovery, reduce manual effort, and guide architecture decisions with clarity and confidence.
By performing a holistic analysis of large complex applications, the agent uncovers architectural patterns, hidden dependencies, technology stacks, and structural inefficiencies, delivering actionable insight during project onboarding, pre-modernization planning, audits, and technical due diligence.
Key Capabilities
-
Architecture Analysis: Identifies architectural styles, application layers (backend/UI separation), and entry points providing clear visualizations of system flow and structure.
-
Folder & Module Structure Analysis: Evaluates how code and resources are organized within the project, highlighting modularity, coupling, and separation of concerns.
-
Dependency Mapping: Detects both explicit and implicit dependencies, including third-party libraries, version management issues, and integration points.
-
UI Integration & Data Flow Analysis: Analyzes how frontend components interact with backend services, APIs, and templates offering sequence diagrams and insights into user interaction flow.
-
Technology Stack Evaluation: Identifies core programming languages, libraries, and frameworks in use, and evaluates implementation approaches.
-
Design Pattern Analysis: Detects applied patterns, assesses their correctness and effectiveness, and recommends refinements where needed.
-
External Integration Mapping: Maps external APIs, authentication mechanisms, and data flows, with annotated visual diagrams to understand third-party dependencies.
Highlights
- Enterprise-Grade Security & Guardrails: Built-in safeguards protect against prompt injection, information leakage, and PII exposure. The agent adheres to enterprise-grade security standards, ensuring responsible, secure AI usage throughout the reverse engineering and documentation process.
- Deep, Multi-Dimensional System Analysis: Performs comprehensive analysis across architecture, code structure, dependencies, integrations, and design patterns. Visual outputs and structured reports accelerate decision-making for audits, onboarding, and modernization planning.
- Enterprise-Ready & Scalable: Designed for large, complex codebases across a wide range of stacks, including Java, .NET, Node.js, and VBScript. Scales easily to support monolithic, hybrid, and modern environments with reliable, consistent performance.
Details
Unlock automation with AI agent solutions

Features and programs
Financing for AWS Marketplace purchases
Pricing
Dimension | Description | Cost/unit |
---|---|---|
Pay As You Go | 5k Input/Output Tokens & Agent runtime | $1.00 |
Vendor refund policy
This is a pay as you go service. You will be invoiced based on your usage.
For any billing-related questions, please contact us at hai-support@presidio.com .
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
API-Based Agents & Tools
API-Based Agents and Tools integrate through standard web protocols. Your applications can make API calls to access agent capabilities and receive responses.
Additional details
Usage instructions
API
Prerequisites
- HAI Agent Keys
Create your account and Generate your Keys - Git Repository URL & Branch (GitHub/GitLab)
- Git Access Token (optional, for private repos)
- Git Username
Try It Out: Use our interactive portal to quickly get started with minimal setup:
👉 Launch PlaygroundÂ
API Endpoints
1. Create a New Session
Start a new session to kick off the codebase analysis. The returned sessionId uniquely identifies this session and is required for subscribing to agent's event stream.
Endpoint
POST https://api.agents.presidio.ai/v1/cre-agentÂ
Headers
Key | Value |
---|---|
accept | application/json |
content-type | application/json |
origin | https://api.agents.presidio.ai |
x-hai-public-key | {{HAI_PUBLIC_KEY}} |
x-hai-secret-key | {{HAI_SECRET_KEY}} |
Body
{ "source": { "gitUrl": "<https://github.com/username/repo>", "branch": "main", "visibility": "public", "gitPlatform": "github", "gitPlatformConfig": { "username": "username", "personalAccessToken": "token" } }, "config": { "customInstructions": "customInstructions", "analysisScope": "architecture" } }Response
{ "message": "string", "sessionId": "unique-id" }Sample cURL
curl '<https://api.agents.presidio.ai/v1/cre-agent>' \ -H 'accept: application/json' \ -H 'content-type: application/json' \ -H 'origin: <https://api.agents.presidio.ai>' \ -H 'x-hai-public-key: {{HAI_PUBLIC_KEY}}' \ -H 'x-hai-secret-key: {{HAI_SECRET_KEY}}' \ --data-raw '{ "source": { "gitUrl": "<https://github.com/repo>", "branch": "main", "visibility": "public", "gitPlatform": "github", "gitPlatformConfig": { "username": "username", "personalAccessToken": "token" } }, "config": { "customInstructions": "instructions", "analysisScope": "architecture" } }'2. Subscribe to CRE Agent Events (SSE)
Once a sessionId is obtained, you can subscribe to the agent’s real-time event stream. Optionally include feedback to guide the agent during the session, when requested by the agent.
Endpoint
POST https://api.agents.presidio.ai/v1/cre-agent/Â {{sessionId}}
Headers
Key | Value |
---|---|
content-type | application/json |
origin | https://api.agents.presidio.ai |
x-hai-public-key | {{HAI_PUBLIC_KEY}} |
x-hai-secret-key | {{HAI_SECRET_KEY}} |
cookie | X-HAI-AGENTS-SESSION-ID={{SessionId}} |
Body
{ "feedback": "string" // Optional }Response Format
Content-Type: text/event-streamSample Event Payload
{ "requestId": "string", "eventType": "AGENT_RESPONSE", "eventData": { "toolDetail": { "name": "string", "args": {}, "id": "string", "type": "tool_call" }, "aiMessage": "string" } }Sample cURL
curl '<https://api.agents.presidio.ai/v1/cre-agent/>{{sessionId}}' \ -X POST \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Origin: <https://api.agents.presidio.ai>' \ -H 'x-hai-public-key: {{HAI_PUBLIC_KEY}}' \ -H 'x-hai-secret-key: {{HAI_SECRET_KEY}}' \ -H 'Cookie: X-HAI-AGENTS-SESSION-ID={{sessionId}};' \ --data-raw '{ "feedback": "string" }'For detaile documentation, refer to our Getting Started Guide and API documentationÂ
Support
Vendor support
For any assistance related to the Code Reverse Engineering Agent including technical support, onboarding, licensing, or billing, our team is here to help.
You can reach us at: hai-support@presidio.comÂ
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Similar products
