mrkeyoor.comAsk

andrewyng/aisuitetested 12 Oct 2026commit 66c7890

aisuite review

Trial aisuite when your Python application needs provider switching or its documented agent controls.

  • Install 66 s
  • Build 5 s
435/478passed, run exited non-zero
  • 141 packages
LLM Toolsevaluationupdated 31 Oct 2026
+12stars / 7d

Choose aisuite if your Python application needs one chat interface across several LLM providers and you can test the models you intend to ship. aisuite combines a unified Chat Completions API with an Agents API for tools and toolkits. Our run on October 12, 2026, at commit 66c7890 installed and built successfully, but the test command failed; it did not establish working authenticated provider calls.

Verdict

Trial aisuite when your Python application needs provider switching or its documented agent controls. Our October 12, 2026 run at commit 66c7890 installed and built successfully, but missing credentials, async test execution messages and MCP assertion failures leave important behavior unverified. Resolve those failures and test your actual model and tool path before adoption. Evaluate LiteLLM for a centralized gateway, Pydantic AI for typed agent contracts or OpenAI Python for direct OpenAI API access.

We ran it

Lab card: what happened when we ran aisuite
Lab card from our sandbox run
Screenshot of aisuite (github.com/andrewyng/aisuite)
github.com/andrewyng/aisuite
Install✓ · 66s141 packages · 523 MB
Build✓ · 5s
Tests✗ · 43s435 passed · 43 failed · 47 skipped of 478 (pytest)
Known vulns2(pip-audit)
Repo747 files~115,616 lines of source · 7 MB · 2 CI workflows · tests dir

Answers from our run

Does aisuite build from source?

Dependencies installed in 66 seconds (141 packages), and the build succeeded in 5 seconds. We cloned commit 66c7890 into a clean Debian container with 3 CPUs and no project-specific setup.

Do aisuite's tests pass?

No. The project's own test command finished in 43 seconds and reported 435 passed, 43 failed, 47 skipped (pytest).

Does aisuite have known vulnerabilities in its dependencies?

pip-audit flagged 2 known advisories in the dependency tree at the time of our run.

Who should not use aisuite?

Applications requiring streaming and automatic tool execution through max_turns in the same call.

What are the alternatives to aisuite?

LiteLLM, Pydantic AI, OpenAI Python. Trial aisuite when your Python application needs provider switching or its documented agent controls.

Setup3/5On the visible 1 to 5 rubric, installation and build succeeded, but the test command exited 1 and important execution paths remain unverified.
Docs4/5On the visible rubric, the README gives concrete installation, chat, streaming and agent examples, including the streaming/max_turns limitation; examples were not all validated.
Community4/5Assesses visible attention and contribution evidence only: 16,366 stars, a September 18, 2026 push and multiple release contributors. Adoption and support responsiveness remain unknown.
Maturity3/5On the visible rubric, documented provider and agent capabilities are offset by unresolved credential-dependent tests, async execution messages and MCP assertion failures in our run.

Discussed on

  1. hnAndrew Ng ships Open CoWorker desktop AI agent5 points
  2. hnAisuite – Simple, unified interface to multiple Generative AI providers4 points

Who it’s for

Python developers comparing several model providers through a common chat interface.
Teams building agents with Python functions, tool policies, saved state or MCP tools.
Applications whose maintainers can verify streaming and tool behavior for each chosen provider and model.

Who it’s NOT for

Applications requiring streaming and automatic tool execution through max_turns in the same call.
Teams seeking evidence here that authenticated provider calls, local inference or a deployed agent workload worked.
Users looking for the OpenWorker desktop application: its development has moved to a separate repository.

Setup reality

Our run on October 12, 2026, at commit 66c7890 installed aisuite in 66 seconds. The attached harness records 141 installed packages and a 523 MB footprint. The build step returned exit code 0 after 5 seconds; the test step returned exit code 1 after 43 seconds. Neither step timed out.

The stored parser summaries report 435 passed, 43 failed, 47 skipped and zero errors, with a stored total of 478. These summaries do not establish exhaustive unique test coverage. Skipped tests are separate from failures. The raw test footer reports 34.03 seconds for pytest, while 43 seconds is the harness wall-clock duration for the test step.

The raw tail includes missing provider credentials, unsupported async test execution and two MCP assertion failures. Pip-audit recorded 2 advisories associated with 1 package. Scan coverage is unknown because scannedPackages is absent; this is not a security assessment.

The sandbox used 3 CPUs, 8 GB RAM and the Python 3.12 Bookworm image. Provider SDK extras and credentials remain application setup requirements. A successful install and build do not verify an authenticated model request, local Ollama inference, MCP tool execution or deployment.

Should you use aisuite?

Use aisuite when provider switching is a requirement you will maintain and test. Its common chat interface can reduce changes at call sites, while its agent layer adds tool execution and policies. The decision depends on whether those abstractions fit your application, because our sandbox did not verify equivalent behavior across providers.

Our run on October 12, 2026, at commit 66c7890 installed aisuite in 66 seconds. Installation brought 141 packages and a 523 MB footprint. The build step succeeded, but the test command failed. Those observations support a trial with further verification, rather than a claim that the documented workflows worked in our sandbox.

What the failed test command tells you

The attached stored parser summaries report 435 passed, 43 failed, 47 skipped and zero errors, with a stored total of 478. Treat these as recorded summaries, not a verified inventory of unique tests or exhaustive coverage. We performed no new execution or complete-log reconciliation for this correction.

The raw tail shows several kinds of failure. Prerelease chat and speech tests report missing API keys or required Google environment variables. Async streaming, provider and tool tests report that async def functions are not natively supported. Separately, tests/mcp/test_e2e.py::TestMCPErrorHandling::test_invalid_mcp_config_raises_error and tests/mcp/test_http_transport.py::TestHTTPTransportBasics::test_http_client_validation_errors fail because a regex pattern did not match. The tail does not establish the cause of those assertion mismatches or explain why async test support was unavailable.

These failures cannot all be described as async implementation defects. Missing credentials prevent the affected tests from establishing authenticated provider behavior. The async runner messages leave those execution paths unresolved. The MCP assertion failures need their own investigation rather than being folded into either explanation.

Our harness records each step's outcome, exit code, elapsed time and timeout status, alongside parsed test counts and retained log tails. Here, the test step took 43 seconds and exited 1 without timing out; pytest's raw footer reports 34.03 seconds and 27 warnings. The two durations describe different scopes. The current MrKeyoor testing methodology explains this reporting approach and its limits; it does not establish which methodology revision governed the October 12 run.

Where the common interface stops

The README at the tested commit documents provider selection through a provider:model string, optional provider SDKs and provider credentials. aisuite combines a unified Chat Completions API with an Agents API for tools and toolkits. The agent documentation describes Python functions as tools, approval policies, state stores, tracing and MCP connections. These are documented capabilities, not completed workloads from our run.

Streaming tool calls require manual assembly and execution and cannot be combined with max_turns. The README documents streaming for OpenAI, Anthropic, Ollama and OpenAI-compatible endpoints. If your application needs streaming tools, plan the manual loop explicitly. If it needs automatic tool execution, test the non-streaming max_turns path with the exact provider and model you intend to use.

Before adopting aisuite, reproduce the failing tests with the intended async test support and credentials. Then verify a minimal application path: a model response, the stream behavior you use and a tool call with the expected arguments and result. Our run supplies no runtime throughput benchmark, deployment result or evidence that a local model or MCP server completed such a workload.

Choose alternatives by the layer you need

LiteLLM supports direct Python SDK integration and a centralized AI Gateway. Consider it when the requirement is a shared service for model access and provider controls. That gateway role differs from choosing an in-process agent API; this review does not establish interoperability between the two projects.

Pydantic AI documents structured outputs, typed dependency injection and typed tools. Evaluate it as an alternative agent framework when those contracts are central to the application. Its supplied documentation establishes that role, but our aisuite run provides no comparative reliability or performance result.

OpenAI Python provides access to the OpenAI REST API and identifies Responses as its primary model API. For an application committed to OpenAI, evaluate that direct client before adding a provider abstraction. This is a choice about API scope, not a measured claim that one library is faster or more reliable.

How to read the ratings

Ratings use a 1 to 5 rubric: 1 means substantial observed obstacles, 2 means major gaps, 3 means usable evidence with unresolved limitations, 4 means strong evidence within the dimension's stated scope, and 5 requires broad corroboration. These are editorial assessments, not benchmark scores.

Setup ease is 3 because installation and the build step succeeded while tests remained unresolved. Documentation is 4 because the README explains installation, provider selection, streaming boundaries and agent controls with examples; we did not validate every example. Community is 4 for visible attention and contribution evidence: the supplied repository snapshot records 16,366 stars and a September 18, 2026 push, while the release page lists multiple contributors. That score does not measure adoption, support response time or maintainer capacity. Maturity is 3 because the documented scope is substantial but our run leaves credentials, async execution and MCP assertions unresolved.

Pip-audit's 2 recorded advisories associated with 1 package require inspection before deployment. The evidence does not identify the advisories, affected versions or fixes, and it does not report scan coverage. Neither the audit total nor the passing tests establish security.

Alternatives

ProjectWhat it isPick it when
LiteLLM gh↗A Python SDK and centralized AI Gateway for model access.Choose it when a shared gateway and centralized provider controls are the requirement; do not assume this replaces every aisuite agent feature.
Pydantic AI gh↗A Python agent SDK with structured outputs, typed dependencies and typed tools.Evaluate it as an alternative agent framework when validated outputs and typed application contracts drive the design.
OpenAI Python gh↗A Python client for the OpenAI REST API, with Responses identified as its primary model API.Choose it for direct OpenAI API access when your application does not require a common interface across providers.

What people are saying

  1. [github-trending] andrewyng/aisuite

Sources

  1. aisuite README
  2. aisuite repository facts
  3. aisuite latest release
  4. Issue 369: Groq and Ollama tool calling

More llm tools reviews