{"id":26908994,"url":"https://github.com/wenyuzhao/agentia","last_synced_at":"2025-04-01T12:20:22.825Z","repository":{"id":176979264,"uuid":"653780492","full_name":"wenyuzhao/agentia","owner":"wenyuzhao","description":"Simple ChatGPT API wrapper with function calls","archived":false,"fork":false,"pushed_at":"2025-03-28T07:44:00.000Z","size":1063,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T07:46:45.886Z","etag":null,"topics":["ai","chatgpt","chatgpt-api","chatgpt-plugins","gpt","python"],"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/wenyuzhao.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}},"created_at":"2023-06-14T18:10:41.000Z","updated_at":"2025-03-28T07:44:04.000Z","dependencies_parsed_at":"2023-06-28T20:01:12.328Z","dependency_job_id":"8622b326-5260-4740-925d-4afd6d26c943","html_url":"https://github.com/wenyuzhao/agentia","commit_stats":null,"previous_names":["wenyuzhao/augmented-gpt","wenyuzhao/agentia"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenyuzhao%2Fagentia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenyuzhao%2Fagentia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenyuzhao%2Fagentia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenyuzhao%2Fagentia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wenyuzhao","download_url":"https://codeload.github.com/wenyuzhao/agentia/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246635939,"owners_count":20809333,"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":["ai","chatgpt","chatgpt-api","chatgpt-plugins","gpt","python"],"created_at":"2025-04-01T12:20:22.282Z","updated_at":"2025-04-01T12:20:22.818Z","avatar_url":"https://github.com/wenyuzhao.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Agentia: Ergonomic LLM Agent Augmented with Tools\n\n\n## Getting Started\n\n```python\nfrom agentia import Agent\nfrom typing import Annotated\n\n# Define a tool as a python function\ndef get_weather(location: Annotated[str, \"The city name\"]):\n    \"\"\"Get the current weather in a given location\"\"\"\n    return { \"temperature\": 72 }\n\n# Create an agent\nagent = Agent(tools=[get_weather])\n\n# Run the agent with the tool\nresponse = await agent.chat_completion(\"What is the weather like in boston?\")\n\nprint(response)\n\n# Output: The current temperature in Boston is 72°F.\n```\n\n## Create an Agent from a Config File\n\n1. Create a config file at `./alice.yml`\n\n```yaml\nname: Alice\nicon: 👩\ninstructions: You are a helpful assistant\ntools:\n  clock:\n  calculator:\n  # ... other tools\n```\n\n2. In your python code:\n\n```python\nagent = Agent.load_from_config(\"./alice.yml\")\n```\n\n3. Alternatively, start a REPL:\n\n```bash\npipx install agentia\nagentia repl alice\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwenyuzhao%2Fagentia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwenyuzhao%2Fagentia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwenyuzhao%2Fagentia/lists"}