fastagency
The fastest way to bring multi-agent workflows to production.
File Explorer
- devcontainer.json
- docker-compose.yml
- devcontainer.json
- docker-compose.yml
- devcontainer.json
- docker-compose.yml
- devcontainer.env
- devcontainer.json
- docker-compose.yml
- nats_server.conf
- setup.sh
- bug_report.md
- config.yml
- feature_request.md
- check-broken-links-in-docs.yaml
- codeql.yml
- dependency-review.yaml
- deploy-docs.yaml
- pipeline.yaml
- publish-coverage.yml
- release_pypi.yaml
- test-external-weather.yaml
- test-playwright.yaml
- test.yaml
- update-release-notes.yaml
- dependabot.yml
- PULL_REQUEST_TEMPLATE.md
- FA-Main-LOGO-640x320-tinypng.png
- fa-main-logo.svg
- FA-Secondary-LOGO.jpg
- favicon.ico
- logo.svg
- pod-loga.svg
- AWPAdapter.md
- AWPThreadInfo.md
- WorkflowInfo.md
- simple_workflow.md
- without_student_messages.md
- AWPAdapter.md
- FastAPIAdapter.md
- FastAPIProvider.md
- InititateChatModel.md
- WorkflowInfo.md
- FastAPIAdapter.md
- FastAPIProvider.md
- NatsAdapter.md
- NatsProvider.md
- NatsAdapter.md
- NatsProvider.md
- inject_params.md
- ArgumentWithDescription.md
- patch_get_parameter_type.md
- add_to_builtins.md
- OpenAPI.md
- patch_apply_discriminator_type.md
- patch_function_name_parsing.md
- patch_generate_code.md
- patch_parse_schema.md
- APIKeyCookie.md
- APIKeyHeader.md
- APIKeyQuery.md
- BaseSecurity.md
- BaseSecurityParameters.md
- HTTPBasic.md
- HTTPBearer.md
- OAuth2PasswordBearer.md
- UnsuportedSecurityStub.md
- custom_visitor.md
- OpenAPI.md
- FastAgency.md
- AdapterProtocol.md
- ASGIProtocol.md
- check_register_decorator.md
- CreateWorkflowUIMixin.md
- ProviderProtocol.md
- Runnable.md
- UI.md
- UIBase.md
- WorkflowsProtocol.md
- WSGIProtocol.md
- callback.md
- dev.md
- main.md
- run.md
- version.md
- version_callback.md
- get_app_name.md
- get_default_path.md
- get_import_string.md
- get_module_data_from_path.md
- import_from_string.md
- ModuleData.md
- build.md
- deploy.md
- run.md
- setup_logging.md
- FastAgencyASGINotImplementedError.md
- FastAgencyCLIError.md
- FastAgencyCLIPythonVersionError.md
- FastAgencyConnectionError.md
- FastAgencyError.md
- FastAgencyFastAPIConnectionError.md
- FastAgencyFastAPIKeyError.md
- FastAgencyKeyError.md
- FastAgencyNATSConnectionError.md
- FastAgencyNATSKeyError.md
- FastAgencyWSGINotImplementedError.md
- check_imports.md
- extract_json_objects.md
- jsonify_string.md
- optional_temp_path.md
- get_logger.md
- AskingMessage.md
- Error.md
- FunctionCallExecution.md
- InitiateWorkflowModel.md
- InputResponseModel.md
- IOMessage.md
- KeepAlive.md
- MessageProcessorMixin.md
- MessageProcessorProtocol.md
- MultipleChoice.md
- SuggestedFunctionCall.md
- SystemMessage.md
- TextInput.md
- TextMessage.md
- WorkflowCompleted.md
- WorkflowStarted.md
- create_ag2_event.md
- Toolable.md
- Workflow.md
- WebSurferAgent.md
- WhatsAppAgent.md
- WebSurferAnswer.md
- WebSurferTool.md
- WhatsAppTool.md
- WebSurferTool.md
- WhatsAppTool.md
- Workflow.md
- ConsoleUI.md
- ConsoleUI.md
- AuthProtocol.md
- BasicAuth.md
- basic_auth_component.md
- basic_auth_component.md
- BasicAuth.md
- FirebaseAuth.md
- firebase_auth_component.md
- FirebaseConfig.md
- firebase_auth_component.md
- FirebaseAuth.md
- FirebaseConfig.md
- AuthProtocol.md
- darken_hex_color.md
- input_text.md
- Conversation.md
- ConversationMessage.md
- State.md
- create_home_page.md
- MesopHomePage.md
- MesopHomePageParams.md
- MesopMessage.md
- MesopUI.md
- run_workflow_mesop.md
- consume_responses.md
- find_suitable_title.md
- handle_message.md
- MesopGUIMessageVisitor.md
- message_box.md
- UUIDEncoder.md
- get_more_messages.md
- send_prompt_to_autogen.md
- send_user_feedback_to_autogen.md
- MesopHomePageStyles.md
- MesopMessagesStyles.md
- MesopMessageStyles.md
- MesopMultipleChoiceInnerStyles.md
- MesopSingleChoiceInnerStyles.md
- MesopTextInputInnerStyles.md
- configure_static_file_serving.md
- wakeup_component.md
- MesopUI.md
- FastAgency.md
- FunctionCallExecution.md
- IOMessage.md
- MultipleChoice.md
- SuggestedFunctionCall.md
- TextInput.md
- TextMessage.md
- UI.md
- UIBase.md
- WorkflowsProtocol.md
- .meta.yml
- cli.md
- CONTRIBUTING.md
- docs.md
- index.md
- creating_whatsapp_api_key.md
- gifs.png
- initial_message.png
- scraped_info.png
- scraping1.png
- scraping2.png
- index.md
- probing_flow.png
- prompt_leakage_report.png
- prompt_leakage_social_img.png
- prompt_test_chat.png
- index.md
- initial_message.png
- scraped_info.png
- scraping.png
- whatsapp.png
- whatsapp_api_call.png
- index.md
- index.md
- mesop_template.md
- index.md
- security.md
- index.md
- custom_chat_output.png
- custom_fastapi.png
- custom_fastapi_nats.png
- mesop_fastapi.png
- mesop_fastapi_nats.png
- mesop_nats.png
- index.md
- index.md
- result.png
- user_input.png
- index.md
- index.md
- index.md
- security.md
- index.md
- index.md
- chat-init.png
- chat.png
- reopen-in-container.png
- index.md
- weather_chat.png
- index.md
- interactions.md
- using_non_openai_models.md
- websurfer.md
- whatsapp.md
- index.md
- index.md
- basics.md
- auth_chat.png
- auth_login.png
- basic_auth_chat.png
- basic_auth_login.png
- basics.md
- index.md
- example.md
- features.md
- index.md
- release.md
- extra.js
- extra.css
- navigation_template.txt
- SUMMARY.md
- devcontainer.env
- devcontainer.json
- docker-compose.yml
- setup.sh
- deploy_to_fly_io.yml
- test.yml
- dependabot.yml
- nginx.conf.template
- run_fastagency.sh
- Dockerfile
- __init__.py
- main_1_fastapi.py
- main_2_mesop.py
- __init__.py
- main_console.py
- main_mesop.py
- __init__.py
- workflow.py
- build_docker.sh
- check-registered-app-pre-commit.sh
- check-registered-app.sh
- deploy_to_fly_io.sh
- lint-pre-commit.sh
- lint.sh
- register_to_fly_io.sh
- run_docker.sh
- run_mesop_locally.sh
- static-analysis.sh
- static-pre-commit.sh
- __init__.py
- conftest.py
- test_workflow.py
- .codespell-whitelist.txt
- .dockerignore
- .gitignore
- .pre-commit-config.yaml
- .secrets.baseline
- fly.toml
- pyproject.toml
- README.md
- folder_structure.txt
- devcontainer.env
- devcontainer.json
- docker-compose.yml
- setup.sh
- deploy_to_fly_io.yml
- test.yml
- dependabot.yml
- nginx.conf.template
- run_fastagency.sh
- Dockerfile
- __init__.py
- main.py
- __init__.py
- main_console.py
- main_mesop.py
- __init__.py
- workflow.py
- build_docker.sh
- check-registered-app-pre-commit.sh
- check-registered-app.sh
- deploy_to_fly_io.sh
- lint-pre-commit.sh
- lint.sh
- register_to_fly_io.sh
- run_docker.sh
- run_mesop_locally.sh
- static-analysis.sh
- static-pre-commit.sh
- __init__.py
- conftest.py
- test_workflow.py
- .codespell-whitelist.txt
- .dockerignore
- .gitignore
- .pre-commit-config.yaml
- .secrets.baseline
- fly.toml
- pyproject.toml
- README.md
- folder_structure.txt
- devcontainer.env
- devcontainer.json
- docker-compose.yml
- nats_server.conf
- setup.sh
- deploy_to_fly_io.yml
- test.yml
- dependabot.yml
- nginx.conf.template
- run_fastagency.sh
- Dockerfile
- __init__.py
- main_1_nats.py
- main_2_fastapi.py
- main_3_mesop.py
- __init__.py
- main_console.py
- main_mesop.py
- __init__.py
- workflow.py
- build_docker.sh
- check-registered-app-pre-commit.sh
- check-registered-app.sh
- deploy_to_fly_io.sh
- lint-pre-commit.sh
- lint.sh
- register_to_fly_io.sh
- run_docker.sh
- run_mesop_locally.sh
- static-analysis.sh
- static-pre-commit.sh
- __init__.py
- conftest.py
- test_workflow.py
- .codespell-whitelist.txt
- .dockerignore
- .gitignore
- .pre-commit-config.yaml
- .secrets.baseline
- fly.toml
- pyproject.toml
- README.md
- folder_structure.txt
- __init__.py
- devcontainer.env
- devcontainer.json
- docker-compose.yml
- setup.sh
- deploy_to_fly_io.yml
- test.yml
- dependabot.yml
- nginx.conf.template
- run_fastagency.sh
- Dockerfile
- __init__.py
- main_1_fastapi.py
- main_2_mesop.py
- __init__.py
- main_console.py
- main_mesop.py
- __init__.py
- workflow.py
- build_docker.sh
- check-registered-app-pre-commit.sh
- check-registered-app.sh
- deploy_to_fly_io.sh
- lint-pre-commit.sh
- lint.sh
- register_to_fly_io.sh
- run_docker.sh
- run_mesop_locally.sh
- static-analysis.sh
- static-pre-commit.sh
- __init__.py
- conftest.py
- test_workflow.py
- .codespell-whitelist.txt
- .dockerignore
- .gitignore
- .pre-commit-config.yaml
- .secrets.baseline
- fly.toml
- pyproject.toml
- README.md
- folder_structure.txt
- main_fastapi_custom_client.py
- devcontainer.env
- devcontainer.json
- docker-compose.yml
- setup.sh
- deploy_to_fly_io.yml
- test.yml
- dependabot.yml
- nginx.conf.template
- run_fastagency.sh
- Dockerfile
- __init__.py
- main.py
- __init__.py
- main_console.py
- main_mesop.py
- __init__.py
- workflow.py
- build_docker.sh
- check-registered-app-pre-commit.sh
- check-registered-app.sh
- deploy_to_fly_io.sh
- lint-pre-commit.sh
- lint.sh
- register_to_fly_io.sh
- run_docker.sh
- run_mesop_locally.sh
- static-analysis.sh
- static-pre-commit.sh
- __init__.py
- conftest.py
- test_workflow.py
- .codespell-whitelist.txt
- .dockerignore
- .gitignore
- .pre-commit-config.yaml
- .secrets.baseline
- fly.toml
- pyproject.toml
- README.md
- folder_structure.txt
- devcontainer.env
- devcontainer.json
- docker-compose.yml
- nats_server.conf
- setup.sh
- deploy_to_fly_io.yml
- test.yml
- dependabot.yml
- nginx.conf.template
- run_fastagency.sh
- Dockerfile
- __init__.py
- main_1_nats.py
- main_2_fastapi.py
- main_3_mesop.py
- __init__.py
- main_console.py
- main_mesop.py
- __init__.py
- workflow.py
- build_docker.sh
- check-registered-app-pre-commit.sh
- check-registered-app.sh
- deploy_to_fly_io.sh
- lint-pre-commit.sh
- lint.sh
- register_to_fly_io.sh
- run_docker.sh
- run_mesop_locally.sh
- static-analysis.sh
- static-pre-commit.sh
- __init__.py
- conftest.py
- test_workflow.py
- .codespell-whitelist.txt
- .dockerignore
- .gitignore
- .pre-commit-config.yaml
- .secrets.baseline
- fly.toml
- pyproject.toml
- README.md
- folder_structure.txt
- main_2_fastapi_custom_client.py
- main_2_mesop.py
- __init__.py
- __init__.py
- __init__.py
- main.py
- simple_main.py
- __init__.py
- main.py
- __init__.py
- __init__.py
- main_1_jwt.py
- main_1_simple.py
- simple_client.py
- workflows.py
- __init__.py
- __init__.py
- __init__.py
- main.py
- devcontainer.env
- devcontainer.json
- docker-compose.yml
- setup.sh
- deploy_to_fly_io.yml
- test.yml
- dependabot.yml
- nginx.conf.template
- run_fastagency.sh
- Dockerfile
- __init__.py
- main.py
- __init__.py
- main_console.py
- main_mesop.py
- __init__.py
- workflow.py
- build_docker.sh
- check-registered-app-pre-commit.sh
- check-registered-app.sh
- deploy_to_fly_io.sh
- lint-pre-commit.sh
- lint.sh
- register_to_fly_io.sh
- run_docker.sh
- run_mesop_locally.sh
- static-analysis.sh
- static-pre-commit.sh
- __init__.py
- conftest.py
- test_workflow.py
- .codespell-whitelist.txt
- .dockerignore
- .gitignore
- .pre-commit-config.yaml
- .secrets.baseline
- fly.toml
- pyproject.toml
- README.md
- folder_structure.txt
- __init__.py
- workflow.py
- __init__.py
- main.py
- security.py
- security_examples.py
- __init__.py
- main.py
- using_non_openai_models.py
- __init__.py
- websurfer.py
- websurfer_tool.py
- whatsapp.py
- whatsapp_tool.py
- __init__.py
- __init__.py
- main_mesop.py
- main_mesop_basic_auth.py
- main_mesop_firebase_auth.py
- __init__.py
- __init__.py
- __init__.py
- .gitignore
- 404.html
- home.html
- main.html
- redirect.html
- __init__.py
- create_api_docs.py
- create_cli_docs.py
- docs.py
- expand_markdown.py
- mkdocs.yml
- README.md
- update_releases.py
- main.py
- simple-learning.spec.ts
- main.py
- messages.spec.ts
- playwright.base.config.ts
- playwright.coverage.cfg
- README.md
- __init__.py
- main_console.py
- main_mesop.py
- main_user_proxy.py
- giphy_openapi.json
- __init__.py
- fixtures.py
- __init__.py
- base.py
- tryrun.py
- __init__.py
- base.py
- __init__.py
- base.py
- __init__.py
- __init__.py
- fastapi_code_generator_helpers.py
- openapi.py
- patch_datamodel_code_generator.py
- patch_fastapi_code_generator.py
- security.py
- security_schema_visitor.py
- __init__.py
- dependency_injection.py
- __init__.py
- cli.py
- discover.py
- docker_cli.py
- logging.py
- __init__.py
- websurfer.py
- whatsapp.py
- __init__.py
- websurfer.py
- whatsapp.py
- __init__.py
- ag2.py
- __init__.py
- __init__.py
- console.py
- __init__.py
- basic_auth.py
- basic_auth_component.py
- __init__.py
- firebase_auth.py
- firebase_auth_component.py
- __init__.py
- auth.py
- __init__.py
- helpers.py
- inputs.py
- __init__.py
- data_model.py
- main.py
- mesop.py
- message.py
- send_prompt.py
- styles.py
- timer.py
- __init__.py
- __about__.py
- __init__.py
- __main__.py
- app.py
- base.py
- exceptions.py
- helpers.py
- logging.py
- messages.py
- basic_auth_component.js
- firebase_auth_component.js
- wakeup_component.js
- migration.sql
- migration.sql
- migration.sql
- migration.sql
- migration.sql
- migration_lock.toml
- build-docs-pre-commit.sh
- build-docs.sh
- ci-check-certs.sh
- cron-check-certs.sh
- lint-pre-commit.sh
- lint.sh
- publish.sh
- serve-docs.sh
- static-analysis.sh
- static-pre-commit.sh
- test-cov.sh
- test-no-llm-pre-commit.sh
- test-no-llm.sh
- test.sh
- main.jinja2
- __init__.py
- conftest.py
- expected_main_gen.txt
- expected_models_gen.txt
- expected_openapi.json
- test_api_key_client.py
- test_http_basic_client.py
- test_http_bearer_client.py
- test_oauth_client.py
- test_security.py
- test_unsupported_security.py
- __init__.py
- description_with_new_lines.json
- discriminator_in_root.json
- discriminator_in_root_with_properties.json
- discriminator_inside_properties.json
- modular_reference_template.json
- openapi.json
- openapi2.json
- same_schema_in_parameters.json
- schema_with_frontslashes.json
- schema_without_operation_id.json
- security_schema.json
- test_fastapi_codegen_template.py
- test_fastapi_stale_patch.py
- __init__.py
- test_client.py
- test_client_requests.py
- test_datamodel_with_pattern.py
- test_end2end.py
- test_endpoint_with_body.py
- test_fastapi_code_generator_helpers.py
- test_get_params.py
- test_openapi_same_schema_in_parameters.py
- test_uppercase_endpoint_parameters.py
- test_whatsapp_api.py
- __init__.py
- test_code_injection.py
- __init__.py
- test_discover.py
- test_docker_cli.py
- test_mesop.py
- __init__.py
- test_main.py
- __init__.py
- test_secure_adapter.py
- __init__.py
- __init__.py
- test_main.py
- __init__.py
- test_with_security.py
- test_without_security.py
- __init__.py
- test_websurfer.py
- test_websurfer_tool.py
- test_whatsap_tool.py
- test_whatsapp.py
- __init__.py
- __init__.py
- __init__.py
- helpers.py
- test_import.py
- test_import_external.py
- __init__.py
- test_cli.py
- test_import.py
- __init__.py
- test_web_surfer.py
- test_whatsapp.py
- __init__.py
- test_autogen.py
- __init__.py
- __init__.py
- test_base.py
- __init__.py
- conftest.py
- test_base.py
- test_basic_auth.py
- test_data_model.py
- test_init.py
- test_main.py
- test_message.py
- __init__.py
- __init__.py
- conftest.py
- helpers.py
- test_base.py
- test_helpers.py
- test_import.py
- test_messages.py
- demo-todo-app.spec.ts
- .codespell-whitelist.txt
- .gitattributes
- .gitignore
- .pre-commit-config.yaml
- .secrets.baseline
- .semgrepignore
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- LICENSE
- package-lock.json
- package.json
- playwright.coverage.config.ts
- playwright.gunicorn.config.ts
- playwright.llm-sans.config.ts
- playwright.llm.config.ts
- pyproject.toml
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
gunicorn
View Details ▼
gunicorn
Python WSGI HTTP Server.
gunicorn {{import.path:app_object}}
Run Python web app:
gunicorn {{[-b|--bind]}} localhost:8080 {{import.path:app_object}}
Listen on port 8080 on localhost:
gunicorn --reload {{import.path:app_object}}
Turn on live reload:
pip install
View Details ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
pytest
View Details ▼
pytest
Run Python tests.
pytest {{path/to/test_file1.py path/to/test_file2.py ...}}
Run tests from specific files:
pytest -k {{expression}}
Run tests with names matching a specific [k]eyword expression:
pytest {{[-x|--exitfirst]}}
Exit as soon as a test fails or encounters an error:
waitress-serve
View Details ▼
waitress-serve
Pure Python WSGI HTTP Server.
waitress-serve {{import.path:wsgi_func}}
Run a Python web app:
waitress-serve --listen={{localhost}}:{{8080}} {{import.path:wsgi_func}}
Listen on port 8080 on localhost:
waitress-serve --unix-socket={{path/to/socket}} {{import.path:wsgi_func}}
Start waitress on a Unix socket:
