{"id":27005663,"url":"https://github.com/relevanceai/manage-aiworkforce","last_synced_at":"2026-01-19T11:01:00.763Z","repository":{"id":280209091,"uuid":"931992437","full_name":"RelevanceAI/manage-aiworkforce","owner":"RelevanceAI","description":"Designed to allow Relevance AI users to manage their environments locally and deploy from files or enable Git deployment.","archived":false,"fork":false,"pushed_at":"2025-05-27T02:14:44.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-27T03:26:33.898Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://relevanceai.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RelevanceAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-13T07:27:47.000Z","updated_at":"2025-04-12T06:48:58.000Z","dependencies_parsed_at":"2025-03-02T01:27:22.872Z","dependency_job_id":"6d8f050f-f1b3-417b-9574-53a351af48c7","html_url":"https://github.com/RelevanceAI/manage-aiworkforce","commit_stats":null,"previous_names":["relevanceai/manage-aiworkforce"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RelevanceAI/manage-aiworkforce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RelevanceAI%2Fmanage-aiworkforce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RelevanceAI%2Fmanage-aiworkforce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RelevanceAI%2Fmanage-aiworkforce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RelevanceAI%2Fmanage-aiworkforce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RelevanceAI","download_url":"https://codeload.github.com/RelevanceAI/manage-aiworkforce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RelevanceAI%2Fmanage-aiworkforce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28565873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-04T07:17:05.108Z","updated_at":"2026-01-19T11:01:00.737Z","avatar_url":"https://github.com/RelevanceAI.png","language":"Python","readme":"# Manage Your AI Workforce\nDesigned to allow Relevance AI users to manage their Relevance AI environments locally and deploy from files or Git to any Relevance AI project.\n\n*Note: This codebase is not designed to be used as a package or imported into your project. Use these functions as your building blocks to create your CI-CD pipelines.*\n\n## Usage\n\nThe package can be used in two major ways:\n\n### 1. Exporting your assets from a Relevance AI project to Local Files\n\nThe example script `examples/from_relevanceai_to_local.py` fetches agents and tools (with optional support for knowledge sets) from your Relevance AI project and writes them to local JSON files. This helps you:\n\n### 2. Pushing Local file assets to a Relevance AI project\n\nThe example script `examples/from_local_to_relevanceai.py` reads local JSON files (for agents and tools) and pushes them to your production Relevance AI environment. This is useful for:\n\n### 3. Retrigger Failed Conversations\n\nThe example script `examples/trigger_conversations_from_failure.py` shows how you can identify and regenerate conversations that have errored, starting them from just before the last error.\n\n### 4. Agent costs of past conversations between a given timeframe.\n\nThe example script `examples/get_agent_conversation_costs.py` calculates the costs of past conversations for a given agent within a specified timeframe. This is useful for understanding the cost distribution and usage patterns of your agents over time. Note: May not properly count subagents' costs.\n\n## API Functions\n\nThe package provides core functions to interact directly with the Relevance AI API:\n- **Agents**\n  - `get_all_agents`\n  - `create_agent`\n  - `get_agent_tools`\n  - `delete_agent`\n  - `update_agent`\n  - `schedule_message_to_agent`\n  - `get_agent_analytics`\n  - `save_agents_to_file`\n\n- **Knowledge**\n  - `get_all_knowledge`\n  - `get_knowledge`\n  - `delete_knowledge`\n  - `add_knowledge_data`\n  - `get_knowledge_metadata`\n\n- **Tools**\n  - `get_tool`\n  - `get_all_tools`\n  - `create_tools`\n  - `delete_tools`\n  - `get_tool_run_history`\n  - `trigger_tool`\n  - `poll_tool_run`\n  - `update_tool`\n  - `save_tools_to_file`\n\n- **Conversations**\n  - `get_conversations`\n  - `get_list_conversation_studio_history`\n  - `get_conversation_actions`\n  - `retrigger_conversation_after_message`\n  - `trigger_agent_debug_conversation`\n  - `get_trigger_message`\n  - `get_conversations_where_specific_tool_failed`\n  - `get_conversations_between_dates`\n\n- **Snippets**\n  - `upsert_snippet`\n\n## Contributing\n\nContributions to enhance features or extend functionality are welcome! If you have suggestions or improvements, please open an issue or submit a pull request.\n\n---\n\nManage your environment seamlessly with manage-aiworkforce.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelevanceai%2Fmanage-aiworkforce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frelevanceai%2Fmanage-aiworkforce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelevanceai%2Fmanage-aiworkforce/lists"}