SDK for Identa - Agent Evaluation
Project description
Identa SDK 🚀
The user-facing toolkit for evaluating and migrating LLM-based agents. Identa provides framework shims for LangGraph and PydanticAI to enable multi-resolution tracing and performance tracking.
Getting Started
1. Installation
pip install identa-sdk
2. Basic Evaluation (LangGraph)
from identa.sdk import api
from identa.sdk.adapters.langgraph_adapter import LangGraphAdapter
# Set your workspace
api.set_workspace("travel_agent")
# Inspect your graph structure
structure = LangGraphAdapter.inspect(my_graph)
# Wrap for tracing
wrapped_agent = LangGraphAdapter.wrap_for_tracing(my_graph)
# Define a test suite
suite = [
{"input": {"query": "Fly to Paris"}, "expected": {"destination": "CDG"}}
]
# Run evaluation
with api.start_run("gpt-4-baseline") as run:
results = api.evaluate(
agent=wrapped_agent.invoke,
suite=suite,
metrics=["exact_match", "latency"],
resolution="node",
structure=structure
)
print(f"Success Rate: {results.aggregates[0].value}")
3. Usage with PydanticAI
from identa.sdk.adapters.pydantic_ai_adapter import PydanticAIAdapter
wrapped_agent = PydanticAIAdapter.wrap_for_tracing(my_agent)
# Evaluate similarly
api.evaluate(agent=wrapped_agent.run, suite=suite)
CLI
Identa comes with a CLI to manage your runs and view results.
# List all runs in a workspace
identa runs list --workspace travel_agent
# Show details of a specific run
identa runs show <run_id>
Framework Support
| Feature | LangGraph | PydanticAI |
|---|---|---|
| Boundary Eval | ✅ | ✅ |
| Node Tracing | ✅ | ✅ |
| Structural Inspection | ✅ | 🚧 |
| Model Migration | ✅ | 🚧 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file identa_sdk-0.1.0.tar.gz.
File metadata
- Download URL: identa_sdk-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adfad32a5dd778bdbd73655b9dc9b9d0bd072d0683761e5bbd4f2f0c78b64ebc
|
|
| MD5 |
9f5aef23ba06b010b3b3ba27ccd27dab
|
|
| BLAKE2b-256 |
6c54311b001d0763e0166a4651b61bf9513c835788db1e5a3efbfd80efc8105e
|
Provenance
The following attestation bundles were made for identa_sdk-0.1.0.tar.gz:
Publisher:
release.yml on Identa-agent/Identa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
identa_sdk-0.1.0.tar.gz -
Subject digest:
adfad32a5dd778bdbd73655b9dc9b9d0bd072d0683761e5bbd4f2f0c78b64ebc - Sigstore transparency entry: 1393623481
- Sigstore integration time:
-
Permalink:
Identa-agent/Identa@c15769511115f8e55164c5bc953eb19bb9b14c81 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Identa-agent
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c15769511115f8e55164c5bc953eb19bb9b14c81 -
Trigger Event:
push
-
Statement type:
File details
Details for the file identa_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: identa_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c64d9e2b245865a13f4b18b462be731724c0ebaec302495c5848a2ce84d00e1e
|
|
| MD5 |
ee1806cc952859b30b6e82e60a63a14c
|
|
| BLAKE2b-256 |
38c3e96c23bf750971737ad28302216afb04bafd58afb63cedd516a7815918de
|
Provenance
The following attestation bundles were made for identa_sdk-0.1.0-py3-none-any.whl:
Publisher:
release.yml on Identa-agent/Identa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
identa_sdk-0.1.0-py3-none-any.whl -
Subject digest:
c64d9e2b245865a13f4b18b462be731724c0ebaec302495c5848a2ce84d00e1e - Sigstore transparency entry: 1393623510
- Sigstore integration time:
-
Permalink:
Identa-agent/Identa@c15769511115f8e55164c5bc953eb19bb9b14c81 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Identa-agent
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c15769511115f8e55164c5bc953eb19bb9b14c81 -
Trigger Event:
push
-
Statement type: