Power Your First AI Agent with ACI.dev
project
and default agent
for you when you first log in to the platform.Configure Github in App Store
App Store
and find GITHUB .
Then click on Configure App
button to set up the app for your project.Link your Github account
App Configurations
and find GITHUB App Configuration . Then click on Add Account
button to link your Github account.linked account owner id
is the ID of the owner of the linked account. It’s up to you to decide which ID to use—it can be the unique end-user ID from your system. Or If you’re building an agent for yourself, you can choose any name you prefer. Later, you’ll need to provide this linked account owner id
in your code to execute functions on behalf of the user.Start OAuth2 Flow
button to start the OAuth2 flow and link your Github account under the project.Allow Your Agents to Access GITHUB
Edit
button under ALLOWED APPS
column of the agent to allow access to the GITHUB
app.Grab the API key
Agent
is assigned an API key, which you can use to send requests to our platform—either via raw HTTP requests or our SDK. Later, you’ll need to include this API key in your code.uv
for package installation, but you can use pip
or any other package manager of your choice.
The full example code is available at the end of this guide.
Initialize repo
Install ACI Python SDK
Provide the API key to the SDK
Create ACI Client and OpenAI Client
Get the Function Definition
Append the Function Definition to the LLM Request
Handle the Tool Call Response and Execute the Function via ACI.dev
<LINKED_ACCOUNT_OWNER_ID>
with the linked account owner id
you used when linking your Github account.Full Runnable Code
.env
file.<LINKED_ACCOUNT_OWNER_ID>
with the linked account owner id
you used when linking your Github account.