agents 2.0.0 copy "agents: ^2.0.0" to clipboard
agents: ^2.0.0 copied to clipboard

Dart port of the Microsoft Agents AI framework. Build, compose, and orchestrate AI agents backed by any ChatClient — with sessions, streaming, tool use, compaction, evaluation, and middleware pipelines.

70/ 160
pub points
377
downloads

We analyzed this package 45 hours ago, and awarded it 70 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

2840 out of 3286 API elements (86.4 %) have documentation comments.

Some symbols that are missing documentation: agents, agents.A2AAgentSession.debuggerDisplay, agents.A2AServerRegistrationOptions.A2AServerRegistrationOptions.new, agents.AIAgent.AIAgent.new, agents.AIAgent.debuggerDisplay.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 22 issues. Showing the first 2:

ERROR: The property 'isEmpty' can't be unconditionally accessed because the receiver can be 'null'.

lib/src/a2a/extensions/a2a_ai_content_extensions.dart:51:34

   ╷
51 │         mediaType: file.mimeType.isEmpty
   │                                  ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/a2a/extensions/a2a_ai_content_extensions.dart

ERROR: The property 'isEmpty' can't be unconditionally accessed because the receiver can be 'null'.

lib/src/a2a/extensions/a2a_ai_content_extensions.dart:54:25

   ╷
54 │         name: file.name.isEmpty ? null : file.name,
   │                         ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/a2a/extensions/a2a_ai_content_extensions.dart

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Partially passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
a2a ^4.2.0 4.3.1 4.3.1
anthropic_sdk_dart ^6.0.0 6.0.0 7.0.0
archive ^4.0.9 4.1.0 4.1.0
clock ^1.1.1 1.1.2 1.1.2
extensions ^0.6.0 0.6.0 0.7.1
file ^7.0.1 7.0.1 7.0.1
http ^1.6.0 1.6.0 1.6.0
mcp_dart ^2.2.1 2.4.1 2.4.1
opentelemetry ^0.18.10 0.18.11 0.18.11
path ^1.9.0 1.9.1 1.9.1
pool ^1.5.1 1.5.2 1.5.2
shelf ^1.4.0 1.4.2 1.4.2
shelf_router ^1.1.0 1.1.4 1.1.4
Transitive dependencies
Package Constraint Compatible Latest Notes
antlr4 - 4.13.2 4.13.2
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
block - 1.3.0 1.3.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
colorize - 3.0.0 3.0.0
cross_file - 0.3.5+4 0.3.5+4
crypto - 3.0.7 3.0.7
darto - 1.3.0 1.3.0
decimal - 3.2.6 3.2.6
dotprompt - 0.0.1 0.0.1
email_validator - 3.0.0 3.0.0
events_emitter - 0.6.0 0.6.0
ffi - 2.2.0 2.2.0
fixnum - 1.1.1 1.1.1
genai_primitives - 0.2.4 0.2.4
genkit - 0.14.1 0.15.1
glob - 2.1.3 2.1.3
handlebars_dart - 0.0.1 0.0.1
ht - 0.3.2 0.6.0
http_methods - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
intl - 0.20.3 0.20.3
json_annotation - 4.12.0 4.12.0
json_schema_builder - 0.1.6 0.1.6
logging - 1.3.0 1.3.0
matcher - 0.12.20 0.12.20
meta - 1.19.0 1.19.0
mime - 2.0.0 2.0.0
ocookie - 0.2.0 0.3.0
oxy - 0.2.2 0.6.0
petitparser - 7.0.2 7.0.2
posix - 6.5.2 6.5.2
protobuf - 6.0.0 6.0.0
quiver - 3.2.2 3.2.2
rational - 2.2.3 2.2.3
rxdart - 0.28.0 0.28.0
schemantic - 0.2.2 0.2.2
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.13 0.7.13
typed_data - 1.4.0 1.4.0
universal_platform - 1.1.0 1.1.0
uuid - 4.6.0 4.6.0
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
xml - 6.6.1 7.0.1
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^6.0.0` on anthropic_sdk_dart does not support the stable version `7.0.0`, that was published 17 days ago.

When anthropic_sdk_dart is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions anthropic_sdk_dart to update the constraint.

The constraint `^0.6.0` on extensions does not support the stable version `0.7.0`, that was published 14 days ago.

When extensions is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions extensions to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.18, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
70
points
377
downloads

Documentation

API reference

Publisher

verified publisherjamiewest.dev

Weekly Downloads

Dart port of the Microsoft Agents AI framework. Build, compose, and orchestrate AI agents backed by any ChatClient — with sessions, streaming, tool use, compaction, evaluation, and middleware pipelines.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

a2a, anthropic_sdk_dart, archive, clock, extensions, file, http, mcp_dart, opentelemetry, path, pool, shelf, shelf_router

More

Packages that depend on agents