Installation & Usage
[01]
Install Package
Using uv or pip
BASH
uv pip install airbyte-agent-asana
[02]
Import
Initialize and use
PYTHON
from airbyte_agent_asana import AsanaConnector
from airbyte_agent_asana.models import AsanaPersonalAccessTokenAuthConfig
connector = AsanaConnector(
auth_config=AsanaPersonalAccessTokenAuthConfig(
token="<Your Asana Personal Access Token. Generate one at https://app.asana.com/0/my-apps>"
)
)[03]
Tool
Add tools to your agent
python
@agent.tool_plain # assumes you're using Pydantic AI
@AsanaConnector.tool_utils
async def asana_execute(entity: str, action: str, params: dict | None = None):
return await connector.execute(entity, action, params or {})Supported Entities & Actions
Lorem ipsum
Lorem ipsum
| Entity | Actions |\n|--------|---------|\n| Tasks | [List](./REFERENCE.md#tasks-list), [Get](./REFERENCE.md#tasks-get), [Search](./REFERENCE.md#tasks-search) |\n| Project Tasks | [List](./REFERENCE.md#project-tasks-list) |\n| Workspace Task Search | [List](./REFERENCE.md#workspace-task-search-list) |\n| Projects | [List](./REFERENCE.md#projects-list), [Get](./REFERENCE.md#projects-get), [Search](./REFERENCE.md#projects-search) |\n| Task Projects | [List](./REFERENCE.md#task-projects-list) |\n| Team Projects | [List](./REFERENCE.md#team-projects-list) |\n| Workspace Projects | [List](./REFERENCE.md#workspace-projects-list) |\n| Workspaces | [List](./REFERENCE.md#workspaces-list), [Get](./REFERENCE.md#workspaces-get), [Search](./REFERENCE.md#workspaces-search) |\n| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get), [Search](./REFERENCE.md#users-search) |\n| Workspace Users | [List](./REFERENCE.md#workspace-users-list) |\n| Team Users | [List](./REFERENCE.md#team-users-list) |\n| Teams | [Get](./REFERENCE.md#teams-get), [Search](./REFERENCE.md#teams-search) |\n| Workspace Teams | [List](./REFERENCE.md#workspace-teams-list) |\n| User Teams | [List](./REFERENCE.md#user-teams-list) |\n| Attachments | [List](./REFERENCE.md#attachments-list), [Get](./REFERENCE.md#attachments-get), [Download](./REFERENCE.md#attachments-download), [Search](./REFERENCE.md#attachments-search) |\n| Workspace Tags | [List](./REFERENCE.md#workspace-tags-list) |\n| Tags | [Get](./REFERENCE.md#tags-get), [Search](./REFERENCE.md#tags-search) |\n| Project Sections | [List](./REFERENCE.md#project-sections-list) |\n| Sections | [Get](./REFERENCE.md#sections-get), [Search](./REFERENCE.md#sections-search) |\n| Task Subtasks | [List](./REFERENCE.md#task-subtasks-list) |\n| Task Dependencies | [List](./REFERENCE.md#task-dependencies-list) |\n| Task Dependents | [List](./REFERENCE.md#task-dependents-list) |
Example Prompts
Lorem ipsum
What tasks are assigned to me this week? - List all projects in my workspace - Show me the tasks for a recent project - Who are the team members in one of my teams? - Show me details of my current workspace and its users - Summarize my team's workload and task completion rates - Find all tasks related to \{client_name\} across my workspaces - Analyze the most active projects in my workspace last month - Compare task completion rates between my different teams - Identify overdue tasks across all my projects
Why Airbyte for AI Agents?
Built for production AI workloads with enterprise-grade reliability
Secure Authentication
Built-in OAuth 2.0 handling with automatic token refresh. No hard-coded credentials.
Agent-Native Design
Heading
Structured, LLM-friendly schemas optimized for AI agent consumption with natural language query support.
Production Ready
Battle-tested connectors with comprehensive error handling, logging, and retry logic.
Open Source
Fully open source under the MIT license. Contribute, customize, and extend freely.
Works with your favorite frameworks
LangChain
CrewAI
LlamaIndex
AutoGen
OpenAI Agents SDK
Claude Agents SDK
Frequently Asked Questions
Didn't find your answer? Please don't hesitate to reach out.
The Asana connector supports Personal Access Token authentication for open source usage, where you provide your token directly. For hosted mode, it uses Airbyte Cloud credentials (client ID and client secret) with secure credential storage.
Can I use this connector with any AI agent framework?
The connector is compatible with any Python-based AI agent framework including LangChain, LlamaIndex, CrewAI, Pydantic AI, and custom implementations.
Does this connector support write operations?
Currently, the Asana connector focuses on read operations only. Write operations such as creating tasks, updating priorities, deleting projects, scheduling meetings, adding team members, or moving tasks are not supported at this time.
How is this different from the Airbyte data connector?
Agent connectors are specifically designed for AI agents and LLM applications. They provide natural language interfaces, optimized response formats, and seamless integration with agent frameworks, unlike traditional ETL-focused connectors.
Get started in minutes with our open-source connector.