Commit Graph

2096 Commits

Author SHA1 Message Date
Saumya 26e69a24b9 Merge branch 'main' into composio-1a 2025-08-01 21:06:52 +05:30
Bobbie 1a08ab2384
Merge pull request #1176 from mykonos-ibiza/patch-1
Fix SDK Readme
2025-08-01 20:13:14 +05:30
mykonos-ibiza e50e2f83ca
Update README.md 2025-08-01 20:12:35 +05:30
Bobbie 181244a97f
Delete sdk_example.py 2025-08-01 20:01:47 +05:30
Bobbie 4a6073a563
Merge pull request #1163 from mykonos-ibiza/kortix-sdk
Feat Kortix SDK
2025-08-01 20:01:07 +05:30
mykonos-ibiza 564c3ad63f Refactor imports and enhance XML formatting in utils
- Updated import statements in `example.py` to remove relative imports for better clarity.
- Introduced ANSI color formatting for various log messages in `utils.py` to improve readability.
- Added XML formatting functionality to `print_stream` for better output presentation when handling XML content.
- Implemented syntax highlighting for XML tags and attributes to enhance visual distinction in logs.
2025-08-01 19:29:09 +05:30
Krishav 04f3543d97
Merge branch 'kortix-ai:main' into feat/task_list_tool 2025-08-01 16:30:23 +05:30
Bobbie 14c12ab726
Merge pull request #1174 from escapade-mckv/fix-agent-builder-2a
fix of height of tools section
2025-08-01 16:03:15 +05:30
Saumya 6b77a6ccca fix of height of tools section 2025-08-01 15:55:39 +05:30
mykonos-ibiza dfab627eba Add message deletion functionality and refactor related methods
- Introduced a new endpoint in the API to delete messages from a thread, enhancing message management capabilities.
- Added a `del_message` method in the `Thread` class to facilitate message deletion.
- Updated the `ThreadsClient` class to include a method for deleting messages from a thread, ensuring consistent API interaction.
- Refactored the `Agent` class to rename the `tool_details` method to `details`, improving clarity in method naming.
2025-08-01 15:35:09 +05:30
ck 120de528bb feat: add dynamic datetime variables to agent prompts
- Add custom_prompt.py module for template variable processing
- Replace hardcoded year with {{current_year}} template variable
- Support {{current_date}}, {{current_time}}, {{current_year}} variables
- Ensure consistent datetime handling across all prompt files
- Fix prompt template inconsistencies
2025-08-01 16:11:35 +08:00
Krishav 90063d7c59
Merge branch 'kortix-ai:main' into feat/task_list_tool 2025-08-01 13:07:27 +05:30
Bobbie eeb1bd5e4c
Merge pull request #1172 from escapade-mckv/fix-agent-builder-2a
fix agent builder update tool
2025-08-01 13:05:27 +05:30
Saumya 6de7bd0f6c fix agent builder update tool 2025-08-01 13:04:24 +05:30
Saumya 5d126bc75b test composio sdk 2025-08-01 12:54:16 +05:30
yeyan1996 4308f0e0d8 Enhance button styles by adding cursor pointer 2025-07-31 23:30:04 -07:00
yeyan1996 3be4345cbf fix: hide panel when resetting the state of playback 2025-07-31 23:19:08 -07:00
Krishav Raj Singh 83d7882b2c fix: replace xml_schema with usage_example 2025-08-01 10:51:52 +05:30
Krishav Raj Singh 191279256c refactor prompt 2025-08-01 10:51:52 +05:30
Krishav Raj Singh ab76c95258 ui: include sections 2025-08-01 10:51:52 +05:30
Krishav Raj Singh 457b548a65 feat: add section in tool_list 2025-08-01 10:51:52 +05:30
Krishav Raj Singh 7239ce4668 merge conflict 2025-08-01 10:51:50 +05:30
Krishav Raj Singh 1e5342b6dc refactor: prompt 2025-08-01 10:51:16 +05:30
Krishav Raj Singh 3e2f442a17 chore: fix type 2025-08-01 10:51:16 +05:30
Krishav Raj Singh 50ea2da1ac fix: prompt 2025-08-01 10:51:16 +05:30
Krishav Raj Singh 4b423865bf chore: refactor prompt 2025-08-01 10:51:16 +05:30
Krishav Raj Singh 61d2ad5df4 feat: ui for task list tool 2025-08-01 10:51:16 +05:30
Krishav Raj Singh d6bc346bbc fix: task list tool 2025-08-01 10:51:16 +05:30
Krishav Raj Singh a9cd2fbca6 feat: added task list tool 2025-08-01 10:51:16 +05:30
Chaitanya045 a004a1b2ee issue: add copy functionality to file manager and tool-call side panel 2025-08-01 08:20:20 +05:30
mykonos-ibiza 403561f823 Add README and update API URL in Kortix class
- Introduced a new README.md file for the Kortix SDK, detailing installation instructions, quick start examples, and environment setup.
- Updated the default API URL in the Kortix class constructor from `http://localhost:8000/api` to `https://suna.so/api`, ensuring consistency with the production environment.
2025-08-01 03:30:25 +05:30
marko-kraemer 001cfacb01 fix agent run status not updating 2025-07-31 23:33:42 +02:00
mykonos-ibiza c94a0becd9 Enhance agent data handling in from_dict method
- Updated the `from_dict` method in the `agents.py` file to support the conversion of `custom_mcps` and ensure proper handling of nested `MCPConfig` objects.
- Improved data extraction by filtering out unnecessary fields and providing default values for missing configurations, enhancing robustness in agent initialization.
2025-08-01 02:36:21 +05:30
mykonos-ibiza 95b8349e5e Enhance tool enabling logic in KortixAgent class
- Updated the `create` method in the `KortixAgent` class to improve the handling of `allowed_tools`, allowing for more granular control over the enabled state of `AgentPressTools` and `MCPTools`.
- Refactored internal logic to ensure tools are enabled or disabled based on the `allowed_tools` parameter, enhancing flexibility and robustness in tool management.
2025-08-01 02:22:59 +05:30
Bobbie 0250e786cd
Merge pull request #1165 from escapade-mckv/fix-agent-builder-2a
fix agent builder functionality
2025-08-01 02:16:58 +05:30
Saumya e8972fb788 fix agent builder functionality 2025-08-01 02:15:49 +05:30
mykonos-ibiza fac860a308 Enhance tool management in KortixAgent class
- Added support for an optional `allowed_tools` parameter in the `create` method of the `KortixAgent` class to control the enabled state of `AgentPressTools` and `MCPTools`.
- Updated internal logic to conditionally enable tools based on the provided `allowed_tools`, improving flexibility in tool configuration.
2025-08-01 02:13:32 +05:30
mykonos-ibiza e1c1e19dee Refactor agent version handling and improve logging
- Updated the `update_agent` function to access `version_number` and `version_name` directly from the `new_version` object, enhancing clarity and consistency in version management.
- Improved logging statements to reflect the changes in how version details are accessed, ensuring accurate log messages for created versions.
2025-08-01 02:10:40 +05:30
mykonos-ibiza 51aecd3e67 Merge branch 'main' into kortix-sdk 2025-08-01 01:47:10 +05:30
mykonos-ibiza 8793dfcd25 Update Agent class's update method to support optional parameters
- Modified the `update` method in the `Agent` class to accept optional parameters for `name`, `system_prompt`, and `mcp_tools`, enhancing flexibility in agent property updates.
- Adjusted internal logic to handle cases where `mcp_tools` is not provided, improving robustness in tool management.
2025-08-01 01:43:22 +05:30
mykonos-ibiza 2302b656f0 Add update method to Agent class for modifying agent properties
- Implemented an `update` method in the `Agent` class to allow modification of agent properties such as name, system prompt, and associated tools.
- Enhanced tool management by configuring `AgentPressTools` and `MCPTools` for the update process.
- Updated the `create` method in `KortixAgent` to maintain consistency with the new method signature.
2025-08-01 01:40:31 +05:30
mykonos-ibiza 4ca74e9907 Refactor tool management and remove unused files
- Renamed `KortixMCPTools` to `MCPTools` for consistency across the SDK.
- Updated import statements and `__all__` definitions to reflect the new class name.
- Removed unused files including `.kvstore.json`, `example_stream.txt`, `play.py`, `stream.py`, and `stream_test.py` to streamline the project structure and eliminate redundancy.
2025-08-01 01:33:20 +05:30
mykonos-ibiza 4da30a7b9a Refactor KortixMCP to KortixMCPTools and update imports
- Renamed `KortixMCP` to `KortixMCPTools` across the SDK for consistency.
- Updated import statements in relevant files to reflect the new class name.
- Modified the `create` method in `KortixAgent` to use `mcp_tools` instead of `tools`, enhancing clarity in tool management.
2025-08-01 01:31:05 +05:30
mykonos-ibiza bef187319f Update dependencies and refactor KortixMCP initialization
- Added `fastmcp` as a dependency in `pyproject.toml` and updated the lock file accordingly.
- Refactored the `KortixMCP` class constructor to directly instantiate `FastMCPClient` and modified the tool management logic to handle cases where allowed tools are not specified.
- Improved code readability by renaming variables and streamlining the initialization process.
2025-08-01 01:23:20 +05:30
mykonos-ibiza 05d111def6 Refactor KortixMCP initialization and tool management
- Updated the constructor of `KortixMCP` to accept a `FastMCPClient` and a list of allowed tools.
- Modified the `initialize` method to retrieve tools from the new client and filter enabled tools based on the allowed list.
- Improved code readability and organization by renaming variables for clarity.
2025-08-01 01:17:32 +05:30
mykonos-ibiza eb53999291 Refactor whitespace and formatting in async stream printer
- Cleaned up whitespace throughout the `print_stream` function for improved readability.
- Standardized output formatting for function call detection and tool result messages, enhancing clarity in logs.
- Ensured consistent handling of empty lines and message content, contributing to better overall code quality.
2025-07-31 23:33:30 +05:30
mykonos-ibiza ac9dbd7127 Enhance assistant message processing in async stream printer
- Introduced chunk accumulation for assistant messages to handle multi-part responses more effectively.
- Implemented a function to rebuild full text from sorted chunks, improving the accuracy of message content.
- Added state management for parsing function calls, allowing detection and handling of tool usage within messages.
- Updated output formatting to provide clearer logs for assistant messages and tool interactions.
2025-07-31 23:28:17 +05:30
kubet 477a32363f
Merge pull request #1159 from kubet/feat/wip-workflow
Feat: new workflow design
2025-07-31 19:42:16 +02:00
mykonos-ibiza be05cc8348 Update assistant message handling in async stream printer
- Modified the `print_stream` function to include a check for `message_id` before processing assistant messages, ensuring only valid messages are printed.
- Changed output labels from `[MESSAGE]` to `[ASSISTANT]` for clarity in logs, improving the distinction between different message types.
2025-07-31 23:11:39 +05:30
Vukasin a1f187b402 Merge remote-tracking branch 'upstream/main' into feat/wip-workflow 2025-07-31 19:41:02 +02:00