# BuilderIO/micro-agent

An AI agent that writes (actually useful) code for you

Repository: https://github.com/BuilderIO/micro-agent
Canonical: https://ross.abutalabs.com/products/micro-agent
Homepage: https://www.builder.io/blog/micro-agent
Language: TypeScript
License: MIT
License Family: permissive
Topics: agent, ai, figma, javascript, react, typescript
Last push: 2024-11-14T17:27:03+00:00

## Health v2 (maintenance only)
Score: 24/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 59
- inputs: {"age_days": 832, "days_push": 657, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4328, forks 380 (observed 2026-08-28T04:08:45.929519+00:00)

## What it is
Micro Agent is an open-source CLI AI agent that generates unit tests from a natural language prompt and then iterates on code until all tests pass. It is deliberately scoped to a single focused task rather than acting as a full end-to-end coding agent.

## Use cases
- generate code that passes unit tests from a prompt
- fix broken AI-generated code automatically
- write tests first and let AI make them pass
- iterate on a function until test cases succeed
- use Claude, OpenAI, Ollama, or Groq to generate code

## When to choose
- you want a small, focused AI coding agent with deterministic test-based feedback
- you are tired of manually fixing LLM-generated code
- you want test-driven development assisted by AI
- you prefer a CLI tool that works with multiple LLM providers

## When to avoid
- you need an end-to-end agent that installs modules or edits many files
- you need multi-file refactoring or project-wide changes
- your task cannot be expressed as a unit test

## Facets
- artifact type: cli-tool
- maturity: active
- function: agent-framework, llm-inference, testing, developer-tools
- domain: developer-tools, artificial-intelligence, testing
- platform: cli, cross-platform
- tags: ai-coding-agent, test-driven-development, code-generation, unit-tests, llm, ai-agents, nodejs

## Member repositories
- BuilderIO/micro-agent (main) score 24

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:45.929519+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:21:41.198899+00:00, confidence not recorded.
  - readme: https://github.com/BuilderIO/micro-agent (fetched 2026-08-28T04:08:45.929519+00:00, sha b8e88108d1b0)
  - homepage: https://www.builder.io/blog/micro-agent (fetched 2026-08-29T09:10:53.423066+00:00, sha e93a352e9df2)
  - site_page: https://www.builder.io/m/about-us (fetched 2026-08-29T09:10:53.452045+00:00, sha 686c281d03b7)
  - site_page: https://www.builder.io/c/docs/developers (fetched 2026-08-29T09:10:53.453722+00:00, sha 022ab31d9089)
  - site_page: https://www.builder.io/c/docs/get-started-fusion (fetched 2026-08-29T09:10:53.455247+00:00, sha 5d532dc674a2)
  - site_page: https://www.builder.io/c/docs/get-started-publish (fetched 2026-08-29T09:10:53.457035+00:00, sha 736c3720b918)
  - site_page: https://www.builder.io/pricing (fetched 2026-08-29T09:10:53.445468+00:00, sha b7f071388110)
  - site_page: https://www.builder.io/integrations (fetched 2026-08-29T09:10:53.458755+00:00, sha e288e66e5b1e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
