Add C++ Microsoft Foundry agent samples - #1
Merged
Conversation
- Implement main agent logic in src/main.cpp, including signal handling and server setup. - Create unit tests for host functionality in tests/host_tests.cpp, covering invocation parsing, port validation, and readiness checks. - Add vcpkg configuration files (vcpkg-configuration.json and vcpkg.json) for dependency management. - Document the architecture and implementation details in a new research markdown file (cpp-agents-with-microsoft-foundry.md).
…management - Added configuration management in `config.cpp` to handle environment variables and validate project endpoint. - Implemented HTTP transport using `libcurl` in `http_transport.cpp` for making requests to the Foundry service. - Created a main entry point in `main.cpp` to initialize the agent and handle requests. - Developed unit tests for agent functionality in `agent_tests.cpp` and configuration validation in `config_tests.cpp`. - Introduced fake transport and credential classes for testing purposes in `fake_transport.hpp`. - Set up CMake configuration files for building the project and managing dependencies with vcpkg. - Created Dockerfile and Azure deployment configuration for hosting the agent in a containerized environment. - Implemented a host server in `host.cpp` to manage incoming requests and invoke the agent. - Added tests for the host server functionality in `host_tests.cpp`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary