JevMade

Sign in
← Back to guides

JevMade field notes / Written guide

Add Jev decisions to an AG2 agent

AG2's documentation shows how its agent framework connects to Jev for questions with defined answer types rather than generated prose.

Original by AG2 maintainersIntegrations

Listen to this guide

JevMade’s plain-English explanation

0:00 /

Our summary

AG2 helps developers build AI agents: programs that use models to handle tasks. Its Jev connection answers questions with defined answer types rather than writing text. The documentation explains how to connect it so a program can use its decisions, while leaving text generation and tools to another model.

Developers add the optional TypeSafe package and a private access key that lets their program use the service. Answers can be true or false, a listed option, a yes probability from zero to one, or a numbered scale with two to ten levels, starting at zero. Other numeric formats are rejected.

This connection rejects unsupported features such as tools, streaming, files and media. It cannot return arbitrary collections of fields or generate prose. Defined answer types limit what can be returned, not whether a decision is correct. The documentation was inspected without installing the provider or calling its API.

Key takeaways

  1. The Jev connection is an optional AG2 package; requests need a private TypeSafe access key, which should not be shared publicly.
  2. Define the allowed answer type first; this connection is not a replacement for a model that writes text or uses tools.
  3. Use returned uncertainty information to inform your own checks, not as proof that an answer is correct.

This connection cannot use tools, send answers in pieces, process media, return arbitrary collections of fields, or write prose. Its numbered scales require an IntEnum with two to ten levels numbered from zero; ordinary integer answers are rejected. No installation or service requests were tested independently.

docs.ag2.ai

Read the original guide Opens the author’s site in a new tab.

Keep this for later

Sign in to bookmark experiments, guides and videos, and keep notes only you can see.

Continue to sign in

We’ll bring you back to this listing.