{"id":29900436,"url":"https://github.com/berquerant/my-ai-agent","last_synced_at":"2025-08-01T13:18:48.480Z","repository":{"id":286346014,"uuid":"961135032","full_name":"berquerant/my-ai-agent","owner":"berquerant","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-29T00:20:30.000Z","size":218,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-29T00:38:55.586Z","etag":null,"topics":["python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/berquerant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-04-05T20:37:20.000Z","updated_at":"2025-04-29T00:18:49.000Z","dependencies_parsed_at":"2025-04-22T00:32:22.578Z","dependency_job_id":null,"html_url":"https://github.com/berquerant/my-ai-agent","commit_stats":null,"previous_names":["berquerant/my-ai-agent"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/berquerant/my-ai-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fmy-ai-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fmy-ai-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fmy-ai-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fmy-ai-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berquerant","download_url":"https://codeload.github.com/berquerant/my-ai-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fmy-ai-agent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268230269,"owners_count":24217022,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["python"],"created_at":"2025-08-01T13:18:43.468Z","updated_at":"2025-08-01T13:18:48.472Z","avatar_url":"https://github.com/berquerant.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# my-ai-agent\n\n``` shell\n❯ python -m my_ai_agent.cli -h\nusage: cli.py [-h] [-m MODEL] [-u BASE_URL] [--debug] [--quiet] [-i INSTRUCTIONS] [-r ROLE_SEPARATOR]\n              [-s MESSAGE_SEPARATOR]\n\nMy AI agent.\n\noptions:\n  -h, --help            show this help message and exit\n  -m, --model MODEL     AI model, default: gpt-4o-mini\n  -u, --base_url BASE_URL\n                        base url of API\n  --debug               enable debug log\n  --quiet               quiet log\n  -i, --instructions INSTRUCTIONS\n                        instructions, system messages for the agent, @FILENAME is available\n  -r, --role_separator ROLE_SEPARATOR\n                        role separator string, default: '\u003e'\n  -s, --message_separator MESSAGE_SEPARATOR\n                        message separator string, default: '\\n---\\n'\n\n# Examples\n## minimal\npython -m my_ai_agent.cli \u003c input.txt\n## continue chat\npython -m my_ai_agent.cli \u003c input.txt \u003e output.txt\n// edit output.txt to append user reply\npython -m my_ai_agent.cli \u003c output.txt\n## with instructions\npython -m my_ai_agent.cli -i @instructions.txt \u003c input.txt\n## change API endpoint\npython -m my_ai_agent.cli -u \"ENDPOINT_TO_CHAT_COMPLETIONS_API like http://127.0.0.1:11434/v1\"\\\n  -m \"MODEL\" \u003c input.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberquerant%2Fmy-ai-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberquerant%2Fmy-ai-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberquerant%2Fmy-ai-agent/lists"}