Code
How langflow-ai/langflow is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Likely public API
- Likely public API
- Likely start-up file
- Likely start-up file
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd a New Backend API Endpoint
- Define request/response schemas in src/backend/base/langflow/agentic/api/schemas.py
- Implement route handler in appropriate router (router.py, sessions_router.py, or files_router.py)
- Inject dependencies via deps.py if needed for database/service access
Support a New Workflow Format
- Add format parser to src/langflow-stepflow/src/langflow_stepflow/translation/
- Extend Translator class to handle new input format
- Add test flow definition in src/backend/base/langflow/agentic/flows/
Add SDK Support for New Language
- Create new language directory mirroring src/sdk/src/langflow_sdk/ structure
- Implement HTTP transport wrapping _http.py functionality
- Mirror serialization and model layers from src/sdk/src/langflow_sdk/serialization.py
Change the public API
Trace runtime behavior
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.
- 1 suggested change pattern has no matching file and is left out.