Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ types & classes
Types & classes
2,162 in github.com/OpenHands/OpenHands
⨍
Functions
10,856
◇
Types & classes
2,162
↳
Endpoints
725
↓ 157 callers
Class
Org
Organization model.
enterprise/storage/org.py:30
↓ 112 callers
Class
User
User model with organizational relationships. This model satisfies the UserBase protocol via structural typing.
enterprise/storage/user.py:22
↓ 77 callers
Class
Role
Role model for user permissions.
enterprise/storage/role.py:16
↓ 75 callers
Class
AppConversationInfo
Conversation info which does not contain status.
openhands/app_server/app_conversation/app_conversation_models.py:110
↓ 73 callers
Class
ProviderToken
openhands/app_server/integrations/provider.py:50
↓ 70 callers
Class
OrgMember
Junction table for organization-member relationships with roles.
enterprise/storage/org_member.py:20
↓ 69 callers
Class
Settings
Persisted settings for OpenHands sessions. Agent settings (agent, llm, mcp, condenser) live in ``agent_settings``. Conversation settings (max
openhands/app_server/settings/settings_models.py:347
↓ 59 callers
Class
SaasUserAuth
enterprise/server/auth/saas_user_auth.py:58
↓ 58 callers
Class
Secrets
Model for storing provider tokens and custom secrets.
openhands/app_server/secrets/secrets_models.py:36
↓ 55 callers
Class
Message
Message model for incoming webhook payloads from integrations. Note: This model is intended for INCOMING messages only. For outgoing messages
enterprise/integrations/models.py:22
↓ 52 callers
Class
MarketplaceRegistration
Registration for a plugin marketplace. Represents a marketplace that can be registered for plugin resolution. Marketplaces can be auto-loaded
openhands/app_server/settings/settings_models.py:68
↓ 33 callers
Class
SandboxInfo
Information about a sandbox.
openhands/app_server/sandbox/sandbox_models.py:48
↓ 33 callers
Class
SpecifyUserContext
User context for use in admin operations which allows access beyond the scope of a single user
openhands/app_server/user/specifiy_user_context.py:14
↓ 32 callers
Class
SaasSettingsStore
enterprise/storage/saas_settings_store.py:76
↓ 31 callers
Class
Repository
openhands/app_server/integrations/service_types.py:148
↓ 30 callers
Class
LLMProfiles
Container for saved LLM configurations. Stores a named collection of ``LLM`` configurations plus the name of the currently active one (if any
openhands/app_server/settings/llm_profiles.py:137
↓ 30 callers
Interface
TextContent
frontend/src/types/v1/core/base/common.ts:78
↓ 29 callers
Class
BitbucketDCService
Default implementation of GitService for Bitbucket data center integration. This is an extension point in OpenHands that allows applications to c
openhands/app_server/integrations/bitbucket_data_center/bitbucket_dc_service.py:20
↓ 28 callers
Class
PluginSpec
Specification for loading a plugin into a conversation. Extends SDK's PluginSource with user-provided plugin configuration parameters. Inheri
openhands/app_server/app_conversation/app_conversation_models.py:71
↓ 27 callers
Class
ProviderHandler
openhands/app_server/integrations/provider.py:106
↓ 26 callers
Class
GitHubService
Assembled GitHub service class combining mixins by feature area. TODO: This doesn't seem a good candidate for the get_impl() pattern. What a
openhands/app_server/integrations/github/github_service.py:21
↓ 26 callers
Class
TokenManager
enterprise/server/auth/token_manager.py:92
↓ 25 callers
Class
ApiKey
Represents an API key for a user.
enterprise/storage/api_key.py:13
↓ 25 callers
Class
MockUserInfo
Mock class for UserInfo to simulate user settings.
tests/unit/app_server/test_app_conversation_service_base.py:25
↓ 25 callers
Class
SaasSQLAppConversationInfoService
Extended SQLAppConversationInfoService with user and organization-based filtering and SAAS metadata handling.
enterprise/server/utils/saas_app_conversation_info_injector.py:30
↓ 24 callers
Class
ExposedUrl
URL to access some named service within the container.
openhands/app_server/sandbox/sandbox_models.py:18
↓ 22 callers
Class
AppConversationStartRequest
Start conversation request object. Although a user can go directly to the sandbox and start conversations, they would need to manually supply
openhands/app_server/app_conversation/app_conversation_models.py:221
↓ 21 callers
Class
CustomSecret
openhands/app_server/integrations/provider.py:79
↓ 21 callers
Class
OrgUpdate
Request model for updating an organization. ``agent_settings_diff`` and ``conversation_settings_diff`` are sparse diffs that are deep-merged
enterprise/server/routes/org_models.py:263
↓ 20 callers
Class
Branch
openhands/app_server/integrations/service_types.py:133
↓ 20 callers
Class
OrgAppSettingsUpdate
Request model for updating organization app settings.
enterprise/server/routes/org_models.py:631
↓ 20 callers
Class
ProvisionUserRequest
Payload for ``POST /api/organizations/provision-user``.
enterprise/server/routes/user_provisioning.py:162
↓ 19 callers
Class
AppConversation
openhands/app_server/app_conversation/app_conversation_models.py:195
↓ 19 callers
Class
GitLabService
Assembled GitLab service class combining mixins by feature area. TODO: This doesn't seem a good candidate for the get_impl() pattern. What a
openhands/app_server/integrations/gitlab/gitlab_service.py:21
↓ 19 callers
Class
LiteLLMProxyModelService
Model discovery backed by the bundled LiteLLM proxy. Inherits filtering, pagination, and provider logic from ``DefaultLLMModelService`` — onl
enterprise/server/verified_models/litellm_proxy_model_router.py:68
↓ 19 callers
Class
VerifiedModelService
Store for CRUD operations on verified models. Follows the async pattern with db_session as an attribute.
enterprise/server/verified_models/verified_model_service.py:67
↓ 18 callers
Class
DefaultLLMModelService
Model discovery via litellm catalogue, optional Bedrock, and optional Ollama.
openhands/app_server/config_api/default_llm_model_service.py:112
↓ 18 callers
Class
DockerSandboxSpecServiceInjector
openhands/app_server/sandbox/docker_sandbox_spec_service.py:55
↓ 18 callers
Class
EncryptionKey
Configuration for an encryption key.
openhands/app_server/utils/encryption_key.py:13
↓ 18 callers
Class
SandboxSpecInfo
A template for creating a Sandbox (e.g: A Docker Image vs Container).
openhands/app_server/sandbox/sandbox_spec_models.py:8
↓ 17 callers
Class
AuthTokenStore
enterprise/storage/auth_token_store.py:26
↓ 17 callers
Class
JiraDcWorkspaceCreate
enterprise/server/routes/integration/jira_dc.py:69
↓ 17 callers
Class
OrgMemberUpdate
Request model for updating an organization member.
enterprise/server/routes/org_models.py:525
↓ 16 callers
Class
BitbucketDCManager
Resolver manager for Bitbucket Data Center webhook events.
enterprise/integrations/bitbucket_data_center/bitbucket_dc_manager.py:45
↓ 16 callers
Class
FakeResponse
enterprise/tests/unit/test_verified_model/test_litellm_proxy_model_service.py:53
↓ 16 callers
Class
SaaSAzureDevOpsService
enterprise/integrations/azure_devops/azure_devops_service.py:16
↓ 16 callers
Class
SaveProfileRequest
Request body for saving a profile.
enterprise/server/routes/org_profiles.py:98
↓ 15 callers
Class
AppConversationStartTask
Object describing the start process for an app conversation. Because starting an app conversation can be slow (And can involve starting a sandbox
openhands/app_server/app_conversation/app_conversation_models.py:307
↓ 15 callers
Interface
EventPage
frontend/src/api/shared-conversation-service.api.ts:21
↓ 15 callers
Class
ExposedPort
Exposed port within container to be matched to a free port on the host.
openhands/app_server/sandbox/docker_sandbox_service.py:75
↓ 15 callers
Class
SandboxRecord
Persisted identity fields for a sandbox — no live runtime data. Contains only what is stored in the app server's own database (id and owner).
openhands/app_server/sandbox/sandbox_models.py:33
↓ 15 callers
Interface
TokenUsage
frontend/src/types/v1/core/events/conversation-state-event.ts:7
↓ 15 callers
Class
UserInfo
Model for user settings including the current user id.
openhands/app_server/user/user_models.py:5
↓ 14 callers
Class
AgentProfiles
Id-keyed collection of ``AgentProfile``\\ s + an org-default active pointer. Conforms to :class:`~openhands.sdk.profiles.AgentProfileStoreProtoco
openhands/app_server/settings/agent_profiles.py:64
↓ 14 callers
Class
BitBucketService
Default implementation of GitService for Bitbucket integration. This is an extension point in OpenHands that allows applications to customize Bit
openhands/app_server/integrations/bitbucket/bitbucket_service.py:19
↓ 14 callers
Class
GithubManager
enterprise/integrations/github/github_manager.py:51
↓ 14 callers
Class
SaaSBitbucketDCService
enterprise/integrations/bitbucket_data_center/bitbucket_dc_service.py:11
↓ 14 callers
Class
SlackError
Exception for errors that should be communicated to the Slack user. This exception is caught by the centralized error handler in SlackManager,
enterprise/integrations/slack/slack_errors.py:33
↓ 14 callers
Class
StrictLLM
LLM variant that rejects unknown fields. The base ``LLM`` model has ``extra='ignore'``, so typos and renamed keys silently disappear. For API
openhands/app_server/settings/llm_profiles.py:98
↓ 14 callers
Class
TestableHTTPClient
Testable concrete implementation of HTTPClient for unit testing.
tests/unit/integrations/protocols/test_http_client.py:21
↓ 14 callers
Class
UserData
enterprise/integrations/types.py:27
↓ 14 callers
Class
UserSettings
enterprise/storage/user_settings.py:20
↓ 13 callers
Class
AuthUserContext
Interface to old user settings service. Eventually we want to migrate this to use true database asyncio.
openhands/app_server/user/auth_user_context.py:28
↓ 13 callers
Class
DbSessionInjector
openhands/app_server/services/db_session_injector.py:29
↓ 13 callers
Class
TelemetryMetrics
Stores collected telemetry metrics with upload tracking. Each record represents a single metrics collection event with associated metadata fo
enterprise/storage/telemetry_metrics.py:16
↓ 12 callers
Class
AppConversationServiceBase
App Conversation service which adds git specific functionality. Sets up repositories and installs hooks
openhands/app_server/app_conversation/app_conversation_service_base.py:91
↓ 12 callers
Class
BillingSession
Represents a Stripe billing session for credit purchases. Tracks the status of payment transactions and associated user information.
enterprise/storage/billing_session.py:14
↓ 12 callers
Class
DeviceCode
Device code for OAuth 2.0 Device Flow. This stores the device codes issued during the device authorization flow, along with their status and
enterprise/storage/device_code.py:20
↓ 12 callers
Class
DockerSandboxService
Sandbox service built on docker. The Docker API does not currently support async operations, so some of these operations will block. Given th
openhands/app_server/sandbox/docker_sandbox_service.py:86
↓ 12 callers
Class
EventCallback
openhands/app_server/event_callback/event_callback_models.py:90
↓ 12 callers
Class
JwtService
Service for signing/verifying JWS tokens and encrypting/decrypting JWE tokens.
openhands/app_server/services/jwt_service.py:30
↓ 12 callers
Class
OrgAppSettingsStore
Store for organization app settings with injected db_session.
enterprise/storage/org_app_settings_store.py:28
↓ 12 callers
Class
OrgNotFoundError
Raised when organization is not found or user doesn't have access.
enterprise/server/routes/org_models.py:95
↓ 12 callers
Class
ResolverUserContext
User context for resolver operations that inherits from UserContext.
enterprise/integrations/resolver_context.py:14
↓ 12 callers
Class
SandboxError
Error in Sandbox.
openhands/app_server/errors.py:42
↓ 12 callers
Class
SandboxPage
openhands/app_server/sandbox/sandbox_models.py:74
↓ 11 callers
Class
ApiKeyCreate
enterprise/server/routes/api_keys.py:122
↓ 11 callers
Class
AuthError
Generic auth error
enterprise/server/auth/auth_error.py:1
↓ 11 callers
Class
CreateEventCallbackRequest
openhands/app_server/event_callback/event_callback_models.py:79
↓ 11 callers
Class
EventCallbackResult
Object representing the result of an event callback.
openhands/app_server/event_callback/event_callback_result_models.py:21
↓ 11 callers
Class
OrgMemberSettingsUpdate
Shared settings updates that may be propagated to organization members. ``llm_api_key`` is typed as ``SecretStr`` so the raw value never ends up
enterprise/server/routes/org_models.py:479
↓ 11 callers
Class
SQLAppConversationInfoService
SQL implementation of AppConversationInfoService focused on db operations. This allows storing a record of a conversation even after its sandbox
openhands/app_server/app_conversation/sql_app_conversation_info_service.py:168
↓ 11 callers
Class
SwitchProfileRequest
Request to switch a running conversation's LLM to a saved profile.
openhands/app_server/app_conversation/app_conversation_models.py:398
↓ 10 callers
Class
AnalyticsContext
Resolved analytics context for a single user. Attributes: user_id: Raw user ID string (always set). consented: Whether the user
openhands/analytics/analytics_context.py:33
↓ 10 callers
Class
DockerSandboxServiceInjector
Dependency injector for docker sandbox services.
openhands/app_server/sandbox/docker_sandbox_service.py:579
↓ 10 callers
Class
FakeUserContext
enterprise/tests/unit/integrations/jira_dc/test_jira_dc_conversation_secret_enricher.py:25
↓ 10 callers
Class
JiraDcConversationSecretEnricher
enterprise/integrations/jira_dc/jira_dc_conversation_secret_enricher.py:159
↓ 10 callers
Class
JiraWorkspaceCreate
enterprise/server/routes/integration/jira.py:41
↓ 10 callers
Class
MaintenanceTask
Model for storing maintenance tasks that perform background operations.
enterprise/storage/maintenance_task.py:56
↓ 10 callers
Class
TelemetryIdentity
Stores persistent identity information for telemetry. This table is designed to contain exactly one row (enforced by database constraint) tha
enterprise/storage/telemetry_identity.py:15
↓ 9 callers
Class
AutomationEventService
Service for forwarding webhook events to the automation service. Optimized for high traffic with: - Redis caching for org claim lookups
enterprise/server/services/automation_event_service.py:64
↓ 9 callers
Class
Comment
openhands/app_server/integrations/service_types.py:162
↓ 9 callers
Class
MockMaintenanceTaskRunner
Minimal mock of MaintenanceTaskRunner to verify initialization state.
enterprise/tests/unit/test_maintenance_task_runner_standalone.py:26
↓ 9 callers
Class
OrgBudgetService
enterprise/server/services/org_budget_service.py:90
↓ 9 callers
Class
StoredConversationMetadata
openhands/app_server/app_conversation/sql_app_conversation_info_service.py:91
↓ 8 callers
Class
AwsSharedEventServiceInjector
enterprise/server/sharing/aws_shared_event_service.py:137
↓ 8 callers
Class
BitbucketManager
Resolver manager for Bitbucket Cloud webhook events.
enterprise/integrations/bitbucket/bitbucket_manager.py:36
↓ 8 callers
Class
ConversationStats
enterprise/scripts/standalone_server.py:27
↓ 8 callers
Class
FileSettingsStore
openhands/app_server/settings/file_settings_store.py:13
↓ 8 callers
Class
OrgDatabaseError
Raised when database operations fail.
enterprise/server/routes/org_models.py:56
next →
1–100 of 2,162, ranked by callers