import clsx from "clsx"; import React from "react"; import { FaGithub } from "react-icons/fa"; import { MacWindowInternal } from "../console/MacWindowHeader"; import PrimaryButton from "../PrimaryButton"; interface TerminalProps { className?: string; title?: string; children?: React.ReactNode; } const OpenSource = () => { return (
              {"" +
                "\n" +
                "\n" +
                "\n" +
                " My AgentGPT Website\n" +
                "\n" +
                "\n" +
                "  

Welcome to AgentGPT!

\n" + "

Explore the power of autonomous AI agents.

\n" + ' \n' + " \n" + "\n" + "\n"}
              {"import requests\n" +
                "\n" +
                "# Define the API endpoint\n" +
                'url = "https://api.agentgpt.example.com"\n' +
                "\n" +
                "# Make a GET request to retrieve data from the API\n" +
                "response = requests.get(url)\n" +
                "\n" +
                "# Process the response data\n" +
                "if response.status_code == 200:\n" +
                "    data = response.json()\n" +
                "    # Perform further actions with the data\n" +
                "    print(data)\n" +
                "else:\n" +
                '    print("Error: Unable to fetch data from the API")\n'}
            
24.4 k stars

Proudly Open Source

We think the power of AI should be available to everyone and should be driven by community. This is why we are proudly open source. We'd love to hear your feedback at every step of the journey.

View on Github Public Roadmap
); }; const Terminal = (props: TerminalProps) => { return (
{props.title}
{props.children}
); }; export default OpenSource;