Extending GigaAgent
Extend GigaAgent through BaseModule so new functionality enters routes, tools, system instructions, migrations, and LangGraph development server configuration consistently.
Minimal module
from giga_agent.core.module import BaseModule
class MyModule(BaseModule):
id = "my_module"
label = "My module"
description = "What the module does"
icon = "Sparkles"
Register the module in GigaAgent.get_modules() or pass it when creating a custom agent instance. Keep id unique.
Integrations and widgets
Ready-made layers exist for external services and visual results: an integration module with a connection provider enters the connectors catalog automatically (see Integration modules), and a tool returning a payload with the widget marker renders as a card in the chat (see GenUI).
Before documenting a new capability
- Verify that the module is registered.
- Verify that routes, tools, or subgraphs appear through the real execution path.
- Document provider, secret, UI, and CLI conditions.
- Update documentation with the code change.