Logic agents are the core of the Logic platform. They are used to describe the tasks you want the Logic API to perform. Each agent consists of a description, a title, and a set of instructions that guide the Logic API in completing the task.Logic agents are detailed instructions that the Logic API follows to perform a specific task. They can be used for a wide range of purposes, such as analyzing images, processing text, or performing complex calculations.
Using Logic’s agent editor, you can describe the task you want the Logic API to perform using natural language. Describe the inputs you’ll be giving the Logic API, such as text, images, or files like PDFs, Word, Excel, and PowerPoint documents. Be specific about the result you want the Logic API to produce. For example, if you want the Logic API to analyze an image, you might say:
Accept an image as a URL or base64-encoded data and tell me what it is. Include items like:- How many people are in it?- What is the dominant color of the image?- What's the general mood it invokes?
Be clear about what you want the Logic API to do. The more specific you are, the better the Logic API will perform. For example, if you want the Logic API to analyze an image, specify whether the image will be provided as a URL or base64-encoded data.
To create effective agents, it’s important to understand the structure and components of an agent. You can learn more about what makes a good agent in the What Makes a Good Agent? section. This section provides tips on how to write clear and concise agents that are easy to understand and result in better performance from the Logic API.To make your first agent, follow the steps in the Making an Agent section.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Logic Documentation","colors":{"primary":"#2657AC","light":"#88C0D0","dark":"#2657AC"},"logo":{"light":"https://mintcdn.com/logic/YO7O6hkpncKkRwwK/logo/Logic-Dark.png?fit=max\u0026auto=format\u0026n=YO7O6hkpncKkRwwK\u0026q=85\u0026s=109212947ad00a07499d42c15ee67ad4","dark":"https://mintcdn.com/logic/YO7O6hkpncKkRwwK/logo/Logic-Light.png?fit=max\u0026auto=format\u0026n=YO7O6hkpncKkRwwK\u0026q=85\u0026s=8e4bbc7e36815a5199839b17b73f1466"},"favicon":"https://mintcdn.com/logic/rNrK8vlZ0Y2WQcEV/favicon.svg?fit=max\u0026auto=format\u0026n=rNrK8vlZ0Y2WQcEV\u0026q=85\u0026s=56d6a6241316d364172d6aa70eca8f83","background":{"color":{"light":"#F7F5F2","dark":"#2E3440"}},"navbar":{"links":[{"href":"mailto:support@logic.app","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.logic.inc"}},"footer":{"socials":{"website":"https://logic.inc/","github":"https://github.com/with-logic","linkedin":"https://www.linkedin.com/company/with-logic"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Logic Dashboard","icon":"up-right-from-square","href":"https://app.logic.inc"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"logic","hasAudioNarration":false,"actualSubdomain":"logic","customDomains":["docs.logic.inc"],"gitSource":{"type":"github","owner":"with-logic","repo":"logic-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac3dfceb0593f944b91d9ce","collectionId":"6bd6b8d7-1c96-4a71-8c44-60c78394bf3f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac3dfceb0593f944b91d9ce"},"entitlements":{},"buildId":"6ac3dfceb0593f944b91d9ce","clientVersion":"0.0.3926","searchFilterCounts":[{"language":"default","tag":"Guides","count":34},{"language":"default","tag":"API Reference","count":19},{"language":"default","tag":"MCP","count":11},{"language":"default","tag":"Execution Parameters","count":8},{"language":"default","tag":"Integration and Testing","count":7},{"language":"default","tag":"Other","count":6},{"language":"default","tag":"Platform Integrations","count":6},{"language":"default","tag":"Agent Editing","count":5},{"language":"default","tag":"Organization Settings","count":5},{"language":"default","tag":"Agents","count":3}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"/* vietnamese */\n@font-face {\n font-family: 'Work Sans';\n font-style: italic;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/worksans/v24/QGYqz_wNahGAdqQ43Rh_eZDkv_1w4A.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Work Sans';\n font-style: italic;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/worksans/v24/QGYqz_wNahGAdqQ43Rh_eZDlv_1w4A.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Work Sans';\n font-style: italic;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/worksans/v24/QGYqz_wNahGAdqQ43Rh_eZDrv_0.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_c6Dpp_k.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_cqDpp_k.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Work Sans';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/worksans/v24/QGYsz_wNahGAdqQ43Rh_fKDp.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Space Mono';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/spacemono/v17/i7dNIFZifjKcF5UAWdDRYERMSHK_IwU.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Space Mono';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/spacemono/v17/i7dNIFZifjKcF5UAWdDRYERMSXK_IwU.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Space Mono';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/spacemono/v17/i7dNIFZifjKcF5UAWdDRYERMR3K_.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Space Mono';\n font-style: italic;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/spacemono/v17/i7dSIFZifjKcF5UAWdDRYERE_FeqEySRV3U.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Space Mono';\n font-style: italic;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/spacemono/v17/i7dSIFZifjKcF5UAWdDRYERE_FeqEiSRV3U.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Space Mono';\n font-style: italic;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/spacemono/v17/i7dSIFZifjKcF5UAWdDRYERE_FeqHCSR.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Space Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/spacemono/v17/i7dPIFZifjKcF5UAWdDRYE58RWq7.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Space Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/spacemono/v17/i7dPIFZifjKcF5UAWdDRYE98RWq7.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Space Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/spacemono/v17/i7dPIFZifjKcF5UAWdDRYEF8RQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Space Mono';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/spacemono/v17/i7dMIFZifjKcF5UAWdDRaPpZUFqaHjyV.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Space Mono';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/spacemono/v17/i7dMIFZifjKcF5UAWdDRaPpZUFuaHjyV.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Space Mono';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/spacemono/v17/i7dMIFZifjKcF5UAWdDRaPpZUFWaHg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\nimg{border-radius:15px}img[src*=\"/logo/\"]{border-radius:0!important}body,button,h1,h2,h3,h4,h5,h6,input,label,li,p,td,th{font-family:'Work Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}code,kbd,pre,samp{font-family:'Space Mono','SFMono-Regular','SF Mono',Monaco,Consolas,'Liberation Mono',monospace}pre{background-color:#07204f!important}pre code{background-color:transparent!important}.dark pre{background-color:#3b4252!important}html.dark{--tw-shadow-color:rgba(36, 41, 58, 0.6)}"}],"page":{"pagePath":"guides/other/understanding-agents","slug":"/guides/other/understanding-agents","pageMetadata":{"title":"Understanding Agents","description":"How to get started with agents in Logic","href":"/guides/other/understanding-agents"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to get started with agents in Logic\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`understanding-agents`,children:`Understanding Agents`}),`\n`,_jsx(_components.p,{children:`Logic agents are the core of the Logic platform. They are used to describe the tasks you want the Logic API to perform. Each agent consists of a description, a title, and a set of instructions that guide the Logic API in completing the task.`}),`\n`,_jsx(_components.p,{children:`Logic agents are detailed instructions that the Logic API follows to perform a specific task. They can be used for a wide range of purposes, such as analyzing images, processing text, or performing complex calculations.`}),`\n`,_jsx(Heading,{level:`3`,id:`agent-language`,children:`Agent Language`}),`\n`,_jsx(_components.p,{children:`Using Logic’s agent editor, you can describe the task you want the Logic API to perform using natural language. Describe the inputs you’ll be giving the Logic API, such as text, images, or files like PDFs, Word, Excel, and PowerPoint documents. Be specific about the result you want the Logic API to produce. For example, if you want the Logic API to analyze an image, you might say:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Accept an image as a URL or base64-encoded data and tell me what it is. Include items like:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- How many people are in it?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- What is the dominant color of the image?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- What's the general mood it invokes?`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Be clear about what you want the Logic API to do. The more specific you are, the better the Logic API will perform. For example, if you want the Logic API to analyze an image, specify whether the image will be provided as a URL or base64-encoded data.`}),`\n`,_jsx(Heading,{level:`3`,id:`learning-how-to-make-better-agents`,children:`Learning how to make better agents`}),`\n`,_jsxs(_components.p,{children:[`To create effective agents, it’s important to understand the structure and components of an agent. You can learn more about what makes a good agent in the `,_jsx(_components.a,{href:`/guides/other/making-a-good-agent`,children:`What Makes a Good Agent?`}),` section. This section provides tips on how to write clear and concise agents that are easy to understand and result in better performance from the Logic API.`]}),`\n`,_jsxs(_components.p,{children:[`To make your first agent, follow the steps in the `,_jsx(_components.a,{href:`/guides/agent-editing/making-agents`,children:`Making an Agent`}),` section.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Understanding Agents","description":"How to get started with agents in Logic","href":"/guides/other/understanding-agents"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Understanding Agents","slug":"understanding-agents","depth":2,"children":[{"title":"Agent Language","slug":"agent-language","depth":3,"children":[]},{"title":"Learning how to make better agents","slug":"learning-how-to-make-better-agents","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"logic","siteName":"Logic Documentation","title":"Understanding Agents - Logic Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-23T19:47:36.791Z","originalFileLocation":"guides/other/understanding-agents.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to get started with agents in Logic\">\u003cmeta data-mint-head name=\"application-name\" content=\"Logic Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/logic/HavgrsRgOE5UGvd1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/logic/HavgrsRgOE5UGvd1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/logic/HavgrsRgOE5UGvd1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/logic/HavgrsRgOE5UGvd1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/logic/HavgrsRgOE5UGvd1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/logic/HavgrsRgOE5UGvd1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/logic/HavgrsRgOE5UGvd1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/logic/HavgrsRgOE5UGvd1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/logic/HavgrsRgOE5UGvd1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Understanding Agents - Logic Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to get started with agents in Logic\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Logic Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.logic.inc/guides/other/understanding-agents\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://logic.mintlify.app/_mintlify/api/og/v2?division=Other\u0026amp;title=Understanding+Agents\u0026amp;description=How+to+get+started+with+agents+in+Logic\u0026amp;theme=f60085e1125789f63111dc85\u0026amp;signature=b3fa4c000728d101ab7b613f838d003a90145e757d6a6383866a7922f08b3f2f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Understanding Agents - Logic Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to get started with agents in Logic\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://logic.mintlify.app/_mintlify/api/og/v2?division=Other\u0026amp;title=Understanding+Agents\u0026amp;description=How+to+get+started+with+agents+in+Logic\u0026amp;theme=f60085e1125789f63111dc85\u0026amp;signature=b3fa4c000728d101ab7b613f838d003a90145e757d6a6383866a7922f08b3f2f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/logic/HavgrsRgOE5UGvd1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Logic Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2657AC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.logic.inc/guides/other/understanding-agents\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/other/understanding-agents.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.logic.inc/#organization\",\"name\":\"Logic Documentation\",\"url\":\"https://docs.logic.inc\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/logic/YO7O6hkpncKkRwwK/logo/Logic-Dark.png?fit=max\u0026auto=format\u0026n=YO7O6hkpncKkRwwK\u0026q=85\u0026s=109212947ad00a07499d42c15ee67ad4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.logic.inc#website\",\"name\":\"Logic Documentation\",\"url\":\"https://docs.logic.inc\",\"publisher\":{\"@id\":\"https://docs.logic.inc/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.logic.inc/guides/other/understanding-agents#webpage\",\"url\":\"https://docs.logic.inc/guides/other/understanding-agents\",\"name\":\"Understanding Agents\",\"description\":\"How to get started with agents in Logic\",\"dateModified\":\"2026-04-23T19:47:36.791Z\",\"isPartOf\":{\"@id\":\"https://docs.logic.inc#website\"},\"breadcrumb\":{\"@id\":\"https://docs.logic.inc/guides/other/understanding-agents#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.logic.inc/guides/other/understanding-agents#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Other\",\"item\":\"https://docs.logic.inc/guides/other/server-status\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding Agents\",\"item\":\"https://docs.logic.inc/guides/other/understanding-agents\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.logic.inc/guides/other/understanding-agents#article\",\"headline\":\"Understanding Agents\",\"name\":\"Understanding Agents\",\"description\":\"How to get started with agents in Logic\",\"url\":\"https://docs.logic.inc/guides/other/understanding-agents\",\"mainEntityOfPage\":{\"@id\":\"https://docs.logic.inc/guides/other/understanding-agents#webpage\"},\"dateModified\":\"2026-04-23T19:47:36.791Z\",\"publisher\":{\"@id\":\"https://docs.logic.inc/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.logic.inc#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Logic Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Logic Documentation","nav":{"global":{"anchors":[{"anchor":"Logic Dashboard","icon":"up-right-from-square","href":"https://app.logic.inc"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Get Started","pages":[{"title":"Introduction to Logic","href":"/guides/introduction"},{"title":"Quick Start","href":"/guides/quick-start"},{"title":"Pricing Tiers","href":"/guides/pricing-tiers"}]},{"group":"Agent Editing","pages":[{"title":"Using the Logic Dashboard","href":"/guides/agent-editing/logic-dashboard"},{"title":"Making a New Agent","href":"/guides/agent-editing/making-agents"},{"title":"Generating Agents from Description","href":"/guides/agent-editing/generating-agents-from-description"},{"title":"Creating and Editing Agents","href":"/guides/agent-editing/creating-and-editing-agents"},{"title":"Deleting an Agent","href":"/guides/agent-editing/deleting-agents"}]},{"group":"Integration and Testing","pages":[{"title":"Testing Your Agent","href":"/guides/integration-and-testing/testing"},{"title":"Integrating Your Agent","href":"/guides/integration-and-testing/integration"},{"title":"Agent Schemas","href":"/guides/integration-and-testing/schemas"},{"title":"Using the API","href":"/guides/integration-and-testing/api"},{"title":"Using Logic as an MCP Server","href":"/guides/integration-and-testing/MCP-servers"},{"title":"Email Execution","href":"/guides/integration-and-testing/email-execution"},{"title":"Sending Emails","href":"/guides/integration-and-testing/send-email"}]},{"group":"Tools","pages":[{"title":"HTTP Tools","href":"/guides/tools/http-tools"},{"title":"MCP Client Integrations","href":"/guides/tools/mcp-clients"}]},{"group":"Versions and History","pages":[{"title":"Observability","href":"/guides/versions-and-history/observability"},{"title":"Spec History","href":"/guides/versions-and-history/spec-history"}]},{"group":"Organization Settings","pages":[{"title":"Organization","href":"/guides/organization-settings/organization"},{"title":"Accounts","href":"/guides/organization-settings/accounts"},{"title":"API Keys","href":"/guides/organization-settings/api-keys"},{"title":"Billing","href":"/guides/organization-settings/billing"},{"title":"Knowledge Library","href":"/guides/organization-settings/knowledge-library"}]},{"group":"Account Settings","pages":[{"title":"Account Settings","href":"/guides/account-settings/account-settings"},{"title":"Authentication Settings","href":"/guides/account-settings/authentication-settings"},{"title":"Manage Sessions","href":"/guides/account-settings/list-sessions"}]},{"group":"Other","pages":[{"title":"Server Status","description":"Checking the status of Logic's servers","href":"/guides/other/server-status"},{"title":"Understanding Agents","href":"/guides/other/understanding-agents"},{"title":"What Makes a Good Agent?","description":"How to write good agents in Logic","href":"/guides/other/making-a-good-agent"},{"title":"The Logic Bits Publication","href":"/guides/other/logic-bits"}]},{"group":"Example Agents","pages":[{"title":"Importing a Document (PDF, Word, Excel)","href":"/guides/example-agents/pdf"},{"title":"Generating 3D Objects","href":"/guides/example-agents/3dobj"},{"title":"Song Recommender","href":"/guides/example-agents/song-recommender"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/introduction"}]}]},"title":"Understanding Agents - Logic Documentation","buildId":"dpl_9DauxEjb9gzCtcuhPQFbquJvx7FJ","deploymentId":"dpl_9DauxEjb9gzCtcuhPQFbquJvx7FJ","dynamics":[],"chunks":[]}