AskTheApi Team Builder

by AskTheApi

1 637 downloads Not rated yet MIT license

About

Agent network builder for communicating with openapi apis. Based in autogen

Details

License
MIT license

Explore

- 🚀 Effortless Agent Network Creation: Quickly build agent networks with custom tools and capabilities based on OpenAPI specifications.

- 🤝 Team-Based Collaboration: Easily define agent teams with automatic coordination handled by a built-in planning agent.

- 📡 Streaming Interactions: Stream agent communication in real-time for more dynamic and responsive workflows.

- 🔧 Built-in HTTP Client: Simplify tool implementation with an integrated HTTP client ready to call external APIs.

- ✨ Type Safety with Pydantic: Leverage Pydantic models for robust data validation and clear type definitions.

- 🎯 Clean and Intuitive API: Designed for developers—minimal boilerplate, maximum clarity.

pip install asktheapi-team-builder
async def main():

You can configure the team builder with custom headers and model settings:

python
team_builder = TeamBuilder(
model="gpt-4",
model_config={
"temperature": 0.7,
"default_headers": {
"Authorization": "Bearer your-token",
"Custom-Header": "custom-value"
}
}
)

mcp_config = MCPConfig(
transport="sse", # Server-Sent Events transport
port=8000, # Port to run the MCP server
name="asktheapi_mcp" # Service name
)

```bash

pip install -e ".[dev]"

PyPI version
License: MIT
Python Versions

A high-level Python library for building and managing networks of autonomous agents that collaborate to solve complex tasks. It's designed to work seamlessly with APIs defined using the OpenAPI standard. The library provides a clean, type-safe interface for creating, configuring, and running teams of agents, making it easy to orchestrate multi-agent workflows with minimal boilerplate.

Features

- 🚀 Effortless Agent Network Creation: Quickly build agent networks with custom tools and capabilities based on OpenAPI specifications.

- 🤝 Team-Based Collaboration: Easily define agent teams with automatic coordination handled by a built-in planning agent.

- 📡 Streaming Interactions: Stream agent communication in real-time for more dynamic and responsive workflows.

- 🔧 Built-in HTTP Client: Simplify tool implementation with an integrated HTTP client ready to call external APIs.

- ✨ Type Safety with Pydantic: Leverage Pydantic models for robust data validation and clear type definitions.

- 🎯 Clean and Intuitive API: Designed for developers—minimal boilerplate, maximum clarity.

Installation

pip install asktheapi-team-builder

Quick Start

Here's how to use the package:

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.