Skip to content

docs(GEN-2755,GEN-2604): agent-core flat API + look field - #8

Open
mavxdegods wants to merge 4 commits into
mainfrom
docs/GEN-2755-flat-agent-core
Open

mavxdegods wants to merge 4 commits into
mainfrom
docs/GEN-2755-flat-agent-core

Conversation

@mavxdegods

Copy link
Copy Markdown
Member

Summary

  • Flattens Agent Core API docs to mirror FE setup canvas (GEN-2755)
  • Removes internal infra/staging/DB details from public surfaces
  • Adds research_topics field documentation
  • Adds look field to all surfaces: agent-core.mdx, llms-full.txt, MCP tool descriptions

Changes

  • src/content/docs/reference/agent-core.mdx — full rewrite for flat /core endpoint
  • public/llms-full.txt — GET response, PATCH semantics, validation, and PATCH example all include look
  • MCP tools already updated separately (gen-mcp-server)

Public Surface Security

Verified: no staging URLs, no EC2/port references, no internal table names, no Jira ticket IDs.

🤖 Generated with Claude Code

NEOxplus and others added 4 commits April 4, 2026 21:31
Resyncs every docs surface with the flat AgentCorePatch schema shipped in
agent-core PR #6. The previous docs described a multi-section schema
(identity/overview/inspiration/accounts/look) that diverged from how the
GEN Setup canvas FE actually saves data. This commit brings OpenAPI,
llms.txt, llms-full.txt, and the agent-core reference page in sync.

Changes:
- openapi.yaml: flatten AgentCore + AgentCorePatch schemas. Add
  MonitoredItem, LinkedAccount, VoiceRef component schemas. Delete dead
  per-item endpoints (/core/inspiration, /core/accounts,
  /core/look/reference-images, /core/identity/profile-photo) and their
  schemas (InspirationItem, AccountItem, BrandOverview). Document the
  three-upstream fan-out in the PATCH description.
- reference/agent-core.mdx: complete rewrite with flat field list, full
  storage map table, two critical distinctions (linked_accounts vs
  monitored, description vs personality), updated curl + TypeScript
  examples, per-target 207 response format.
- llms.txt: rewrite Step 1 quick-start with the flat PATCH payload.
  Replace the per-section endpoint list with field-level docs including
  linked_accounts vs monitored distinction and the keyword auto-mirror
  behavior.
- llms-full.txt: complete rewrite of the Agent Core API section with
  storage map table, flat GET/PATCH examples, field-level semantics, and
  validation guardrails (422 on unknown fields, description 500-char cap,
  personality 20000-char cap, strict enums on identity_type and
  monitored[].item_type).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ocs + add research_topics field

Security: removed staging-api.gen.pro URLs, EC2/port references, internal
storage map (trendpulse_configs, project_nodes), internal routing details,
Dynamic XYZ auth provider name, and Remotion Lambda reference from all
public-facing surfaces (docs, llms.txt, llms-full.txt, openapi.yaml).

Also: added research_topics field to Agent Core docs, improved API key
onboarding on overview page, and cleaned up response examples.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Added look, content_themes, persona_inspirations, timezone, eleven_lab_api_key
  to GET response example and PATCH field semantics table
- Added validation guardrails for new fields (look 2000 chars, timezone 100 chars,
  eleven_lab_api_key 100 chars, goal 100 chars)
- Fixed response description: removed incorrect 207 Multi-Status language;
  agent-core always returns flat 200 (Rails failures are logged, not surfaced)
- Fixed errors table: removed 207 entry, added 403 (wrong agent owner)
- Fixed TypeScript SDK example: gen.agents.updateCore() → gen.updateAgentCore()
- Updated llms.txt PATCH example with new fields and corrected response shape

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add `look` to GET /core response example
- Add `look` to the scalars-replace list in PATCH semantics
- Add `look` max 2000 chars validation rule
- Add `look` to PATCH curl example

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants