{"id":13861754,"url":"https://github.com/BeastByteAI/agent_dingo","last_synced_at":"2025-07-14T09:33:28.980Z","repository":{"id":190034765,"uuid":"657570649","full_name":"BeastByteAI/agent_dingo","owner":"BeastByteAI","description":"A microframework for creating simple AI agents.","archived":false,"fork":false,"pushed_at":"2024-08-01T02:03:08.000Z","size":676,"stargazers_count":79,"open_issues_count":6,"forks_count":11,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-08-05T06:03:57.192Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://beastbyte.ai/","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/BeastByteAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-23T10:59:48.000Z","updated_at":"2024-08-02T08:58:00.000Z","dependencies_parsed_at":"2024-01-09T08:53:13.955Z","dependency_job_id":"e03857c0-2d1e-4cf0-b289-6e2a6cb2088e","html_url":"https://github.com/BeastByteAI/agent_dingo","commit_stats":null,"previous_names":["beastbyteai/agent_dingo","okua1/agent_dingo"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeastByteAI%2Fagent_dingo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeastByteAI%2Fagent_dingo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeastByteAI%2Fagent_dingo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeastByteAI%2Fagent_dingo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BeastByteAI","download_url":"https://codeload.github.com/BeastByteAI/agent_dingo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225968877,"owners_count":17553151,"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":[],"created_at":"2024-08-05T06:01:29.484Z","updated_at":"2024-11-22T21:31:05.627Z","avatar_url":"https://github.com/BeastByteAI.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n \u003cimg src=\"https://gist.githubusercontent.com/OKUA1/55e2fb9dd55673ec05281e0247de6202/raw/41063fcd620d9091662fc6473f9331a7651b4465/dingo.svg\" alt=\"AgentDingo\" width=\"250\" height = \"250\"\u003e\n  \u003cbr\u003e\n  Agent Dingo\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eA microframework for building LLM-powered pipelines and agents.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/OKUA1/agent_dingo/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/OKUA1/agent_dingo.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://discord.gg/YDAbwuWK7V\"\u003e\n    \u003cimg src=\"https://dcbadge.vercel.app/api/server/YDAbwuWK7V?compact=true\u0026style=flat\"\u003e\n  \u003c/a\u003e\n    \u003ca href=\"https://medium.com/@iryna230520\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Medium-%23000000.svg?\u0026style=flat\u0026logo=Medium\u0026logoColor=white\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n_Dingo_ is a compact LLM orchestration framework designed for straightforward development of production-ready LLM-powered applications. It combines simplicity with flexibility, allowing for the efficient construction of pipelines and agents, while maintaining a high level of control over the process.\n\n\n## Support us 🤝\n\nYou can support the project in the following ways:\n\n- ⭐ Star Dingo on GitHub (click the star button in the top right corner)\n- 💡 Provide your feedback or propose ideas in the [issues](https://github.com/BeastByteAI/agent_dingo/issues) section or [Discord](https://discord.gg/YDAbwuWK7V)\n- 📰 Post about Dingo on LinkedIn or other platforms\n- 🔗 Check out our other projects: \u003ca href=\"https://github.com/iryna-kondr/scikit-llm\"\u003eScikit-LLM\u003c/a\u003e, \u003ca href=\"https://github.com/beastbyteai/falcon\"\u003eFalcon\u003c/a\u003e\n\n\u003cbr\u003e\n\u003ca href=\"https://github.com/iryna-kondr/scikit-llm\"\u003e\n  \u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://gist.githubusercontent.com/OKUA1/ce2167df8e441ce34a9fbc8578b86543/raw/f740c391ec37eaf2f80d5b46f1fa2a989dd45932/skll_h_dark.svg\" \u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://gist.githubusercontent.com/OKUA1/ce2167df8e441ce34a9fbc8578b86543/raw/f740c391ec37eaf2f80d5b46f1fa2a989dd45932/skllm_h_light.svg\"\u003e\n  \u003cimg alt=\"Logo\" src=\"https://gist.githubusercontent.com/OKUA1/ce2167df8e441ce34a9fbc8578b86543/raw/f740c391ec37eaf2f80d5b46f1fa2a989dd45932/skll_h_dark.svg\" height = \"65\"\u003e\n\u003c/picture\u003e\n\u003c/a\u003e \u003cbr\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/OKUA1/falcon\"\u003e\n  \u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://gist.githubusercontent.com/OKUA1/ce2167df8e441ce34a9fbc8578b86543/raw/f740c391ec37eaf2f80d5b46f1fa2a989dd45932/falcon_h_dark.svg\" \u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://gist.githubusercontent.com/OKUA1/ce2167df8e441ce34a9fbc8578b86543/raw/f740c391ec37eaf2f80d5b46f1fa2a989dd45932/falcon_h_light.svg\"\u003e\n  \u003cimg alt=\"Logo\" src=\"https://gist.githubusercontent.com/OKUA1/ce2167df8e441ce34a9fbc8578b86543/raw/f740c391ec37eaf2f80d5b46f1fa2a989dd45932/dingo_h_dark.svg\" height = \"65\"\u003e\n\u003c/picture\u003e\n\u003c/a\u003e\n\n\n## Quick Start \u0026 Documentation 🚀\n\n**Step 1:** Install `agent-dingo`\n\n```bash\npip install agent-dingo\n```\n\n**Step 2:** Configure your OpenAI API key\n\n```bash\nexport OPENAI_API_KEY=\u003cYOUR_KEY\u003e\n```\n\n**Step 3:** Build your pipeline\n\nExample 1 (Linear Pipeline):\n\n````python\nfrom agent_dingo.llm.openai import OpenAI\nfrom agent_dingo.core.blocks import PromptBuilder\nfrom agent_dingo.core.message import UserMessage\nfrom agent_dingo.core.state import ChatPrompt\n\n\n# Model\ngpt = OpenAI(\"gpt-3.5-turbo\")\n\n# Summary prompt block\nsummary_pb = PromptBuilder(\n    [UserMessage(\"Summarize the text in 10 words: ```{text}```.\")]\n)\n\n# Translation prompt block\ntranslation_pb = PromptBuilder(\n    [UserMessage(\"Translate the text into {language}: ```{summarized_text}```.\")],\n    from_state=[\"summarized_text\"],\n)\n\n# Pipeline\npipeline = summary_pb \u003e\u003e gpt \u003e\u003e translation_pb \u003e\u003e gpt\n\ninput_text = \"\"\"\nDingo is an ancient lineage of dog found in Australia, exhibiting a lean and sturdy physique adapted for speed and endurance, dingoes feature a wedge-shaped skull and come in colorations like light ginger, black and tan, or creamy white. They share a close genetic relationship with the New Guinea singing dog, diverging early from the domestic dog lineage. Dingoes typically form packs composed of a mated pair and their offspring, indicating social structures that have persisted through their history, dating back approximately 3,500 years in Australia.\n\"\"\"\n\noutput = pipeline.run(text = input_text, language = \"french\")\nprint(output)\n````\n\nExample 2 (Agent):\n\n```python\nfrom agent_dingo.agent import Agent\nfrom agent_dingo.llm.openai import OpenAI\nimport requests\n\nllm = OpenAI(model=\"gpt-3.5-turbo\")\nagent = Agent(llm, max_function_calls=3)\n\n@agent.function\ndef get_temperature(city: str) -\u003e str:\n    \"\"\"Retrieves the current temperature in a city.\n\n    Parameters\n    ----------\n    city : str\n        The city to get the temperature for.\n\n    Returns\n    -------\n    str\n        String representation of the json response from the weather api.\n    \"\"\"\n    base_url = \"https://api.openweathermap.org/data/2.5/weather\"\n    params = {\n        \"q\": city,\n        \"appid\": \"\u003copenweathermap_api_key\u003e\",\n        \"units\": \"metric\"\n    }\n    response = requests.get(base_url, params=params)\n    data = response.json()\n    return str(data)\n\npipeline = agent.as_pipeline()\n```\n\nFor a more detailed overview and additional examples, please refer to the **[documentation](https://dingo.beastbyte.ai/)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBeastByteAI%2Fagent_dingo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBeastByteAI%2Fagent_dingo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBeastByteAI%2Fagent_dingo/lists"}