# Entelligence

Entelligence leverages artificial intelligence to provide insights, recommendations, and predictive analytics for businesses seeking data-driven decision-making capabilities

- **Category:** artificial intelligence
- **Auth:** NO_AUTH
- **Composio Managed App Available?** N/A
- **Tools:** 2
- **Triggers:** 0
- **Slug:** `ENTELLIGENCE`
- **Version:** 20260223_00

## Tools

### Add a new repository

**Slug:** `ENTELLIGENCE_ADD_A_NEW_REPOSITORY`

Add a GitHub repository to Entelligence for code analysis and AI-powered insights. The repository will be analyzed asynchronously. After adding, you can use the 'interact_with_the_repository_agent' action to ask questions about the codebase. Returns a repo_uuid that can be used to track the repository.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `Url` | string | Yes | The full GitHub repository URL (e.g., 'https://github.com/owner/repo'). Must be a valid, accessible GitHub repository URL. |
| `Name` | string | Yes | A display name for the repository (e.g., 'my-react-app'). This can be different from the actual repository name. |
| `Branch` | string | No | The branch to analyze (e.g., 'main', 'master', 'develop'). If not specified, the default branch will be used. |
| `IsPublic` | boolean | Yes | Set to true for public repositories, false for private repositories. For private repos, you must also provide an AccessToken. |
| `UserUUID` | string | No | UUID of the user adding the repository. If not provided, the system will generate one. |
| `IngestPrs` | boolean | No | Set to true to ingest and analyze pull requests from the repository. Defaults to false. |
| `IngestDocs` | boolean | No | Set to true to ingest and analyze documentation files from the repository. Defaults to false. |
| `AccessToken` | string | No | GitHub personal access token for private repositories. Required when IsPublic is false. |
| `VectorDBURL` | string | No | URL of an existing vector database to use for this repository. If not provided, a new vector DB will be created. |
| `IngestIssues` | boolean | No | Set to true to ingest and analyze issues from the repository. Defaults to false. |
| `IsMergedRepo` | boolean | No | Set to true if this repository is a merged/combined repository from multiple sources. Defaults to false. |
| `DocumentationUrl` | string | No | URL to external documentation for this repository (e.g., 'https://docs.example.com'). Useful for linking to official docs. |
| `OrganizationUUID` | string | No | UUID of the organization this repository belongs to. Used for grouping repositories under an organization. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Interact with the repository agent

**Slug:** `ENTELLIGENCE_INTERACT_WITH_THE_REPOSITORY_AGENT`

Ask questions about a codebase using Entelligence's AI-powered Repository Agent. Requires a repository to be added first using the add_a_new_repository action. The agent can answer questions about code architecture, functionality, dependencies, and help with understanding the repository structure.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `history` | array | Yes | Conversation history as a list of message objects with 'role' ('user' or 'assistant') and 'content' keys. Use an empty list [] for the first question in a conversation |
| `question` | string | Yes | The question to ask the Repository Agent about the codebase, e.g., 'What is the main purpose of this repository?' or 'Explain the authentication flow' |
| `username` | string | No | Display name or identifier of the user. Optional, used for personalization |
| `vectorDBUrl` | string | Yes | The repository UUID (repo_uuid) returned by the add_a_new_repository action. This identifies which repository to query |
| `advancedAgent` | boolean | No | Enable advanced agent features for more sophisticated code analysis. Defaults to True. Set to False for faster, simpler responses |
| `githubUsername` | string | No | GitHub username of the person asking the question. Optional, used for personalization and access control |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
