{"id":49321898,"url":"https://github.com/microchipgnu/micro-agi","last_synced_at":"2026-04-26T18:02:21.160Z","repository":{"id":209368942,"uuid":"723867769","full_name":"microchipgnu/micro-agi","owner":"microchipgnu","description":"React-compatible Framework for AI Autonomous Agents","archived":false,"fork":false,"pushed_at":"2024-02-16T19:37:13.000Z","size":1760,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-02-16T20:35:54.268Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://agi.microchipgnu.pt","language":"TypeScript","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/microchipgnu.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}},"created_at":"2023-11-26T23:35:07.000Z","updated_at":"2024-02-16T07:14:30.000Z","dependencies_parsed_at":"2023-12-02T21:24:17.014Z","dependency_job_id":"55cc9789-b9e6-433b-a27f-7e3b39226095","html_url":"https://github.com/microchipgnu/micro-agi","commit_stats":null,"previous_names":["microchipgnu/micro-agi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/microchipgnu/micro-agi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microchipgnu%2Fmicro-agi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microchipgnu%2Fmicro-agi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microchipgnu%2Fmicro-agi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microchipgnu%2Fmicro-agi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microchipgnu","download_url":"https://codeload.github.com/microchipgnu/micro-agi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microchipgnu%2Fmicro-agi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32307016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T17:23:19.671Z","status":"ssl_error","status_checked_at":"2026-04-26T17:23:19.195Z","response_time":129,"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":"2026-04-26T18:02:20.512Z","updated_at":"2026-04-26T18:02:21.155Z","avatar_url":"https://github.com/microchipgnu.png","language":"TypeScript","funding_links":[],"categories":["Frameworks"],"sub_categories":[],"readme":"\u003cimg src=\"./assets/banner.png\"/\u003e\n\n---\n\n\n**micro-agi** is an innovative **[React-compatible](https://agi.microchipgnu.pt/getting-started/why-jsx) cross-platform framework designed for building and orchestrating role-player AI autonomous agents** that works both in server or client applications.\n\n\nWith `micro-agi`, you can create complex systems of AI agents that work together to accomplish tasks. Here's a simple example\n\n```jsx\n\u003cTeam\u003e\n  \u003cAgent role=\"designer\"\u003e\n    \u003cTask\u003eDesign landing page\u003c/Task\u003e\n  \u003c/Agent\u003e\n  \u003cAgent role=\"frontend developer\"\u003e\n    \u003cTask\u003eDevelop landing page with React and Tailwind\u003c/Task\u003e\n    \u003cTask\u003ePublish to GitHub\u003c/Task\u003e\n  \u003c/Agent\u003e\n\u003c/Team\u003e\n```\n\n## Getting Started\n\n### Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n1. [Bun](https://bun.sh)\n2. Basic understanding of JSX\n\n\n### Installation\n\nTo get started with `micro-agi`, you need to install the package in your project. \n\n```sh\nbun add micro-agi\n```\n\nmicro-agi works seamlessly with [AI.JSX](https://docs.ai-jsx.com), a framework for building AI applications using JavaScript and JSX. To take full advantage of micro-agi, make sure you have [AI.JSX](https://docs.ai-jsx.com) installed in your project.\n\n### Creating an AI Agent Team\n\nWith `micro-agi`, you can create a team of AI agents, each with specific roles and tasks. \n\nThe following example is taken from [micro-agi-starter](https://github.com/microchipgnu/micro-agi-starter) repo. Feel free to clone it and run it against [Ollama locally](https://agi.microchipgnu.pt/getting-started/providers#ollama).\n\nHere's a simple example to get you started:\n\n```jsx\n/** @jsxImportSource ai-jsx */\nimport * as AI from \"ai-jsx\";\nimport Agent from \"micro-agi/core/components/agent\";\nimport Task from \"micro-agi/core/components/task\";\nimport Team from \"micro-agi/core/components/team\";\n\nconst App = async ({ topic }: { topic: string }) =\u003e {\n  return (\n    \u003cTeam process=\"sequential\"\u003e\n      \u003cAgent\n        agentType=\"mrkl\"\n        role=\"Writer\"\n        goal=\"Write articles about a topic\"\n        backstory=\"You are a very experienced writer. You've written thousands of article in your career.\"\n        model=\"mistral\"\n        provider=\"ollama\"\n      \u003e\n        \u003cTask\n          onStart={async () =\u003e {\n            console.log(\"Started writing article about\", topic);\n          }}\n          onDone={async () =\u003e {\n            console.log(\"Done writing article about\", topic);\n          }}\n        \u003e\n          Write an article about {topic}. Your result in markdown format.\n        \u003c/Task\u003e\n      \u003c/Agent\u003e\n    \u003c/Team\u003e\n  );\n};\n\nconst renderContext = AI.createRenderContext();\nconst result = await renderContext.render(\u003cApp topic=\"Apple\" /\u003e);\nawait Bun.write(`./result.json`, result);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrochipgnu%2Fmicro-agi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrochipgnu%2Fmicro-agi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrochipgnu%2Fmicro-agi/lists"}