{"id":13579487,"url":"https://github.com/aymenfurter/microagents","last_synced_at":"2025-04-05T21:31:52.283Z","repository":{"id":212956897,"uuid":"730107963","full_name":"aymenfurter/microagents","owner":"aymenfurter","description":"Agents Capable of Self-Editing Their Prompts / Python Code","archived":false,"fork":false,"pushed_at":"2024-03-15T10:33:38.000Z","size":8007,"stargazers_count":721,"open_issues_count":6,"forks_count":27,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-08-01T15:33:04.980Z","etag":null,"topics":["gpt-4-turbo","llm","openai"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aymenfurter.png","metadata":{"files":{"readme":"README-Docker.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}},"created_at":"2023-12-11T08:17:09.000Z","updated_at":"2024-07-30T14:08:10.000Z","dependencies_parsed_at":"2023-12-23T22:10:10.196Z","dependency_job_id":"8a3a43fd-2486-448a-9508-3439d07950aa","html_url":"https://github.com/aymenfurter/microagents","commit_stats":null,"previous_names":["aymenfurter/microagents"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aymenfurter%2Fmicroagents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aymenfurter%2Fmicroagents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aymenfurter%2Fmicroagents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aymenfurter%2Fmicroagents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aymenfurter","download_url":"https://codeload.github.com/aymenfurter/microagents/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223214882,"owners_count":17107601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["gpt-4-turbo","llm","openai"],"created_at":"2024-08-01T15:01:39.903Z","updated_at":"2024-11-05T17:31:54.460Z","avatar_url":"https://github.com/aymenfurter.png","language":"Python","readme":"#  Docker instructions\n\n\n## How to build the Docker image\n\n```bash\t\ndocker build -t microagents:latest .\n```\n\n\n## How to run the Docker container\n\n1. Create the persistance directory\n    ```bash\t\n    mkdir -p persistance\n    # optionally copy agents.db to persistance\n    cp agents.db persistance/\n    ```\n1. Run the Docker container\n    - In case you want to use Open AI API:\n        ```sh\n        docker run -it --rm \\\n              -e OPENAI_KEY='your_api_key_here' \\\n              -v \"$(pwd)/persistance:/usr/src/app/persistance\" \\\n              -p \"7860:7860\" \\\n              microagents:latest\n        ```\n    - In case you want to use Azure Open AI with api key:\n        ```sh\n        docker run -it --rm \\\n              -e AZURE_OPENAI_API_KEY='your_api_key_here' \\\n              -e AZURE_OPENAI_ENDPOINT='https://my_endpoint_name_here.openai.azure.com/' \\\n              -e OPENAI_EMBEDDING='text-embedding-ada-002' \\\n              -e OPENAI_MODEL='gpt-4-1106-preview' \\\n              -v \"$(pwd)/persistance:/usr/src/app/persistance\" \\\n              -p \"7860:7860\" \\\n              microagents:latest\n        ```\n    - In case you want to use Azure Open AI with Entra ID (AAD):\n        ```sh\n        docker run -it --rm \\\n              -e AZURE_OPENAI_USE_AAD='true' \\\n              -e AZURE_OPENAI_AD_TOKEN=\"$(az account get-access-token --scope \"https://cognitiveservices.azure.com/.default\" --query 'accessToken' -o tsv)\" \\\n              -e AZURE_OPENAI_ENDPOINT='https://my_endpoint_name_here.openai.azure.com/' \\\n              -e OPENAI_EMBEDDING='text-embedding-ada-002' \\\n              -e OPENAI_MODEL='gpt-4-1106-preview' \\\n              -v \"$(pwd)/persistance:/usr/src/app/persistance\" \\\n              -p \"7860:7860\" \\\n              microagents:latest\n        ```\n\n\n","funding_links":[],"categories":["Software Development","Python","其他LLM框架","Other LLM Frameworks","Learning","Agent Categories"],"sub_categories":["文章","Videos Playlists","Repositories","\u003ca name=\"Unclassified\"\u003e\u003c/a\u003eUnclassified"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faymenfurter%2Fmicroagents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faymenfurter%2Fmicroagents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faymenfurter%2Fmicroagents/lists"}