MCPcopy Create free account

hub / github.com/langchain-ai/deepagents / types & classes

Types & classes2,266 in github.com/langchain-ai/deepagents

↓ 951 callersClassDeepAgentsApp
Main Textual application for deepagents-code.
libs/code/deepagents_code/app.py:1804
↓ 281 callersClassFilesystemMiddleware
Middleware for providing filesystem and optional execution tools to an agent. This middleware adds filesystem tools to the agent: `ls`, `read_fil
libs/deepagents/deepagents/middleware/filesystem.py:1175
↓ 258 callersClassFilesystemBackend
Backend that reads and writes files directly from the filesystem. Files are accessed using their actual filesystem paths. Relative paths are
libs/deepagents/deepagents/backends/filesystem.py:80
↓ 254 callersClassStoreBackend
Backend that stores files in LangGraph's BaseStore (persistent). Uses LangGraph's Store for persistent, cross-conversation storage. Files are
libs/deepagents/deepagents/backends/store.py:173
↓ 185 callersClassAppMessage
Widget displaying an app message.
libs/code/deepagents_code/widgets/messages.py:3140
↓ 179 callersClassGenericFakeChatModel
r"""Generic fake chat model that can be used to test the chat model interface. * Chat model should be usable in both sync and async tests * I
libs/deepagents/tests/unit_tests/chat_model.py:20
↓ 158 callersClassHarnessProfile
Runtime configuration for deep agent behavior. !!! beta `deepagents.profiles` exposes beta APIs that may receive minor changes in
libs/deepagents/deepagents/profiles/harness/harness_profiles.py:484
↓ 140 callersClassCompositeBackend
Routes file operations to different backends by path prefix. Matches paths against route prefixes (longest first) and delegates to the corres
libs/deepagents/deepagents/backends/composite.py:115
↓ 130 callersClassFilesystemPermission
A single access rule for filesystem operations.
libs/deepagents/deepagents/middleware/filesystem.py:252
↓ 121 callersClassStateBackend
Backend that stores files in agent state (ephemeral). Uses LangGraph's state management and checkpointing. Files persist within a conversatio
libs/deepagents/deepagents/backends/state.py:39
↓ 119 callersClassTrajectoryScorer
Two-tier assertion container for agent trajectories. Use `.success()` to add correctness assertions (hard-fail) and `.expect()` to add effici
libs/evals/tests/evals/utils.py:939
↓ 118 callersClassFileData
Data structure for storing file contents with metadata.
libs/deepagents/deepagents/backends/protocol.py:167
↓ 114 callersClassToolCallMessage
Widget displaying a tool call with collapsible output. Tool outputs are shown as a 3-line preview by default. Press Ctrl+O to expand/collapse
libs/code/deepagents_code/widgets/messages.py:879
↓ 109 callersClass_ChatInputTestApp
Minimal app that hosts a ChatInput for testing.
libs/code/tests/unit_tests/test_chat_input.py:211
↓ 89 callersClassExecuteResponse
Result of code execution. Simplified schema optimized for LLM consumption.
libs/deepagents/deepagents/backends/protocol.py:843
↓ 88 callersClassMessageData
In-memory message data for virtualization. This dataclass holds all information needed to recreate a message widget. It is designed to be lig
libs/code/deepagents_code/widgets/message_store.py:95
↓ 87 callersClassMCPServerInfo
Metadata for a configured MCP server and its tools.
libs/code/deepagents_code/mcp_tools.py:86
↓ 86 callersClassCodeInterpreterMiddleware
Middleware exposing a JS REPL to the agent. Each LangGraph thread gets its own QuickJS slot (worker + runtime + context), so globals from one
libs/partners/quickjs/langchain_quickjs/middleware.py:121
↓ 84 callersClass_AuthHostApp
Minimal host app for pushing the auth screens.
libs/code/tests/unit_tests/test_auth_widgets.py:55
↓ 83 callersClassThreadSelectorTestApp
Test app for ThreadSelectorScreen.
libs/code/tests/unit_tests/test_thread_selector.py:150
↓ 82 callersClassFixedGenericFakeChatModel
Fixed version of GenericFakeChatModel that properly handles bind_tools.
libs/deepagents/tests/unit_tests/test_end_to_end.py:99
↓ 78 callersClassErrorMessage
Widget displaying an error message.
libs/code/deepagents_code/widgets/messages.py:3036
↓ 78 callersClassMockSandbox
Minimal concrete implementation of BaseSandbox for testing.
libs/deepagents/tests/unit_tests/backends/test_sandbox_backend.py:42
↓ 73 callersClassProviderAuthStatus
Credential readiness information for a provider. Args: state: Provider auth state. provider: Provider name. env_var: Env
libs/code/deepagents_code/model_config.py:249
↓ 72 callersClassFileTokenStorage
File-backed `TokenStorage` under `~/.deepagents/.state/mcp-tokens/`.
libs/code/deepagents_code/mcp_auth.py:263
↓ 71 callersClassUserMessage
Widget displaying a user message.
libs/code/deepagents_code/widgets/messages.py:208
↓ 70 callersClassChannelMessage
Inbound message delivered by a channel adapter. Args: conversation_id: Stable channel-specific conversation identifier. text: Pla
libs/talon/deepagents_talon/interfaces.py:17
↓ 70 callersClassMockBackend
A mock backend that records read/write calls and can simulate failures.
libs/deepagents/tests/unit_tests/middleware/test_summarization_middleware.py:91
↓ 69 callersClassTextualUIAdapter
Adapter for rendering agent output to Textual widgets. This adapter provides an abstraction layer between the agent execution and the Textual
libs/code/deepagents_code/textual_adapter.py:275
↓ 64 callersClassMCPViewerScreen
Modal viewer for active MCP servers and their tools. Displays servers grouped by name with transport type and tool count. Navigate with arrow
libs/code/deepagents_code/widgets/mcp_viewer.py:760
↓ 63 callersClassConfigOption
One user-tunable configuration option and where it can be set.
libs/code/deepagents_code/config_manifest.py:144
↓ 63 callersClassMCPViewerTestApp
Minimal app wrapper for testing MCPViewerScreen.
libs/code/tests/unit_tests/test_mcp_viewer.py:33
↓ 61 callersClassStatusBarApp
Minimal app that mounts a StatusBar for testing.
libs/code/tests/unit_tests/test_status.py:15
↓ 59 callersClassProviderProfile
Declarative configuration for constructing a chat model. !!! beta `deepagents.profiles` exposes beta APIs that may receive minor changes
libs/deepagents/deepagents/profiles/provider/provider_profiles.py:38
↓ 59 callersClassSessionStats
Stats accumulated over a single agent turn (or full session).
libs/code/deepagents_code/_session_stats.py:57
↓ 58 callersClassModelSelectorTestApp
Test app for ModelSelectorScreen.
libs/code/tests/unit_tests/test_model_selector.py:71
↓ 52 callersClassMemoryMiddleware
Middleware for loading agent memory from `AGENTS.md` files. Loads memory content from configured sources and injects into the system prompt.
libs/deepagents/deepagents/middleware/memory.py:180
↓ 52 callersClassSkillsMiddleware
Middleware for loading and exposing agent skills to the system prompt. Loads skills from backend sources and injects them into the system prompt
libs/deepagents/deepagents/middleware/skills.py:748
↓ 49 callersClassApprovalMenu
Approval menu using standard Textual patterns. Key design decisions (following mistral-vibe reference): - Container base class with compose()
libs/code/deepagents_code/widgets/approval.py:89
↓ 49 callersClassLocalContextMiddleware
Inject local context (git state, project structure, etc.) into the system prompt. Runs a bash detection script via `backend.execute()` on first i
libs/code/deepagents_code/local_context.py:628
↓ 47 callersClassMCPToolInfo
Metadata for a single MCP tool.
libs/code/deepagents_code/mcp_tools.py:41
↓ 46 callersClassReadResult
Result from backend read operations. Attributes: error: Error message on failure, None on success. file_data: FileData dict on su
libs/deepagents/deepagents/backends/protocol.py:184
↓ 45 callersClassRubricMiddleware
Middleware that drives self-evaluated iteration against a rubric. The middleware activates only when a caller passes a `rubric` on invocation
libs/deepagents/deepagents/middleware/rubric.py:295
↓ 45 callersClassThreadSelectorScreen
Modal dialog for browsing and resuming threads. Displays recent threads with keyboard navigation, fuzzy search, configurable columns, and del
libs/code/deepagents_code/widgets/thread_selector.py:671
↓ 43 callersClassFileDownloadResponse
Result of a single file download operation. The response is designed to allow partial success in batch operations. The errors are standardiz
libs/deepagents/deepagents/backends/protocol.py:71
↓ 43 callersClassGrepResult
Result from backend `grep` operations. Attributes: error: Error message on failure, `None` on success. matches: List of grep matc
libs/deepagents/deepagents/backends/protocol.py:320
↓ 42 callersClassModelSelectorScreen
Full-screen modal for model selection. Displays available models grouped by provider with keyboard navigation and search filtering. Current m
libs/code/deepagents_code/widgets/model_selector.py:214
↓ 42 callersClassProjectError
Raised when the on-disk project is malformed.
libs/cli/deepagents_cli/deploy/project.py:53
↓ 41 callersClassEditResult
Result from backend `edit` operations. Attributes: error: Error message on failure, `None` on success. path: Absolute path of edi
libs/deepagents/deepagents/backends/protocol.py:257
↓ 41 callersClassLocalShellBackend
Filesystem backend with unrestricted local shell command execution. This backend extends `FilesystemBackend` to add shell command execution c
libs/deepagents/deepagents/backends/local_shell.py:27
↓ 40 callersClassFileUploadResponse
Result of a single file upload operation. The response is designed to allow partial success in batch operations. The errors are standardized
libs/deepagents/deepagents/backends/protocol.py:103
↓ 39 callersClassAgentServerACP
ACP agent server that bridges Deep Agents with the Agent Client Protocol.
libs/acp/deepagents_acp/server.py:134
↓ 37 callersClassCLIContext
Client-facing builder for the per-run graph context payload. Callers populate this and pass it via `context=` to `astream`/`ainvoke`. `Config
libs/code/deepagents_code/_cli_context.py:47
↓ 35 callersClassFilesystemState
State for the filesystem middleware.
libs/deepagents/deepagents/middleware/filesystem.py:634
↓ 35 callersClassTextualSessionState
Session state for the Textual app.
libs/code/deepagents_code/app.py:1650
↓ 33 callersClassGenericFakeChatModel
Generic fake chat model that can be used to test the chat model interface. * Chat model should be usable in both sync and async tests * Invoke
libs/acp/tests/chat_model.py:17
↓ 33 callersClassMessageStore
Manages message data and widget window for virtualization. This class stores all messages as data and manages a sliding window of widgets tha
libs/code/deepagents_code/widgets/message_store.py:405
↓ 33 callersClassNotificationAction
One button/action row in the notification modal.
libs/code/deepagents_code/notifications.py:43
↓ 32 callersClassSlashCommand
A single slash-command definition.
libs/code/deepagents_code/command_registry.py:38
↓ 32 callersClassTalonHost
Long-running process host for one Talon assistant. Args: config: Runtime configuration for this assistant. agent: Agent runtime i
libs/talon/deepagents_talon/host.py:93
↓ 31 callersClassGlobResult
Result from backend `glob` operations. Attributes: error: Error message on failure, `None` on success. matches: List of matching
libs/deepagents/deepagents/backends/protocol.py:338
↓ 31 callersClassLsResult
Result from backend `ls` operations. Attributes: error: Error message on failure, `None` on success. entries: List of file info d
libs/deepagents/deepagents/backends/protocol.py:307
↓ 31 callersClassPanelApp
Minimal app that mounts a SubagentPanel for testing.
libs/code/tests/unit_tests/test_subagent_panel.py:27
↓ 29 callersClassDeepAgentRuntime
Deep Agents-backed runtime for Talon. Args: model: Chat model identifier for `create_deep_agent`. tools: Runtime tools exposed to
libs/talon/deepagents_talon/runtime.py:249
↓ 29 callersClass_AskUserTestApp
libs/code/tests/unit_tests/test_ask_user.py:25
↓ 28 callersClassRecordingChannel
Shared test double for channel adapters. Tracks sent messages and media, and supports injecting inbound messages via ``receive``.
libs/talon/tests/conftest.py:17
↓ 28 callersClassRemoteAgent
Client that talks to a LangGraph server over HTTP+SSE. Wraps `langgraph.pregel.remote.RemoteGraph` which handles SSE parsing, stream-mode neg
libs/code/deepagents_code/remote_client.py:103
↓ 28 callersClassThemeSelectorScreen
Modal dialog for theme selection with live preview. Displays available themes in an `OptionList`. Navigating the option list applies a live p
libs/code/deepagents_code/widgets/theme_selector.py:33
↓ 27 callersClassImageData
Represents a pasted image with its base64 encoding.
libs/code/deepagents_code/media_utils.py:66
↓ 27 callersClass_RecordingApp
App that records ChatInput.Submitted events for assertion.
libs/code/tests/unit_tests/test_chat_input.py:218
↓ 27 callersClass_Sandbox
libs/partners/vercel/tests/unit_tests/test_sandbox.py:56
↓ 25 callersClassSubAgentMiddleware
Middleware for providing subagents to an agent via a `task` tool. This middleware adds a `task` tool to the agent that can be used to invoke
libs/deepagents/deepagents/middleware/subagents.py:737
↓ 25 callersClassTelegramChannel
Channel adapter for Telegram via the Bot API with long polling. Only private chats and channel posts are processed. Messages from group and s
libs/talon/deepagents_talon/channels/telegram.py:296
↓ 24 callersClassGeneralPurposeSubagentProfile
Edits applied to the auto-added `general-purpose` subagent. !!! beta `deepagents.profiles` exposes beta APIs that may receive minor chan
libs/deepagents/deepagents/profiles/harness/harness_profiles.py:83
↓ 24 callersClass_FakeAgent
Minimal async stream agent used for adapter execution tests.
libs/code/tests/unit_tests/test_textual_adapter.py:1184
↓ 23 callersClassCompiledSubAgent
A pre-compiled agent spec. !!! note The `runnable`'s state schema must include a 'messages' key. This is required for the subag
libs/deepagents/deepagents/middleware/subagents.py:167
↓ 23 callersClassDatasetConfig
Minimal configuration for one MemoryAgentBench sub-dataset. Attributes: split: HuggingFace dataset split name (e.g. `Conflict_Resolution`
libs/evals/tests/evals/memory_agent_bench/configs.py:15
↓ 23 callersClassDiagnosticItem
A single labeled diagnostic fact. `ok` is `False` only for genuine problems (e.g. a missing dependency), not for informational states such as
libs/code/deepagents_code/doctor.py:32
↓ 23 callersClassManagedMemoryGuardMiddleware
Revert agent edits to the managed onboarding-name memory block. Guards the managed onboarding-name block in a fixed set of memory files. A `w
libs/code/deepagents_code/memory_guard.py:95
↓ 23 callersClassWriteResult
Result from backend `write` operations. Attributes: error: Error message on failure, `None` on success. path: Absolute path of wr
libs/deepagents/deepagents/backends/protocol.py:228
↓ 22 callersClassAgentSelectorTestApp
Test app for AgentSelectorScreen.
libs/code/tests/unit_tests/test_agent_selector.py:19
↓ 21 callersClassChannelExposure
Inbound exposure policy shared by channel adapters.
libs/talon/deepagents_talon/channels/base.py:77
↓ 21 callersClassDeferredAction
An action deferred until the current busy state resolves.
libs/code/deepagents_code/app.py:1297
↓ 21 callersClassQueuedMessage
Represents a queued user message awaiting processing.
libs/code/deepagents_code/app.py:1261
↓ 21 callersClass_FakeTTY
`StringIO` with a context-manager that doesn't truncate on close.
libs/code/tests/unit_tests/test_terminal_escape.py:37
↓ 21 callersClass_SequencedAgent
Agent test double that returns a different stream per call.
libs/code/tests/unit_tests/test_textual_adapter.py:1196
↓ 20 callersClassAirportCode
libs/evals/tests/evals/tau2_airline/domain.py:37
↓ 20 callersClassFakeACPClient
libs/acp/tests/test_agent.py:41
↓ 20 callersClassHarnessProfileConfig
Declarative harness-profile config for YAML/JSON-backed profiles. !!! beta `deepagents.profiles` exposes beta APIs that may receive mino
libs/deepagents/deepagents/profiles/harness/harness_profiles.py:192
↓ 20 callersClassLaunchNameTestApp
Test app for `LaunchNameScreen`.
libs/code/tests/unit_tests/test_launch_init.py:28
↓ 20 callersClassRecordingTransport
Fake transport that records calls and returns canned responses.
libs/talon/tests/channels/test_telegram.py:47
↓ 19 callersClassChannelMedia
Outbound media delivered through a channel adapter. Args: path: Local file path visible to the channel adapter. media_type: Chann
libs/talon/deepagents_talon/interfaces.py:70
↓ 19 callersClassDeleteResult
Result from backend delete operations. Attributes: error: Error message on failure, None on success. path: Absolute path of the d
libs/deepagents/deepagents/backends/protocol.py:290
↓ 19 callersClassFormattedOutput
Result of formatting tool output for display.
libs/code/deepagents_code/widgets/messages.py:93
↓ 19 callersClassMCPLoginScreen
Modal that renders the OAuth login flow and collects user input. Implements the `OAuthInteraction` Protocol structurally so a `mcp_auth.login
libs/code/deepagents_code/widgets/mcp_login.py:52
↓ 19 callersClassModelResult
Result of creating a chat model, bundling the model with its metadata. This separates model creation from settings mutation so callers can decide
libs/code/deepagents_code/config.py:4016
↓ 19 callersClassVideoData
Represents a pasted video with its base64 encoding.
libs/code/deepagents_code/media_utils.py:86
↓ 19 callersClass_FakeFrame
libs/deepagents/tests/unit_tests/middleware/test_video.py:23
↓ 19 callersClass_Harness
libs/code/tests/unit_tests/test_messages.py:779
↓ 19 callersClass_ThreadHistoryPayload
Data returned by `_fetch_thread_history_data`.
libs/code/deepagents_code/app.py:1345
next →1–100 of 2,266, ranked by callers