MCPcopy Index your code

hub / github.com/VRSEN/agency-swarm / types & classes

Types & classes524 in github.com/VRSEN/agency-swarm

↓ 560 callersClassAgent
Agency Swarm Agent: Extends the base `agents.Agent` with capabilities for multi-agent collaboration within an `Agency`. This class manag
src/agency_swarm/agent/core.py:64
↓ 235 callersClassAgency
Orchestrates a collection of `Agent` instances based on a communication flow. This class is the main entry point for interacting with a mult
src/agency_swarm/agency/core.py:40
↓ 122 callersClassClientConfig
Configuration for overriding the OpenAI client per-request.
src/agency_swarm/integrations/fastapi_utils/request_models.py:41
↓ 56 callersClassOpenClawRuntime
Manage an OpenClaw gateway process for a FastAPI app.
src/agency_swarm/integrations/openclaw.py:263
↓ 55 callersClassThreadManager
Manages flat message storage with persistence. This class replaces the previous thread-based system with a flat message storage approach wher
src/agency_swarm/utils/thread.py:121
↓ 38 callersClassBaseRequest
src/agency_swarm/integrations/fastapi_utils/request_models.py:134
↓ 29 callersClassCapturingAgent
tests/test_agency_modules/_response_test_helpers.py:19
↓ 29 callersClassIPythonInterpreter
A persistent IPython-style interpreter tool with access to the internet and file system. Executes Python code in an isolated, persistent she
src/agency_swarm/tools/built_in/IPythonInterpreter.py:350
↓ 26 callersClassAgentFileManager
Manages permanent file operations for agents, including uploads and vector store management.
src/agency_swarm/agent/file_manager.py:49
↓ 26 callersClassDeterministicModel
tests/deterministic_model.py:308
↓ 23 callersClassPersistentShellTool
Execute shell commands locally with persistent working directory. Allows the agent to run any shell commands like bash, file operations,
src/agency_swarm/tools/built_in/PersistentShellTool.py:11
↓ 22 callersClassAgencyContext
Agency-specific context for an agent to enable multi-agency support.
src/agency_swarm/agent/context_types.py:36
↓ 22 callersClassAguiAdapter
Converts between AG-UI and other formats (e.g., OpenAI Agents SDK), and provides helpers for translating events and messages for AG-UI integr
src/agency_swarm/ui/core/agui_adapter.py:37
↓ 18 callersClassMasterContext
Shared context object passed around during agent runs via agents.Runner. Holds globally relevant components like the ThreadManager and a map of a
src/agency_swarm/context.py:25
↓ 18 callersClassStreamingRunResponse
Wrap an async generator while preserving the eventual ``RunResultStreaming``. The wrapper mirrors the generator interface (`__aiter__`, `asend`,
src/agency_swarm/agent/execution_stream_response.py:17
↓ 17 callersClassRequestOverridePolicy
Shared policy for request-level client overrides across FastAPI handlers.
src/agency_swarm/integrations/fastapi_utils/override_policy.py:19
↓ 16 callersClassOpenClawAgent
Agency Swarm agent wrapper for an OpenClaw worker.
src/agency_swarm/agents/openclaw.py:14
↓ 16 callersClassResponse
tests/integration/tools/test_openapi_schema_agent.py:23
↓ 15 callersClassPersistentMCPServerManager
Process-level registry for MCP servers with persistent connections. Servers are keyed by their readable `name` attribute. New agencies/agents
src/agency_swarm/tools/mcp_manager.py:14
↓ 14 callersClassActiveRunRegistry
Async-safe registry for active runs so cancel endpoints see local state.
src/agency_swarm/integrations/fastapi_utils/endpoint_handlers.py:575
↓ 14 callersClassPresentFiles
Returns metadata for local files and ensures they persist by moving them into the MNT directory. Use this tool when you want to show a local
src/agency_swarm/tools/built_in/PresentFiles.py:117
↓ 13 callersClassConsoleEventAdapter
Converts OpenAI Agents SDK events int console message outputs.
src/agency_swarm/ui/core/console_event_adapter.py:12
↓ 13 callersClassMockInputProvider
Provides sequential input responses for testing.
tests/integration/ui/test_terminal_demo.py:20
↓ 13 callersClass_DummyServer
tests/test_agent_modules/test_mcp_manager.py:15
↓ 12 callersClassUsageStats
Usage statistics for a run or session.
src/agency_swarm/utils/usage_tracking.py:57
↓ 12 callersClass_Agency
tests/test_fastapi_utils_modules/test_openai_client_config_models.py:254
↓ 10 callersClassAgentRuntimeState
Holds mutable per-agency runtime state for a logical agent instance.
src/agency_swarm/agent/context_types.py:15
↓ 10 callersClassAttachmentManager
Manages temporary file attachments for agent requests.
src/agency_swarm/agent/attachment_manager.py:19
↓ 10 callersClassToolConcurrencyManager
Manages tool concurrency for a single agent instance. Provides tracking of tool execution state to enforce one-call-at-a-time constraint
src/agency_swarm/tools/concurrency.py:18
↓ 10 callersClass_AgentStub
tests/test_fastapi_utils_modules/test_endpoint_handlers.py:315
↓ 9 callersClassLoadFileAttachment
Loads a file attachment and returns it in the appropriate format for the agent to view. Supports images (jpg, png, gif, etc.) and PDF files.
src/agency_swarm/tools/built_in/LoadFileAttachment.py:9
↓ 9 callersClassLoopAffineAsyncProxy
Generic proxy routing coroutine methods to the manager's background loop. Avoids coupling to the concrete server implementation by dynamically pr
src/agency_swarm/tools/mcp_manager.py:276
↓ 9 callersClass_Agency
tests/test_fastapi_utils_modules/test_openai_client_config_request_state.py:39
↓ 8 callersClassAgentFlow
Represents a flow of agents created with the > or < operators for communication flows. This class allows building flows like: agent1 > agent
src/agency_swarm/agent/agent_flow.py:14
↓ 8 callersClassHTMLVisualizationGenerator
Generates HTML visualizations for Agency Swarm agencies. Uses templates for HTML generation.
src/agency_swarm/ui/generators/html_generator.py:14
↓ 8 callersClassLockState
Represents the state of a concurrency lock.
src/agency_swarm/tools/concurrency.py:11
↓ 8 callersClassStreamMetadataStore
Container for metadata collected during streaming. Stores metadata by various keys for matching items between streaming and final persistence
src/agency_swarm/agent/execution_stream_persistence.py:41
↓ 8 callersClassSystemInstructionsEchoModel
tests/test_agent_modules/test_conversation_starters_cache.py:70
↓ 7 callersClassExecResult
Outcome from executing code in a kernel session.
src/agency_swarm/tools/built_in/IPythonInterpreter.py:30
↓ 7 callersClassHandoff
A handoff configuration class for defining agent handoffs.
src/agency_swarm/tools/send_message.py:570
↓ 7 callersClassTrackingResponsesModel
tests/response_history_helpers.py:38
↓ 7 callersClass_AgencyStub
tests/test_fastapi_utils_modules/test_endpoint_handlers.py:212
↓ 7 callersClass_DummyStreamResult
tests/test_agent_modules/test_execution_stream_persistence_fake_id.py:51
↓ 7 callersClass_DummyThreadManager
tests/test_agent_modules/test_execution_stream_persistence_fake_id.py:24
↓ 7 callersClass_ReplayClient
tests/test_agent_modules/test_openrouter_reasoning.py:229
↓ 6 callersClassFileFormatter
JSON formatter for file logging with structured data.
src/agency_swarm/integrations/fastapi_utils/logging_middleware.py:46
↓ 6 callersClassResponse
tests/test_agency_modules/test_agentswarm_cli_tui.py:323
↓ 6 callersClassRunAgentInputCustom
Input for running an agent.
src/agency_swarm/integrations/fastapi_utils/request_models.py:103
↓ 6 callersClassSystemInstructionsEchoModel
tests/integration/agent/test_additional_instructions.py:16
↓ 6 callersClass_ThreadManager
tests/test_fastapi_utils_modules/test_openai_client_config_request_state.py:26
↓ 5 callersClassStreamIdNormalizer
Normalize LiteLLM/Chat Completions placeholder IDs. The Agents SDK uses `FAKE_RESPONSES_ID="__fake_id__"` for Responses-style objects produced
src/agency_swarm/streaming/id_normalizer.py:12
↓ 5 callersClass_Agency
tests/integration/ui/test_persistence_helpers.py:14
↓ 5 callersClass_AgentState
tests/test_fastapi_utils_modules/test_openai_client_config_request_state.py:34
↓ 5 callersClass_Package
src/agency_swarm/ui/demos/agentswarm_cli.py:51
↓ 5 callersClass_Response
tests/test_fastapi_utils_modules/test_openai_client_config_request_state.py:30
↓ 4 callersClassConditionalFileHandler
Handler that only logs to file when enabled via context variable.
src/agency_swarm/integrations/fastapi_utils/logging_middleware.py:77
↓ 4 callersClassConsoleFormatter
Custom console formatter that includes request ID and enhanced location info.
src/agency_swarm/integrations/fastapi_utils/logging_middleware.py:17
↓ 4 callersClassFileSync
Encapsulates vector store synchronization and file removal helpers.
src/agency_swarm/agent/file_sync.py:20
↓ 4 callersClassStubRequest
tests/response_history_helpers.py:92
↓ 4 callersClass_Agency
tests/test_fastapi_utils_modules/test_openai_client_config_response_overrides.py:118
↓ 4 callersClass_DummyRequest
tests/test_fastapi_utils_modules/test_tool_endpoints.py:49
↓ 4 callersClass_DummyServer
tests/test_agent_modules/test_from_mcp_method.py:10
↓ 4 callersClass_Loop
tests/test_fastapi_utils_modules/test_openai_client_config_request_state.py:453
↓ 4 callersClass_MutationClient
tests/test_agent_modules/test_openrouter_reasoning.py:404
↓ 4 callersClass_Response
tests/test_fastapi_utils_modules/test_openai_client_config_response_overrides.py:99
↓ 4 callersClass_StreamStub
tests/test_fastapi_utils_modules/test_endpoint_handlers.py:384
↓ 4 callersClass_StubAgency
tests/test_fastapi_utils_modules/test_endpoint_handlers_final_messages_payload.py:39
↓ 4 callersClass_StubRequest
tests/test_fastapi_utils_modules/test_endpoint_handlers_final_messages_payload.py:23
↓ 4 callersClass_StubThreadManager
tests/test_fastapi_utils_modules/test_endpoint_handlers_final_messages_payload.py:31
↓ 4 callersClass_ThreadManager
tests/test_fastapi_utils_modules/test_openai_client_config_response_overrides.py:95
↓ 3 callersClassCommunicationFlowModel
tests/integration/communication/test_communication.py:27
↓ 3 callersClassCustomTool
Custom tool for testing.
tests/integration/fastapi/test_fastapi_metadata.py:78
↓ 3 callersClassDummyServer
tests/test_agency_modules/test_agentswarm_cli_tui.py:19
↓ 3 callersClassOpenClawIntegrationConfig
Runtime and proxy settings for OpenClaw integration.
src/agency_swarm/integrations/openclaw.py:188
↓ 3 callersClassSendMessage
Use this tool to facilitate direct, synchronous communication between specialized agents within your agency. When you send a message using t
src/agency_swarm/tools/send_message.py:38
↓ 3 callersClassShortTimeoutInterpreter
tests/integration/tools/test_ipython_interpreter.py:268
↓ 3 callersClass_Agency
tests/integration/ui/test_compact_client_passthrough.py:58
↓ 3 callersClass_AgentState
tests/test_fastapi_utils_modules/test_openai_client_config_response_overrides.py:103
↓ 3 callersClass_FakeAgent
tests/test_agent_modules/test_file_sync.py:65
↓ 3 callersClass_FakeClientSync
tests/test_agent_modules/test_file_sync.py:59
↓ 3 callersClass_FakeManager
tests/test_agent_modules/test_mcp_manager.py:332
↓ 3 callersClass_FakeRunItem
tests/test_agent_modules/test_execution_stream_persistence_fake_id.py:60
↓ 3 callersClass_InRes
tests/test_agent_modules/test_guardrail_validation.py:52
↓ 3 callersClass_RequestOverrideSession
Track request override lifecycle for one handler invocation.
src/agency_swarm/integrations/fastapi_utils/endpoint_handlers.py:145
↓ 3 callersClass_RunResult
tests/test_fastapi_utils_modules/_codex_input_role_boundary_helpers.py:30
↓ 3 callersClass_SessionAgency
tests/integration/ui/test_compact_client_passthrough.py:65
↓ 3 callersClass_StreamResponse
tests/test_tools_modules/test_utils.py:103
↓ 2 callersClassActiveRun
Tracks an active streaming run for cancellation support.
src/agency_swarm/integrations/fastapi_utils/endpoint_handlers.py:564
↓ 2 callersClassAsyncKernelSession
Manage a single Jupyter kernel process for one logical client.
src/agency_swarm/tools/built_in/IPythonInterpreter.py:41
↓ 2 callersClassCachedStarter
src/agency_swarm/agent/conversation_starters_cache.py:47
↓ 2 callersClassDropdownItem
src/agency_swarm/ui/demos/terminal.py:279
↓ 2 callersClassDummyStreamedResult
tests/test_agent_modules/test_stream_id_normalization.py:50
↓ 2 callersClassFirstDefaultNamedHandoff
tests/test_agent_modules/test_conversation_starters_cache.py:424
↓ 2 callersClassIncompatibleChatHistoryError
Raised when stored chat history cannot be used with the current model protocol.
src/agency_swarm/messages/message_formatter.py:40
↓ 2 callersClassLoggingServer
tests/test_agency_modules/test_agentswarm_cli_tui.py:167
↓ 2 callersClassMySendMessage
tests/test_agent_modules/send_message/test_extra_params.py:155
↓ 2 callersClassParamsModel
tests/test_fastapi_utils_modules/test_tool_endpoints.py:166
↓ 2 callersClassRequestTracker
Middleware that tracks requests and enables conditional file logging.
src/agency_swarm/integrations/fastapi_utils/logging_middleware.py:138
↓ 2 callersClassSampleTool
tests/test_agent_modules/test_base_tool.py:11
↓ 2 callersClassStreamingContext
Context for managing event streaming across nested agent calls.
src/agency_swarm/streaming/utils.py:119
next →1–100 of 524, ranked by callers