Chainless is a lightweight, modular framework to build task-oriented AI agents and orchestrate them in intelligent flows.
Design lightweight agents that use tools or reason directly and compose complex logic without over-engineering.
Connect agents in flexible sequences or parallel blocks to build entire pipelines by describing the data flow.
Define your own tools using pure Python, which Chainless automatically wraps with metadata for agent usage.
Fully control how an agent executes by injecting prompts, chaining models, or pre/post-processing using decorators.
Keep it local with no required runtime or cloud service, ensuring no lock-in.
Bring your own model from various sources like OpenAI or others, with full compatibility.
Allows you to wrap functionalities in structured tools that agents can use within their tasks.
Enables the creation of smart assistants that can utilize tools and interact with language models.
Facilitates running agents in a sequence, passing inputs and outputs throughout the pipeline.
Easily install the Chainless library using the pip command without any hassle.
Effortlessly update to the latest version of Chainless if you already have it installed.
Confirm that Chainless is installed correctly with a simple pip command.
Follow an easy step-by-step guide to define your first Agent and run it within a TaskFlow.
Supports various LLM providers like OpenAI's GPT-4 for creating intelligent agents.
Defines callable tool functions that agents can use to perform specific actions, like web searches.
Easily create agents that can handle tasks using predefined tools and respond to input.
Coordinates multiple agents in structured workflows for complex, multi-step tasks.
Facilitates the execution of multiple AI agents in a controlled sequence or in parallel.
Allows outputs from prior steps to be referenced as inputs for subsequent steps.
Enables the setting of retry mechanisms for each step or globally to ensure resilience.
Tracks and returns structured results from executed tasks.
Permits defining functions to be called upon completion of each step.
Allows developers to create task-specific agents that are modular and encapsulate responsibilities.
Enables overriding default agent behavior with custom logic using decorators.
Supports dynamic system prompts through decorator functionalities.
Integrates tools directly within agent workflows for enhanced functionality.
Facilitates orchestration of multiple agents into a cohesive TaskFlow for complex tasks.
Ensures that input data is validated before execution using Pydantic schemas.
Allows for safe execution of both synchronous and asynchronous functions.
Generates metadata for prompt or UI integration to provide structured descriptions.
Converts tools to LangChain structured tools for seamless integration with agents.
Raises detailed errors for invalid input during function execution.
Define various types of agents, such as class-based or decorator-based, for flexible automation.
Utilize tools to fetch content from the web for research.
Use `custom_start` to customize the logic of agents for specific tasks.
Manage the flow of tasks between different agents using the TaskFlow module.
Generate a formatted report or email output from the processed data of research.