Skip to main content

Eval Agents (AgentLab)

A modular, composable framework for building, evaluating, and comparing LLM-powered agents.

You write the agent logic. The framework provides the LLMs, embeddings, and vector stores, and automatically runs the combinatorial experiments to find the best stack.

Installation

pip install eval-agents

(Note: While the package is published on PyPI as eval-agents, you import it as agentlab in your code).

The Magic of AgentLab

The beauty of this framework is that you only write your agent logic. You don't need to write LLM integrations or hardcode API keys. AgentLab provides a built-in catalogue of OpenAI, Anthropic, Google, and local models.

1. Write your agent (my_project.py)

from agentlab import agent

@agent(name="My Planner")
class PlannerAgent:
    def __init__(self, llm, embedding=None, vectorstore=None, reranker=None):
        # The framework will automatically inject the real implementations here!
        self.llm         = llm          
        self.embedding   = embedding    
        self.vectorstore = vectorstore  
        self.reranker    = reranker     

    def run(self, query: str) -> str:
        # Just use the injected LLM — you don't need to know if it's GPT-4o or Claude!
        return self.llm.generate(f"Plan this task: {query}")

2. Launch the UI (Coming Soon)

agentlab start --app my_project.py

3. Run Experiments!

The UI will automatically discover your @agent classes.

  1. Select your agent: ☑ My Planner
  2. Select LLMs to test: ☑ GPT-4o ☑ Claude Sonnet ☑ Gemini 2.5 Pro
  3. Enter your API keys in the secure UI settings.
  4. Click Run!

The framework will execute every combination and show you a dashboard comparing latency, token costs, and response quality.

Package Structure (Internal)

If you are contributing to AgentLab, the internal structure looks like this:

Sub-package Responsibility
agentlab Top-level exports (only the @agent decorator)
agentlab.llm Built-in LLM catalogue (OpenAI, Anthropic, Google)
agentlab.embedding Built-in Embedding catalogue
agentlab.vectorstore Built-in Vector stores (FAISS, Pinecone, Chroma)
agentlab.reranker Built-in Rerankers (Cohere API, CrossEncoder)
agentlab.agents The agent registry
agentlab.execution The combinatorial experiment engine

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eval_agents-0.1.1.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eval_agents-0.1.1-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file eval_agents-0.1.1.tar.gz.

File metadata

  • Download URL: eval_agents-0.1.1.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for eval_agents-0.1.1.tar.gz
Algorithm Hash digest
SHA256 be584b0cb5ae59fc6f16e3d756770368b712a5cec1eb4067292261e00f84b8e9
MD5 1164a242c64866d051ddb0b0725ba85d
BLAKE2b-256 272b415036aa64bfc8ae8256a00990f99600fecc91e6d45b7f92562666767d75

See more details on using hashes here.

File details

Details for the file eval_agents-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: eval_agents-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for eval_agents-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34947d0d685b1e978fa330ac2f40750ff7c5d1108b9e2e7e3ed90aab548a2b90
MD5 034c6b5b034f4433c19b726ac1a8d75a
BLAKE2b-256 5fbd466dc5a5e7f3631b07740983dc9d1a9fd627dc5a442764f175aa515b121f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page