PlaygroundAPI keys

Welcome

Personal· Personal

Get started

  • 1

    Run your first agent

    Try an example prompt in the playground.

  • 2

    Get an API key

    Programmatic access for your code.

  • 3

    Add credits

    Top up your balance to keep agents running.

What you can build

Try one of these in the playground.

More examples

Web research

“Get the top 10 Hacker News stories with titles, URLs, and points”

GitHub discovery

“Find the top 5 web-automation repos on GitHub with stars and descriptions”

Documentation lookup

“Find Stripe's authentication docs and summarize the setup steps”

Call the API

Run an agent from your code. Replace the prompt with anything.

# POST a prompt to the AGI API
curl -X POST https://api.agi.tech/v1/sessions \
  -H "Authorization: Bearer sk_<your-key>" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "scrape HN top 10 stories"}'

Generate a key to make this snippet runnable.

Resources

API quickstartRun your first agent in under 5 minutes.Session managementLifecycle, snapshots, and best practices.

What is an agent?

An AGI agent uses a real browser or Android device to accomplish goals you describe in plain English — like a person, but on your terms.

Read the overview