Skip to main content

Client configuration for AgentCI

Project description

AgentCI Client Config

Define evaluations and framework configurations for AI agent applications using simple TOML files.

📚 Full Documentation | 🚀 Getting Started | 📖 TOML Schema Guides

What is This?

AgentCI Client Config provides a TOML-based configuration format for:

  • Evaluations: Test cases for AI agents and tools with support for accuracy, performance, consistency, and safety testing
  • Framework Configurations: Patterns for discovering agents and tools in popular AI frameworks (LangChain, LlamaIndex, Pydantic AI, OpenAI, Google ADK, Agno)

Quick Example

Create evaluation configs in .agentci/evals/:

# .agentci/evals/test_accuracy.toml
[eval]
description = "Test that the agent responds with correct information"
type = "accuracy"

[eval.targets]
agents = ["my_agent"]

[[eval.cases]]
prompt = "What is the capital of France?"
expected.exact = "Paris"

Create framework configs in .agentci/frameworks/:

# .agentci/frameworks/my_framework.toml
[framework]
name = "my-framework"
dependencies = ["my-framework"]

[[agents]]
path = "my_framework.Agent"
args.model = "llm"
args.prompt = "system_prompt"
execution.method = "run"
execution.args.prompt = "user_input"

Installation

pip install agentci-client-config

Documentation

For complete TOML schema documentation and guides:

Features

Evaluations

  • Six evaluation types: accuracy, performance, consistency, safety, llm, custom
  • Flexible matching: exact, contains, regex, semantic similarity
  • Schema validation: Validate structured JSON outputs
  • Tool call validation: Verify correct tool usage
  • Multiple iterations: Run tests multiple times for consistency

Frameworks

  • Built-in support: LangChain, LlamaIndex, Pydantic AI, OpenAI Agents, Google ADK, Agno
  • Custom frameworks: Define your own discovery patterns
  • Agent discovery: Map framework parameters to standard fields
  • Tool discovery: Configure tool types (decorator, function, class, constructor)
  • Execution config: Define how to run agents and tools

Directory Structure

your-project/
├── .agentci/
│   ├── evals/              # Evaluation configurations
│   │   ├── accuracy.toml
│   │   ├── performance.toml
│   │   └── safety.toml
│   └── frameworks/         # Framework configurations (optional)
│       └── custom.toml
├── src/
└── tests/

License

MIT

Project details


Download files

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

Source Distribution

agentci_client_config-0.1.3.tar.gz (105.6 kB view details)

Uploaded Source

Built Distribution

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

agentci_client_config-0.1.3-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file agentci_client_config-0.1.3.tar.gz.

File metadata

File hashes

Hashes for agentci_client_config-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7ede686c7cc6e4545c8a86b8f60c679cce836f5b47cf0516ef6cf7ca2b01394a
MD5 16008d95ad678cc1b90824eb0d2583a5
BLAKE2b-256 9e937d88b9c8f8c807d815a8f9aae4711e67b12af02b069080a578ba8c15e677

See more details on using hashes here.

File details

Details for the file agentci_client_config-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for agentci_client_config-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3f5201e9cbfce69d656eaf928d5801be7b210d8e8f27a253a689a185568d46b4
MD5 c6c0b9e0f829b452479e3e50a446a1be
BLAKE2b-256 49388f05efce1165cb13c2a12080f7c43046e6667224f2d112472ce5438bea16

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 Pingdom Monitoring Sentry Error logging StatusPage Status page